Jump to content

Shipping costs according to category/subcategory and country?


Housy

Recommended Posts

Hey everyone :)

I want to set up my shop but I have a problem, when it comes down to shipping costs.

How can I set shipping costs based on product category/subcategory and country?

Where can I set price rules for that. Is that even possible without buying a module. If not, what module would be appropriate for my case? Below you can see, how my shipping costs wants to be set. Hope you can help me out, otherwise I'm screwed.

 

SHIPPING COSTS BASED ON PRODUCT CATEGORY WITHIN MY COUNTRY (Slovenia)

  • Other Categories - 2,5 €
  • Shoes Category - 3,5 €

 

MY SHIPPING COSTS BASED ON OTHER COUNTRIES

  • Shipping costs inside European Union - 4,9 €
  • Shipping costs outside European Union - 6,9 €
  • Shipping costs to USA - 12 €

 

Now here are some examples, how shipping should work in practice:

If a customer wants to buy 5× jackets within Slovenia, shipping costs are 2,5 €
If a customer wants to buy 5× jackets and 1× pair of shoes within Slovenia, shipping costs are 3,5 €
If a customer wants to buy anything inside European Union, shipping costs are 4,9 €
If a customer wants to buy anything outside European Union, except USA, shipping costs are 6,9 €
If a customer wants to buy anything to USA, shipping costs are 12 €

Shipping costs are not set according to quantity or product weight.

 

Really hope, someone can help me out with this.

Thank you and best regards,
Housy

 
Link to comment
Share on other sites

I solved this problem partially by setting the prices under "Shipping -> Carrier", but the solution is only for the countries.

I still can't find a solution for the categories/subcategories :( Under Cart Rules you can set discounts only.

How about increasing the prices? How could I set additional shipping costs (1 € with tax), when a customer has a specific product category in their cart? Is that somehow possible?

 

Link to comment
Share on other sites

5 hours ago, Simonas Invertus said:

You can't set shipping per category with default PrestaShop.

You will need a module/custom development.

I never tried this module, but maybe it could solve your problem? https://addons.prestashop.com/en/shipping-costs/29332-advanced-shipping-cost-plus.html

Try demo version and see if you can configure how you want.

 

Thank you for your answer :)

Yes, been watching the same module and tryed the demo, but it's quite limited. I can't make the settings, because some tabs like carriers and other stuff are disabled. I have sent an email directly to developer already. Hope they will anwser me as soon as possible.

 

Simonas Invertus, are you any good with coding maybe?

Is there any chance I could add an extra line of code or two directly into Cart.php within classes. I am not sure if this is the right file though.

Can you do something like in the example below?

/**************************************************************
* Is it possible to solve this with one or two IF statements? *
* Please take a look at the example below.                    * 
***************************************************************

$prestashop_shipping = 5;

if ($category == "Shoes" && $shipping_country == "Germany") {
	$prestashop_shipping = $prestashop_shipping + 1;
}

return $prestashop_shipping;

 

Thank you and best regards,
Housy

Edited by Housy (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...