New Zenner
- Join Date:
- Jul 2009
- Location:
- Crystal Lake, IL
- Posts:
- 50
- Plugin Contributions:
- 0
Different shipping methods for different categories
Alright, so I still need help:(. I tried modifying the code for checking multiple categories for media mail, and applying that to the flat rate. This is what I tried:```
// test contents for Cases
$skip_free = false;
$chk_case = 0;
$chk_case += $_SESSION['cart']->in_cart_check('master_categories_id','56');
$chk_case += $_SESSION['cart']->in_cart_check('master_categories_id','60');
if ($chk_case != $_SESSION['cart']->count_contents()) {
$skip_free = true;
}
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $skip_free) {
$this->enabled = false;