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

[Major Bug] POS UI - Calling bulkUpdateCart should not remove / turn-off automatic discounts #2666

Open
pohnean opened this issue Mar 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pohnean
Copy link

pohnean commented Mar 4, 2025

Please list the package(s) involved in the issue, and include the version you are using

@shopify/ui-extensions-react@2025.1.3

Describe the bug

Reposting from https://community.shopify.dev/t/major-bug-calling-bulkupdatecart-should-not-remove-turn-off-automatic-discounts/9940

Hi, I’m making use of the new bulkUpdateCart released in the 2025-01 update to automatically add free gifts based on what’s currently in the cart. The new bulkUpdateCart function works BUT it will always turn off Automatic discounts after the function is called.

I don’t think there’s any valid reason for automatic discounts to be turned off so I believe this is a major bug.

This bug makes the new bulkUpdateCart totally unusuble for my use case because I have an automatic product discount that checks for the _gwp cart line item property and applies a 100% discount automatically.

Steps to reproduce the behavior:

  1. Turn on automatic discounts
  2. Call the bulkUpdateCart function
  3. An alert message appears saying that Automatic discounts have been removed.

Expected behavior

Automatic discounts should not be turned off when bulkUpdateCart is called.

Screenshots

@pohnean pohnean added the bug Something isn't working label Mar 4, 2025
@pohnean pohnean changed the title [Major Bug] Calling bulkUpdateCart should not remove / turn-off automatic discounts [Major Bug] POS UI - Calling bulkUpdateCart should not remove / turn-off automatic discounts Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant