Price rebate 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

Price rebate amount

Post by traiyani75 » 05 Jun 2020, 11:18

Hello,

I want to know logic behind the rebate amount. I have defined product and all details with price as attached into screenshot. Now, When we ordered that product, it is showing original cost also into basket api it is not returning rebate amount for that product too.

I am bit confused for that. In price section, if rebate amount value is just used for showing percentage value based on original cost then it should return into basket api too. So, I can show over there. Please check attached screenshots.

Thanks
Attachments
price field.png
price field.png (10.53 KiB) Viewed 1124 times
basket reponse.png
basket reponse.png (25.07 KiB) Viewed 1124 times

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

Re: Price rebate amount

Post by aimeos » 06 Jun 2020, 10:27

The rebate field is used in the list and detail views to calculate the discout in percent the item is now cheaper than before. In the basket and the order, the rebate field is used to calculate real discounts based on coupon codes or other factors.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply