I guess something like this
if ($price >100)
{
//execute script for pay pal here
}
// this else might not be required, depends on how your script works
else
{
// execute script for what to do when price is below $100
}
// continue common steps here
or perhaps like this
if( $withShoppingCart )
{
if ($price>100)
{
// pay pal here
}
$item_typ["attributes"]["price"] =
array(
"type"=>"FLOAT",
"text",
"default"=>"0",
"list",
"details");
}
Hope this is of some help, if not it would be useful to see the code where you want/need to insert the if, just remember to include the code in [ php ] [/ php ] (remove the spaces around php).