POS discount tile

It appears that there’s a regression, where adding a POS tile with a valid function based manual discount code results in an error:

My assumption is that this is specifically a bug with the new ‘discount api’, and not the individual ‘product/order/shipping apis’.

2 Likes

Hey @bkspace - thanks for flagging this. Just want to confirm replication steps on my end here to make sure I’m understanding your set up correctly:

  1. Create a function-based discount (per the docs here: Build a Discount Function)
  2. From the POS app’s home page add a specfic discount grid
  3. Try adding the function discount as the grid-discount

I’m thinking that adding a “normal” discount doesn’t result in this behaviour, but just wanted to confirm this. I think this may be unexpected behaviour, so I’m happy to investigate further, just wanted to touch base to confirm replication steps - hope to speak with you soon, we’ll get this looked into.

Yep, that’s spot on! Adding a native Shopify discount does indeed work, it’s only function based codes which error out when being added to a ‘discount’ grid tile.

Appreciate you looking into it!

Thanks @bkspace - I’ll do some further digging into this to try and replicate the issue and then loop back with you once I’ve touched base with our product team on this. Appreciate you reporting this again, this does look like unexpected behaviour to me.

Speak with you as soon as I have more info to share. :slight_smile:

1 Like

Hey @bkspace - just following up on this one here as I was able to work with our product team on this for you. Could you/your merchant try navigating to the Discount menu in the admin and publishing the function discount to the POS Sales Channel if that hasn’t already been enabled? Here’s what that process looks like:

If the issue persists, just let me know and I’m happy to help out further for sure. Hope this helps!

Hey @Alan_G, I’ve just tested that and it does appear to fix that issue. I’ll note a slight confusion for anyone reading in future:

1.) Manual codes and automatic codes will work out of the box on POS, using the ‘Apply discount’ tile - regardless of if you publish, or un-publish from POS (as described above).
2.) To add a Discount tile - you must first publish the discount to the POS.

I would also add that you previously could add a discount tile, without publishing to POS, and was raised by merchants as a regression - hence my assumption that this was a bug.

Really thankful for you triaging this issue with the product team directly and getting to the bottom of this! Super appreciated :heart:

1 Like

Hey @bkspace glad to hear that fixed the issue! Really appreciate you testing that out and confirming it works.

Thanks for sharing the breakdown of the behaviour as well, definitely helpful for anyone who might encounter this in the future.

I’ll also pass along your feedback about this being a regression from previous behaviour where you could add discount tiles without publishing to POS first. I can’t guarantee what the response will be or if the behaviour will changed, but thanks again for reporting this and for your patience while we worked through it together here.

Feel free to reach out if you run into anything else. Happy to help anytime! :blush:

1 Like