This mod works fabulously on items that are priced by attribute (base prices are all $0) but on my items that are not priced by attribute (they don't even have any attributes), the displayed price is incorrect (it looks like the DPU is pulling prices from the upsell sidebox and recently viewed mod).
To correct this, I have been trying to add an if statement to jscript_ajax_updater.php to keep the DPU from loading on items that have a base price of more than $0, but have thus far been unsuccessful (obviously or I wouldn't be bugging you
).
The most logical if statement for me to use (I think) would be something like
PHP Code:
$pibp = zen_get_products_base_price($pid);
if ($pibp > 0) $load = false;
but it isn't working - the script is still loading on my products that have a base price of more than $0.
Help please? Thanks in advance.