omidhz Posted December 20, 2005 Posted December 20, 2005 Hi, I need to assign a specific shipping method to some of the categories on my store. Here is more details on what I'm looking for: I have UPS, FedEx and USPS shipping options on my store. Currently all of my customers can choose among one of these carriers depending on their country. What I'm looking for is to specify a shipping method (for example only UPS and FedEx) to one category only. SO if a customer has an item from that category in the shopping cart, he/she can select among UPS or FedEx only and not USPS. But if they don't have any item from that category in their cart they could select all three shipping methods. I have looked for a contribution for this but I couldn't find any. I have also searched the forum but no luck. Does anyone has any idea how can I do this? Thanks in advance. Regards,
Guest Posted December 21, 2005 Posted December 21, 2005 There is a contribution for separate shipping per product. Perhaps you could modify it to work for categories. Now that will only assign an amount to the product not a carrier. If you just need the carriers for categories you have to edit the shipping modules. Each one of them has a class that it is activated on certain conditions. You have to create an sql query and check if a product from the current order belongs to a category assigned for the carrier. If so you activate the module otherwise you don't. You could hard-code a category number for the initial tests. Eventually you will create the necessary controls to the osc admin side to assign product categories to a carrier.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.