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

[14][IMP] shopinvader_sale_coupon : cast bool skip_coupon_recompute #1514

Open
wants to merge 1 commit into
base: 14.0
Choose a base branch
from

Conversation

xavier-bouquiaux
Copy link
Contributor

problem from our client

the cart update_item methods requires skip_coupon_recompute to be a boolean while the rest (item_id, item_qty) can be string. We are facing troubles due to this constraint, it will be better to accept string for the skip_coupon_recompute as well. So we won’t need to cast the value every where we use the method

@acsonefho

problem from our client
the cart update_item methods requires skip_coupon_recompute to be a boolean while the rest (item_id, item_qty) can be string. We are facing troubles due to this constraint, it will be better to accept string for the skip_coupon_recompute as well. So we won’t need to cast the value every where we use the method
@xavier-bouquiaux xavier-bouquiaux changed the title [IMP] shopinvader_sale_coupon : cast bool skip_coupon_recompute [14][IMP] shopinvader_sale_coupon : cast bool skip_coupon_recompute Mar 13, 2024
@acsonefho
Copy link
Contributor

@shopinvader/shopinvader-maintainers 🙏

@sbidoul
Copy link
Member

sbidoul commented Mar 18, 2024

Out of curiosity, why is it a problem for the client to pass a proper bool?

@sebastienbeau sebastienbeau added this to the 14.0 milestone Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants