Liquid, JavaScript, themes, sales channels
We have added a hidden discount field to our cart page.
<input type="hidden" name="discount" value="[DISCOUNT_CODE_HERE]">
This was working perfectly to apply the discount up until this last week.
It now seems that the form data is sent when the cart form is submitted but the discount is not applied in the Shopify Checkout.
Does anyone know if anything has changed that might mean this needs to be handled a different way? I've noticed that if i make the discount available to all customers this works, if i set it to only specific customers it stops working. Almost as if the customer group is not carried forward to the checkout
Thanks
I'm having the same issue but in my case I don't use customer groups and it's stopped working for all customers.
I've had to put messages on the website telling customers to enter codes which isn't ideal when they've been used to it being automatic for years.
User | RANK |
---|---|
33 | |
25 | |
17 | |
9 | |
9 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023