Ilyanep Posted May 25, 2006 Posted May 25, 2006 Hi, I am currently making a website for a client, and the website runs OScommerce. The products are separated by category. We would like to offer free shipping for orders over $125, but we don't want any products for a certain category (ie 'paintballs') to count towards that $125. This is because vendors don't tend to offer free shipping on that catagory. Is there any easy way to do this? Thanks, ~Ilya Quote
Ilyanep Posted May 31, 2006 Author Posted May 31, 2006 Sorry for the bump, but is there any way to do this? Quote
Guest Posted May 31, 2006 Posted May 31, 2006 you will have to change either the shipping module itself or the ot_shipping.php. You have to correlate the products in the order to the category they belong to and adjust the shipping amount accordingly. Your $order global has all the product identifiers so you need to include another sql query with the products to categories table. Then you count the total of the products that are retrieved from the 2nd sql pass. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.