If you wanted to make it where if there is 1 Product marked as Always Free Shipping in the Cart and 10 other Products in the Cart that are NOT marked as Always Free Shipping and you want to show the Free Shipping, you could customize the code:
/includes/modules/shipping/freeshipper.php
with the code in RED:
Code:
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_FREESHIPPER_STATUS == 'True') ? true : false);
}
// bof: show free shipping when 1 or more products in the cart are Always Free Shipping
if (!IS_ADMIN_FLAG) {
if ($_SESSION['cart']->in_cart_check('product_is_always_free_shipping','1') > 0) {
$this->enabled = true;
}
}
// eof: show free shipping when 1 or more products in the cart are Always Free Shipping
if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREESHIPPER_ZONE > 0) ) {
Now what you will see is the Free Shipping freeshipper in addition to the other shipping modules so the customer can either select the Free Shipping freeshipper or pick a different shipping method of their choice ...
Bookmarks