Developer changelog

Subscribe to the changelog to stay up to date on recent changes to Shopify’s APIs and other developer products, as well as preview upcoming features and beta releases.

Get updates by RSS

POS UI Extensions 1.7 Update: Support for multiple cart discounts

API

As of March 13, we added the following updates to POS UI Extensions:

  • Added a discounts property to the Cart object, which includes all cart discounts.
  • Added addCartCodeDiscount to the Cart API, which allows the UI extension to add a code discount. The existing applyCartDiscount will still function for code discounts, too.
  • Added remove AllDiscounts to the Cart API, which allows the UI extension to remove all cart discounts.
  • Added a listHeaderComponent to the List component.

All of the changes are available for POS UI extensions version 1.7.0 and POS app version 9.4.0. See the version log for all version details.