I modified in red the Free ship icon code from a post i read. it didnt go any further.
i want this to show on all products -200 Dollars (renaming my icon to use.)
i want to exclude certain shippers by looking up there shipper code in products table. (I have a table set up in phpmyadmin as Dropshipper with a field name of Ready-To-Ship that id like to exclude from showing the icon.
i also want to exclude it if the product themselves weigh over XX not to show.
i have copy and pasted another instance of this to show when over 200 but want to show a different icon. how can i accomplich this
right know it works but nothing excluded
first instance:
<!--bof free ship icon -->
<?php if(zen_products_lookup((int)$_GET['products_id'], 'products_price_sorter') >= -199 || zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon -->
second instance:
<!--bof free ship icon -->
<?php if(zen_products_lookup((int)$_GET['products_id'], 'products_price_sorter') >= 200 || zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON; ?></div>
<?php } ?>
<!--eof free ship icon -->
Bookmarks