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

Error in create order when disabling free shipping #20560

Closed
Tracked by #17598
Robin-Fischer-PS opened this issue Aug 12, 2020 · 3 comments
Closed
Tracked by #17598

Error in create order when disabling free shipping #20560

Robin-Fischer-PS opened this issue Aug 12, 2020 · 3 comments
Labels
1.7.7.x Branch BO Category: Back Office Bug Type: Bug Fixed Resolution: issue closed because fixed migration symfony migration project Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Nice-to-have Kanban prioritization: issue could be included in next version Order Component: Which BO section is concerned Regression Type: regression
Milestone

Comments

@Robin-Fischer-PS
Copy link
Contributor

Describe the bug

In BO > Create order, when an order has a free shipping voucher manually entered, if you try to uncheck the "free shipping" button in the Shipping block, an error is displayed.
If the free shipping button is set to ON again, a second free shipping voucher is created.

Expected behavior

When toggling OFF the free shipping button, no error should be displayed, and the voucher should be deleted (or the button should not be switchable).

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to BO > Catalog > Discount > Create a discount with Free Shipping
  2. Go to BO > Orders > Add new order
  3. On the creation order, add the Free Shipping voucher
  4. In "Shipping" block, set "Free shipping" to No : An error is displayed.
  5. Switch back to yes : A second "Free Shipping" voucher is created (the total sum of the order is however OK)

Screenshots

https://drive.google.com/file/d/1FxcNjSSEgkVfaDEqmFJlpocUI_OsyVTN/view?usp=sharing

Additional information

  • PrestaShop version: 1.7.7
  • PHP version: N/A
@Robin-Fischer-PS Robin-Fischer-PS added Bug Type: Bug Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification BO Category: Back Office Order Component: Which BO section is concerned Regression Type: regression Ready Status: Issue is ready to be worked on migration symfony migration project 1.7.7.x Branch labels Aug 12, 2020
@prestashop-issue-bot
Copy link

Thanks for opening this issue! We will help you to keep its state consistent

@atomiix
Copy link
Contributor

atomiix commented Aug 31, 2020

This one should be fixed by #20755. @Robin-Fischer-PS can you have a look?

@marionf marionf added the Nice-to-have Kanban prioritization: issue could be included in next version label Sep 2, 2020
@prestashop-issue-bot prestashop-issue-bot bot moved this from Backlog to To do in PrestaShop 1.7.7.3 Sep 2, 2020
@Robin-Fischer-PS
Copy link
Contributor Author

Yep @atomiix , it's fixed by #20755 ! Thanks :)

@Robin-Fischer-PS Robin-Fischer-PS added Fixed Resolution: issue closed because fixed and removed Ready Status: Issue is ready to be worked on labels Sep 2, 2020
@Robin-Fischer-PS Robin-Fischer-PS moved this from To do to Done in PrestaShop 1.7.7.3 Sep 2, 2020
@marionf marionf added this to the 1.7.7.0 milestone Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.x Branch BO Category: Back Office Bug Type: Bug Fixed Resolution: issue closed because fixed migration symfony migration project Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Nice-to-have Kanban prioritization: issue could be included in next version Order Component: Which BO section is concerned Regression Type: regression
Projects
No open projects
Development

No branches or pull requests

3 participants