The product itself is marked as Always Free Shipping, right?
As of v1.3.6, that's what's causing the display of the icon ... rather than the product-type switch.
I believe this constitutes a bug, since the intended logic exists in the product listing, but didn't get reflected in the template.
As such, if you'd like to have the product-type switch do it, you'll have to alter the code:
- Edit the modules/pages/product_free_shipping_info/main_template_vars.php
add this around line 177:
$flag_show_product_info_free_shipping = zen_get_show_product_switch($_GET['products_id'], 'always_free_shipping_image_switch');
- Edit your tpl_product_free_shipping_info_display.php template:
change this:
<?php if(zen_get_product_is_always_free_shipping($products_id_current)) { ?>
to this:
<?php if(zen_get_product_is_always_free_shipping($products_id_current) && $flag_show_product_info_free_shipping) { ?>
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.