Hi There,
I've been trying to sort this out for a few days on and off now, and I'm going around in circles! Any kind help would be gratefully received.
The shop I'm building wants to offer different postage using table rates, for each different category. I'll try and explain that better:
Category (CAT ID 1) - Thole pins 1-49 pins (£6.50 postage) 50-99 pins (£8 postage) and 100 plus pins (FREE POST)
Category (CAT ID 2) - Chalkboards £9.99 each, £2.70 Postage for the first, £4.20 Postage for 2, £8 Postage for 3+
Category (CAT ID 3) - Comic Letters £1.05 each, Postage £1.20 for the first, and 45p for each one after that for postage
I managed to get the postage for the Thole pins setup and working so that it worked only for that category using the following code in table.php:
// disable only when entire cart is free shipping
if (zen_get_shipping_enabled($this->code)) {
$this->enabled = ((MODULE_SHIPPING_TABLE_STATUS == 'True') ? true : false);
}
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','2') > 0)) {
$this->enabled = false;
}
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('master_categories_id','3') > 0)) {
$this->enabled = false;
}
Then I installed the Cloned table rates mod and set up the postage for Comic letters in Table Rate2 which works fine.
However now I'm getting both table rates and Table rates2 as a shipping choice when I add a single item into the shopping basket.
You can check out the problem here http://www.woodcutcomponents.co.uk/shop (Apologies if I'm not supposed to add URLS in a post)
The more I try to sort this the more I get confused?
Kindest Regards
Hylton


Reply With Quote

