Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Set shipping costs to zero" in discounts should set the base shipping cost to 0. #561

Closed
outline4 opened this issue Nov 11, 2018 · 13 comments
Labels
💡 enhancement Ideas and suggestions

Comments

@outline4
Copy link

Description

In a discount, when choosing "Set shipping costs to zero for matching products" it should set all shipping costs to 0. Especially true for "Base" shipping costs.

Additional info

  • Craft version: Craft Pro 3.0.28
  • PHP version: 7.2.11
  • Database driver & version: MySQL 5.5.5
  • Commerce: 2.0.0-beta.12.1
@lukeholder
Copy link
Member

lukeholder commented Nov 12, 2018

@outline4 the "Set shipping costs to zero for matching products" does not set base shipping cost to zero as the checkbox label clarifies.

Are you looking for a checkbox option that makes the whole shipping cost free?

@outline4
Copy link
Author

outline4 commented Nov 12, 2018 via email

@lukeholder lukeholder added the 💡 enhancement Ideas and suggestions label Nov 13, 2018
@hahnzilla
Copy link
Contributor

If it's any help at all, I can confirm that in Craft Commerce 1 the same checkbox did set base shipping costs to zero. By the sound of this it seems like that was intentional, but it definitely would be nice to have the same option provided by Commerce 1.

@echantigny
Copy link
Contributor

@lukeholder @andris-sevcenko Any chance this will be fixed soon? I need this for my client, which relies a lot on giving a Free Shipping coupon code.

@jesuismaxime
Copy link
Contributor

If no conditions are set (then all product are matching the conditions), the expected behavior is indeed a free shipping on the whole order. If its no there, a Free Shipping Coupon is a must!

@outline4
Copy link
Author

outline4 commented Feb 8, 2019

Free shipping is our top coupon need!
Please make this happen again!

@echantigny
Copy link
Contributor

Also, semi-related is #699

@lukeholder
Copy link
Member

This feature will be out soon in 2.1

@eric-chantigny
Copy link

@lukeholder Thanks Luke! That's gonna be very helpful. Please make sure to look at #699 too to be sure the bug doesn't create issues there too.

Let me know if you'd like me to grab a dev copy and test the features.

@RandomJo
Copy link

RandomJo commented Feb 13, 2019

Hi, there. I wanted to comment here first before creating a new issue to see if the fix that will be out in 2.1 will address an issue I'm facing. Let me know what you think.

Our client chose to go with a tiered shipping paradigm based on the order total. We're using the Maximum Order Total Price condition along with the Base Rate field to set cost. It appears that when order-based rules are applied, the free shipping options on the product and discount level do not work at all. I've tested this by switching to item-based shipping rules and in that case, the free shipping options do work as expected. What I would expect is for a product with free shipping to be removed from the order total used to calculate the order-based shipping rules. Similarly, I would expect any products matched in a free shipping discount to be removed from the order total used to calculate the shipping rules.

As of right now, there are free shipping options for products and discounts that do nothing when using order-based shipping rules. Is that intentional? If not, would you like me to create a separate issue or is it related to what you've addressed here?

@lukeholder
Copy link
Member

@RandomJo I have just pushed some changes on the develop branch.

1c2ab41 and 2cc02e9.

This adds order level shipping discounts (whole order shipping free) and improves the item level free shipping discounts to work more like the free shipping flag on the products themselves.

They will be in the next release.

The changes also improves the logic for free shipping items with a max shipping rate.

Please note that on the latest 2.0.x we renamed Maximum Order Total Price condition to Maximum Order Total Value - The maximum total value of items in the cart (before any adjustments) to match this rule. Zero matches all carts.

Please try the develop branch or wait for the next release and let me know if you are still not getting the results you are looking for.

Thanks

@RandomJo
Copy link

That is fantastic. Thank you so much!

@RandomJo
Copy link

Hey, Luke. I tested this out in the develop branch, and the new discount option works well—just as expected. However, the free shipping checkbox on the product doesn't work like I was anticipating. I have a tiered base rate for shipping based on the Maximum Order Total Value and Minimum Order Total Value fields. But, when I mark free shipping on a product, it is not removed from that calculation. The base rate for shipping still applies even when I have one item in the cart that is marked for free shipping.

I also tried setting a minimum value of $0.01 on the lower shipping tier to see if that made a difference and it didn't.

Should I expect the free shipping checkbox to do anything in this scenario, or did I misunderstand the change you made?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 enhancement Ideas and suggestions
Projects
None yet
Development

No branches or pull requests

7 participants