You're most welcome!
I have another question. Is it possible to restrict options on a per product or master category?
Currently I have it so only certain products can be shipped on Small Flat Rate, because physically other products don't fit on this little box, but I have a product that can only ship via Parcel within the US (contains alcohol). Is it possible to add an if statement that if product X is in the shopping cart then only Parcel or Ground options are displayed?
These are the statements I have to block Small Flat Rate
if (true) {
$chk_cart = 0;
//Categories
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','5');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','18');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','25');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','27');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','29');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','30');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','31');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','32');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','34');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','35');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','43');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','44');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','46');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','88');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','92');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','101');
$chk_cart += $_SESSION['cart']->in_cart_check('master_categories_id','103');
//Products
$chk_cart += $_SESSION['cart']->in_cart_check('products_id','264');
$chk_cart += $_SESSION['cart']->in_cart_check('products_id','457');
$chk_cart += $_SESSION['cart']->in_cart_check('products_id','463');
}
if (true) {
if ($chk_cart > 0 && $type == 'Priority MailTM Small Flat Rate Box') {
// echo 'USPS $type: ' . $type . ' $chk_cart:' . $chk_cart . '<br>';
continue;
}
}
Thanks a bunch :smile: