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

Minimal_quantity should be 1 at least, not 0! #646

Merged

Conversation

ShaiMagal
Copy link
Contributor

@ShaiMagal ShaiMagal commented Nov 12, 2023

Questions Answers
Description? Tooltip say "The minimum quantity required to buy this product (set to 1 to disable this feature)". So minimal_quantity should be 1 at least, not 0! Related to PR: PrestaShop/PrestaShop#34537
Type? bug fix
BC breaks? no
Deprecations? no
Fixed ticket? PrestaShop/PrestaShop#18850
Sponsor company https://www.openservis.cz/
How to test?

@ShaiMagal ShaiMagal marked this pull request as draft November 12, 2023 13:43
@ShaiMagal ShaiMagal marked this pull request as ready for review November 12, 2023 14:28
@Hlavtox
Copy link
Contributor

Hlavtox commented Nov 15, 2023

I will test these queries after the core PR is merged.

@ShaiMagal
Copy link
Contributor Author

@Hlavtox I am using this queries about 100 times per year, after every PS update to be sure. It's safe:
Untitled

@Hlavtox
Copy link
Contributor

Hlavtox commented Nov 15, 2023

@ShaiMagal Yeah, I meant for typos like missing comma, just to be sure. :-))

Copy link
Contributor

@matks matks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ShaiMagal you modify the 8.1.3 SQL file but this PR targets develop branch (= PrestaShop 9.0.0)

I think you should target branch 8.1.x ? so it would be delivered for PrestaShop 8.1.3

@ShaiMagal
Copy link
Contributor Author

ShaiMagal commented Nov 15, 2023

@matks I don't understand, my PR is for 8.1.x, not develop.
PrestaShop/PrestaShop#34537

Copy link
Contributor

@matks matks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@matks I don't understand, my PR is for 8.1.x, not develop. PrestaShop/PrestaShop#34537

My bad I had too many browser tabs open

@Hlavtox
Copy link
Contributor

Hlavtox commented Nov 15, 2023

Hi @ShaiMagal, tested the query and everything works correctly, thank you!

Snímek obrazovky 2023-11-16 002533

@Hlavtox Hlavtox merged commit d8b26e8 into PrestaShop:dev Nov 15, 2023
26 checks passed
@Hlavtox Hlavtox added this to the 4.16.5 milestone Nov 15, 2023
@ShaiMagal ShaiMagal deleted the minimal-quantity-should-be-1-at-least branch December 14, 2023 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
5 participants