First off, the manufacturer names need to be treated as text and not as PHP entities:
PHP Code:
<!--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>
To put the manufacturer names in an array and parse that, define a constant in a language define file (pick an appropriate/related one, or make a new file in /includes/languages/your_language/extra_definitions/your_template/free_ship_icon_defines.php.
PHP Code:
define('FREE_SHIP_ICON_MFRS_EX', ''SFIFloors,Boone,TaylorAdhesives,MegatradeCorporation');
Replace
&& (($manufacturers_name) != 'SFIFloors' && ($manufacturers_name) != 'Boone' && ($manufacturers_name) != 'TaylorAdhesives' && ($manufacturers_name) != 'MegatradeCorporation')
with
&& !in_array($manufacturers_name, explode(',', FREE_SHIP_ICON_MFRS_EX))
Bookmarks