Is there any way in the product discount function to know where the request came from (POS- Online Store)?
I have created a discount for the online store only and I’m calculating the Discount through the Product Discount Function but Shopify also calls the product discount function on POS as well and that discount also applied on POS as well.
Thank you in advance,