Zen Follower
- Join Date:
- Jan 2010
- Posts:
- 124
- Plugin Contributions:
- 0
Different shipping methods for different categories
Ok I've searched through the forum for 2 hours now and mostly this thread. What I'm trying to do is add an aditional amount to the shipping quote for international which isn't a problem however, I need to do it for only 2 categories or for those with a product id > 3000 as that is the cut off. Can anyone help? I've tried many options and keep getting stuck with the syntax to use to look for a product id greater than 3000 or include a different quote only if the one or both of the 2 categories are in the cart and NO others. I've been trying to modify the following to do it..
if ($order->delivery['country_id'] != STORE_COUNTRY) {
$extra_handling_int = 13.00;
global $cart;
$chk_categories += $_SESSION['cart']->in_cart_check('master_categories_id','17');
if ($chk_categories > 0) {
$extra_handling_int = 0.00;
``` Not sure how to do this and I can't seem to put together anything that will work. Maybe I need to clone the USPS module or something?