Ajeh, I appreciate your feedback, however I've decided to go another route with this. The main reason for using the built-in products is always free shipping functionality was for the nice Free Shipping Icon code.
But it caused more problems than it solved, so I just decided to write an additional if statement and add it to includes/templates/MYTEMPLATE/tpl_product_info_display.php and includes/modules/MYTEMPLATE/product_listing.php
PHP Code:
<?php if (($saleprice >= 148) || ($listing->fields['products_price'] >= 148)) {
?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
This works perfectly for the Products Listing page, but only works for items with a specials price the product_info page. Items with a products_price of greater than 148, but that do not have any specials price defined do not show the icon on the product_info page.
Any idea why?
Bookmarks