PercentRebate with basket max amount

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!
traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

PercentRebate with basket max amount

Post by traiyani75 » 05 Nov 2020, 13:40

Hello,

We are using JSON api into mobile application. Now, we are checking for voucher type : Percent Rebate.
But, In that, when we add additional flag related to basket values. Then it is not working. Even if we reached to basket max amount into basket total and apply percent rebate voucher code. it is showing discount value 0 all time.

On the other case, when we remove basket values from percent rebate then it is working fine. So, we need to know that either this basket values is supported with percent rebate or not at the moment?

Thanks

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

Re: PercentRebate with basket max amount

Post by aimeos » 07 Nov 2020, 08:41

Can you please post a screenshot of your configuration?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

traiyani75
Advanced
Posts: 114
Joined: 08 Nov 2019, 11:56

Re: PercentRebate with basket max amount

Post by traiyani75 » 07 Nov 2020, 10:30

yes, File attached

Thanks
Attachments
Screenshot_4.png
Screenshot_4.png (16.13 KiB) Viewed 1161 times

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

Re: PercentRebate with basket max amount

Post by aimeos » 10 Nov 2020, 16:56

This configuration works well in the HTML frontend if the basket value is between 125 and 350 EUR so I guess it works for the JSON API too:
admin-coupon-basketvalues.png
admin-coupon-basketvalues.png (91.57 KiB) Viewed 1137 times
Check if the coupon is part of the basket in the JSON response.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply