You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Turn on automatic discounts
Call the bulkUpdateCart function
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
The text was updated successfully, but these errors were encountered:
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
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:
Expected behavior
Automatic discounts should not be turned off when bulkUpdateCart is called.
Screenshots
The text was updated successfully, but these errors were encountered: