Skip to content

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

Open
@pohnean

Description

@pohnean

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

@shopify/[email protected]

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions