When I click submit with a valid code nothing happens and in fact nothing happens no matter what value I put in. The other forms on the page work fine such as increasing quantities of line items, etc.
Does anyone have any idea what the issue might be. I am using TeaCommerce V4.0.1
How do I check if the discount has been added to the order? I have some code looping through the applied discounts and this is not showing any applied discounts. As for the discount code, they do indeed exist and haven't been used as it was a completely new discount that was added.
Issue with adding discount via HTML method
I am using the following code to add discount codes:
When I click submit with a valid code nothing happens and in fact nothing happens no matter what value I put in. The other forms on the page work fine such as increasing quantities of line items, etc.
Does anyone have any idea what the issue might be. I am using TeaCommerce V4.0.1
Hi Graham
Is the discount code added to the order? Does the discount code you try to add exists and isn't used to many times?
Kind regards
Anders
How do I check if the discount has been added to the order? I have some code looping through the applied discounts and this is not showing any applied discounts. As for the discount code, they do indeed exist and haven't been used as it was a completely new discount that was added.
Hi Anders,
Found the issue, nothing to do with the code was my own silly mistake.
Graham
is working on a reply...