issue on validate coupon code

How to configure and adapt Aimeos based shops as developer
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
aimeo.alpesh
Posts: 16
Joined: 26 May 2023, 05:24

issue on validate coupon code

Post by aimeo.alpesh » 30 Jun 2023, 09:34

Hello
I am getting below error on validate coupon code.

No item found for conditions: Array ( [product.code] => demo-rebate )

Please advice how can i get and fix it.

Url : http://127.0.0.1:8000/shop/basket

Body :

{
"_token": "gNZJD9NCl0Xe0oo6co58Ng7m4KrCX7DErAvr8JAC",
"b_prod": [
{
"quantity": "1",
"position": "0"
}
],
"b_coupon": "888888"
}

User avatar
aimeos
Administrator
Posts: 7894
Joined: 01 Jan 1970, 00:00

Re: issue on validate coupon code

Post by aimeos » 02 Jul 2023, 08:59

Seems like you've removed the product with code "demo-rebate" from the product panel (or removed all demo products). This is necessary for adding the voucher to the basket.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply