Totally Zenned
- Join Date:
- Jan 2013
- Location:
- New Port Richey, Florida
- Posts:
- 971
- Plugin Contributions:
- 0
Free shipping image on product listing
zen 2.10
php8.3
how would i change this line ```
$lc_buy_now .= (wt_get_show_product_switch($listing->fields['products_id'], 'ALWAYS_FREE_SHIPPING_IMAGE_SWITCH') ? (zen_get_product_is_always_free_shipping($listing->fields['products_id']) ? TEXT_PRODUCT_FREE_SHIPPING_ICON : '') : '');
break;
to something like this ```
<?php if(zen_products_lookup((int) $_GET['products_id'], 'product_is_always_free_shipping') == 0 and zen_products_lookup((int) $_GET['products_id'], 'products_price') <= 99 and $products_options->fields['options_values_price'] == 0) { ?>
<div id="freeShippingunder"><?php echo TEXT_PRODUCT_FREE_SHIPPING_UNDER; ?>
<?php } ?>