The Free Shipping Options freeoptions is designed to show as an optional shipping method in addition to the other shipping modules ...
If you want to "hide" the Item Rate shipping module, they you would need to customize it set the $this->enabled to false when the number of items in the cart are >= 6 ...
You can customize the Item Rate item shipping module by editing the file:
/includes/modules/shipping/item.php
Code:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_ITEM_STATUS == 'True') ? true : false);
}
if (!IS_ADMIN_FLAG) {
global $cart;
if ($_SESSION['cart']->count_contents() >= 6) {
$this->enabled = false;
}
}
NOTE: save a copy of the original file and the updated file on your computer as there are no overrides for this file ...
NOTE: it is best not to save these backup files on the server as this is an autoloading directory and unless you rename the backups correctly they will produce errors ...
Bookmarks