App Bridge POS - Price Override Issue

Max_Sadlowski
Shopify Expert
58 1 25

The new price override feature in POS has introduced a bug in POS App Bridge Cart methods. Essentially, there is now no way to tll if the cart line item has been discounted by a flat amount or by a price override, and the amount send is not consistant. 

Here is an example of the JSON returned for a $5 flower line item with a flat $1 discount applied:

 

  {
    "subtotal": "4",
    "taxTotal": "0.52",
    "grandTotal": "4.52",
    "lineItems": [
      {
        "quantity": 1,
        "discount": {
          "amount": 1,
          "type": "flat",
          "discountDescription": "Discount"
        },
        "taxLines": [
          {
            "price": "0.52",
            "title": "HST",
            "rate": "0.13"
          }
        ],
        "taxable": true,
        "variantId": 31120767320115,
        "title": "Fresh Cut Flowers",
        "price": 5,
        "productId": 4334593212467,
        "vendor": "None",
        "grams": 0,
        "variantTitle": "$5",
        "requiresShipping": false
      }
    ]
  }
]

 

This looks good and normal. The next example though is a price override of $2 on that same $5 product:

 

[
  {
    "subtotal": "2",
    "taxTotal": "0.26",
    "grandTotal": "2.26",
    "lineItems": [
      {
        "quantity": 1,
        "discount": {
          "amount": 2,
          "type": "flat",
          "discountDescription": "Discount"
        },
        "taxLines": [
          {
            "price": "0.26",
            "title": "HST",
            "rate": "0.13"
          }
        ],
        "taxable": true,
        "variantId": 31120767320115,
        "title": "Fresh Cut Flowers",
        "price": 5,
        "productId": 4334593212467,
        "vendor": "None",
        "grams": 0,
        "variantTitle": "$5",
        "requiresShipping": false
      }
    ]
  }
]

 

Now you can go about this and find a solution by looking at the line item price and the discount price, if they are equal then it was a price reduction, but overall this really should be resolved to either:

1. Introduce a new type of discount called "price_override" or 

2. Set the reduction to the inverse, in this case $3 to reduce the price of the line item to the proper $2. 

There also seems to be no way to write a price override into the cart line items via app bridge as there is no new type that is supported here. Happy to assist in getting this resolved or provide further example. 

Max Sadlowski - CEO - BentoSMB - Shopify Expert
0 Likes
SamShopBrad
Tourist
4 0 1

What "new price override feature in POS???!!!"

Shopify retailers have been asking for this for years!!!

Our shop needs this!

0 Likes
Harel
Shopify Partner
35 0 2

After adding a product to your cart, click on the product's name -> discounts > price override.

You can do so to the entire cart as well if preferred.

 

Happy Q4!

A Shopify merchant.
Founder of @Staffy (https://apps.shopify.com/staffy) - Employee management platform for Shopify.
0 Likes
SamShopBrad
Tourist
4 0 1

That will not work for an increased price. It only lets us price override to an amount up to the original price.

One of our scenarios for needing price override...

We are a nonprofit thrift store. We receive donated product for resale to benefit our community. Many donated items are not in good enough condition for resale. So we store them up for a local salvage dealer to come collect and pay us by weight.

In our old POS system we created a $0 Salvage item that we would price override to the salvage dealer's payment.

There are only two ways we've found to implement this in Shopify. Both are unacceptable.

1. Create a high-priced salvage item (e.g. $1,000) and add a fixed discount to match the salvage dealer's payment.  This is unacceptable because 1) It requires math. 2) It skews the sales discounts reports.

2. Create a custom sale. (What we're presently doing.) But this is unacceptable because a custom sale cannot be described with a product type. Thus we can't report salvage sales.

Shopify needs to provide us a product price override that we can set to any amount, up or down.

0 Likes