Sorted.
Using Product Type to filter the different sized items appears to work. Just tried it, and it worked a treat :)
This thread is the one I worked with originally:
http://www.zen-cart.com/forum/showthread.php?t=91394
The code, I put in on the OP, was edited as follows:
In the RM1stlargeletter.php, the code was changed to:
Code:
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_type','2') > 0)) {
$this->enabled = false;
} else {
// hide UPS
$this->enabled = true;
}
return ;
In the RM1stpacket.php, the master_categories_id was changed to products_type as follows:
Code:
// disable for one master_categories_id
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_type','2') > 0)) {
$this->enabled = true;
} else {
// Enable option otherwise
$this->enabled = false;
}
return ;
.
If you use recorded and second class rates, these files will need tweaking too. BUT, use at your own risk.
Then just a case of setting up the products using products type, which is acceptable for me, as they are not created yet, and are to be added as and when.