Hi,
I need to adapt the shipping order total module so it decides which shipping module to use dependant on the products in the cart, I'm just wondering if anyone has done this before or has any comments.
All the products we currently sell are shipped via a normal courier and we use the zones shipping module to work out the costs which works fine.
We are going to start selling a different type of product for which the customer will be charged X no matter how many of them he buys.
So what I need is a way for osCommerce to differentiate between the two types of product, I was thinking of adding another field to the products tables, (eg, alter table products add products_ship_type int default '0';). A value of '0' is a normal product that should use the zones rate shipping as normal, a value of '1' would indicate the product needs shipping charged with a flat rate. If someone buys products of type '0' and '1' then both shipping costs need to be applied.
I'm guessing this would need to be done in the ot_shipping.php code.
Any ideas, comments, help gratefully received.