kdogg Posted February 12, 2008 Posted February 12, 2008 First off,... Is there a way to disqualify a product from getting free shipping? I have my cart setup to offer free shipping on items over $150 dollars but I have a couple high end items that I don't want to offer this for. Also, on my shipping selection part of my cart, I have UPS, then USPS, then the free shipping option. Even though the free shipping option is at the bottom, its by default always selected if an order is over $150 dollars. Is there a way to force UPS grounds to be default and then customer must manually choose the free option if they want it? Thanks.
krnl Posted February 12, 2008 Posted February 12, 2008 I had a similar issue with oversized items...not wanting to allow free shipping for them. So, I added a field to the products table called 'products_oversized', then added some code to check if a product is oversized. Now it displays in the shopping cart for each oversized product and disallows free shipping if any one (or more) items in the cart is marked as oversized. I don't want to dig through the code for specifics at this point, but that should give you a general idea. Make sure to add to your database table, then add to the products query and you'll have to update the order_total modules as well IIRC. Not sure about your second question. When I offer free shipping, it is the only option that the customer has. Free Shipping supercedes OPS and USPS in my cart. I would like for it to work like yours does, just in case a customer wants UPS Next Day or something. As it is, I have to ask them to contact customer service to request a shipping upgrade.
kdogg Posted February 12, 2008 Author Posted February 12, 2008 I had a similar issue with oversized items...not wanting to allow free shipping for them. So, I added a field to the products table called 'products_oversized', then added some code to check if a product is oversized. Now it displays in the shopping cart for each oversized product and disallows free shipping if any one (or more) items in the cart is marked as oversized. I don't want to dig through the code for specifics at this point, but that should give you a general idea. Make sure to add to your database table, then add to the products query and you'll have to update the order_total modules as well IIRC. Not sure about your second question. When I offer free shipping, it is the only option that the customer has. Free Shipping supercedes OPS and USPS in my cart. I would like for it to work like yours does, just in case a customer wants UPS Next Day or something. As it is, I have to ask them to contact customer service to request a shipping upgrade. Unfortunately, I would have no idea how to write any code like that. Hell, I spend 4 months trying to talk my boss into hiring people to help me install some of the contributions as it is.
krnl Posted February 12, 2008 Posted February 12, 2008 well, then that makes for a problem :) I'm not sure if there's already a contribution out there for this or not, but I think the way I did it is pretty sweet. Maybe I'll try to contributionize it one of these days.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.