You can use the logic that is applied to tpl_product_info_display.php:
PHP Code:<?php if (MODULE_SHIPPING_FREERULES_STATUS == 'True') {
include(DIR_WS_MODULES . 'shipping/freerules.php');
$freerules = new freerules();
if ($freerules->test((int)$_GET['products_id'])) {
$freerules_shipping = true;
} else {
$freerules_shipping = false;
}
}
?>



Reply With Quote
