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

Free shipping rule with table shipping method breaks checkout #6346

Closed
Cacasapo opened this issue Aug 25, 2016 · 7 comments
Closed

Free shipping rule with table shipping method breaks checkout #6346

Cacasapo opened this issue Aug 25, 2016 · 7 comments
Labels
bug report Component: Checkout Component: Shipping Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development

Comments

@Cacasapo
Copy link

Preconditions

  1. Magento 2.08 upgraded to 2.1

Steps to reproduce

  1. Configure table shipping rate
  2. Create attribute and rule for free shipping
  3. Assign attribute to product and enable
  4. Add product to cart
  5. Attempt to check out.

Expected result

  1. Shipping Methods should show the table label and $0 for shipping.

Actual result

  1. Shipping Methods shows: Sorry, no quotes are available for this order at this time
  2. Hairs are pulled out.

PS:
Disabling table and enabling fixed works OK with the above procedure.
Adding a product without free shipping, along with a free ship one, to cart allows checkout to proceed.

@veloraven
Copy link
Contributor

veloraven commented Aug 26, 2016

@Cacasapo thank you for your report.
Could you please provide more detailed steps?

  1. Does your table rate contain option with price = 0?
  2. More detailed description for attribute and rule creation.
  3. What do you mean as 'Assign attribute to product and enable'?

@Cacasapo
Copy link
Author

Cacasapo commented Aug 26, 2016

1 - No, the table is basically fixed, per-unit shipping for US and Canada. I've attached it.
2 - Attribute is a Yes/No named "free shipping"
The rule is: If ALL of these conditions are TRUE : Free Shipping is Yes
Fixed amount discount: 0
Free shipping: For matching products only
3 - I mean, add the attribute to the default attribute set, then open a product and set free shipping to Yes.

tablerates.zip

@miakusha
Copy link
Contributor

Hi @Cacasapo , thank you for your report.
Created internal issue MAGETWO-58664 to investigate and track this issue.

@miakusha miakusha added the Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development label Sep 19, 2016
@irenelagno
Copy link
Contributor

Hi, @Cacasapo, thank you for your report.
This issue appears due to incorrect configuration in the your tablerates.zip.
To have ability to apply free shipping with table rate. you need to add configuration for weight = 0.
{code}

CAN * * 0 21.99
USA * * 0 11.99
{code}

tablerates1.zip
I attached modified csv file.
Please try adding missing configuration to your tablerates.csv

@Cacasapo
Copy link
Author

@irenelagno The attached CSV is the same I've uploaded.

I'm using "# of items vs destination" because this is a per-item shipping fee, so I don't see how weight comes into it. Is this the bug?

@irenelagno
Copy link
Contributor

@Cacasapo, Thank you for clarification. I'll try with settings # of items vs destination. Because I have tried with Condition = "Weight vs Destination" earlier.

mmansoor-magento pushed a commit that referenced this issue Sep 30, 2016
Fixed issues:
- MAGETWO-56866: [GITHUB] Custom option prices unexpectedly change after save #6116 #6342
- MAGETWO-58873: Cannot receive shipping quotes via the admin panel or front end
- MAGETWO-55216: Reference by name to non existing plugin lead to Di compilation failure
- MAGETWO-58958: Fatal error in console in flow for apply new Scheduled Staging Update using CRON
- MAGETWO-55924: [FT] Test fails because of unexpected alert window
- MAGETWO-58664: [GitHub] Free shipping rule with table shipping method breaks checkout #6346
- MAGETWO-58849: [GitHub] Error in product edit page after disable Review module #6704
@sdzhepa
Copy link
Contributor

sdzhepa commented Oct 3, 2016

@Cacasapo Fix for this issue was delivered to develop branch. Pls feel free to chech it in develop and reopen if need

  • Fix for Magento 2.1 will be delivered late in scope of internal ticket MAGETWO-59248
  • Fix for Magento 2.0 will be delivered late in scope of internal ticket MAGETWO-59249

@sdzhepa sdzhepa closed this as completed Oct 3, 2016
magento-team pushed a commit that referenced this issue Oct 5, 2017
magento-team pushed a commit that referenced this issue Oct 5, 2017
magento-team pushed a commit that referenced this issue Oct 5, 2017
magento-team pushed a commit that referenced this issue Oct 5, 2017
Fixed issues:
- MAGETWO-61226: [FT] CreateProductAttributeEntityTest fails on 2.0.11 since JS validation error is not displayed
- MAGETWO-64962: Presented field which should be invisible
- MAGETWO-67343: Product export issues for 100K to 600K products
- MAGETWO-59249: [GitHub] Free shipping rule with table shipping method breaks checkout #6346
- MAGETWO-61060: Incorrect URLs in sitemap when generated from admin with 'Use Secure URLs in Admin' = Yes
- MAGETWO-63033: Product imports not Auto-Generating URL Keys for SKUs 
- MAGETWO-64676: Gift card can be used twice exceeding balance amount
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Checkout Component: Shipping Issue: Ready for Work Gate 4. Acknowledged. Issue is added to backlog and ready for development
Projects
None yet
Development

No branches or pull requests

6 participants
@sdzhepa @veloraven @irenelagno @Cacasapo @miakusha and others