Totally Zenned
- Join Date:
- Jan 2013
- Posts:
- 968
- Plugin Contributions:
- 0
Building an array, Using the Free ship Icon
i duplicated this 3 times to achieve this.
in this instance i have to add all manufacturers that i dont want the image to show on.
how can i build an array to simplify this?
instead of using manufacturers_name, how can i use this my custom product field DropShipper?
[PHP]<!--bof free ship icon2 -->
<?php if(zen_products_lookup((int)$_GET['products_id'], 'products_price') <= 199 && ($products_weight) <=20 && (($manufacturers_name) != SFIFloors && ($manufacturers_name) != Boone && ($manufacturers_name) != TaylorAdhesives && ($manufacturers_name) != MegatradeCorporation) || zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
<div id="freeShippingIcon2"><?php echo TEXT_PRODUCT_FREE_SHIPPING_ICON2; ?></div>
<?php } ?>
<!--eof free ship icon2 -->[/PHP]
thank you
jimmie