Hello everyone,
On the Checkout page, when a code is rejected, it says “Additional code discount requested was discarded.”
We would love to understand what this error message means.
Thanks in advance.
Hello everyone,
On the Checkout page, when a code is rejected, it says “Additional code discount requested was discarded.”
We would love to understand what this error message means.
Thanks in advance.
Having the same issue here. Did you find a solution?
Yes facing the same issue on a shipping discount code. anyone found anything?
We are experiencing the same issue – it was first reported today.
Hi everyone,
We’ve noticed that this issue started occurring during our migration from the Shipping Discount API to the new Discount API.
It’s worth mentioning that automatic discounts are working without any problems – the issue only affects the usage of multiple discount codes (especially with the message: “Additional code discount requested was discarded”).
Any insights or updates on this would be greatly appreciated!
Additionally, we’ve noticed in the Shopify Partners logs that our discount functions are being triggered correctly, but the discounts are not actually being applied to the cart.
It seems that the logic on Shopify’s side is partially working – the function executes, but the discount is not visible to the customer.
Hello @seun!
This most likely happens when a discount function is called but does not return any discount candidate. This effectively means : the discount exists but did not have any effects.
We understand the wording should be improved and do plan on it. Stay tuned.
Could you share those logs?
Output
{
"operations": [
{
"deliveryDiscountsAdd": {
"candidates": [
{
"value": {
"percentage": {
"value": "3"
}
},
"targets": [
{
"deliveryOption": {
"handle": "e38d2cda69656885a51f86b437197554-e1c52e9dd41d6063ce0e13af71166255"
}
}
],
"message": ""
},
{
"value": {
"percentage": {
"value": "12"
}
},
"targets": [
{
"deliveryOption": {
"handle": "e38d2cda69656885a51f86b437197554-8acec1c96768f5a8386c6f3e9c61b166"
}
},
{
"deliveryOption": {
"handle": "e38d2cda69656885a51f86b437197554-e1c52e9dd41d6063ce0e13af71166255"
}
}
],
"message": ""
}
],
"selectionStrategy": "ALL"
}
}
]
}
Are you still seeing this message? I believe there were some recent updates related to this.
Just to add to @Liam-Shopify’s message. I’ve documented how you can change the message. Out of the box this message now reads: “{{code}} is valid but not applicable. Check discount terms..”
This is of course a much better generic message, but it CAN also be updated (although rather hard to find!):
The error message is no more.
Thank you @Liam-Shopify