Rebating / reducing the total amount

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
goerch
Posts: 26
Joined: 19 Feb 2016, 20:02

Rebating / reducing the total amount

Post by goerch » 18 Apr 2016, 08:56

Hello,
i want to rebate the total amount. If user reached the amount of 1000,--, he get a reduction of 2% of total amount, and so on. How can i do this? Its not a point of ServiceProvider (Reduction), i tried this first, but Reduction is only shown of rebating costs of Postpayment or Prepayment. This is not the point, because its indepent of payment or delivery, its only a Reduction of total, if user reached a defined sum.
Example:
4 x Item a 350,-- = 1400,--
2 xItem2 a 50,-- = 100,--
Sum = 1500,--
- Rebate 2% (30,--) = 1470,--

Is there a way to implemente this, maybe with a plugin or so.
Thank you for a tip.

Jörg

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

Re: Rebating / reducing the total amount

Post by aimeos » 18 Apr 2016, 13:07

Sure, basket plugins are the right way. Using them, you can adapt the content in the basket in any fashion.
Documentation is available here: https://aimeos.org/docs/Developers/Libr ... et_plugins

For monetary rebates, you should add a rebate product like it's done in some coupon providers:
https://github.com/aimeos/aimeos-core/b ... e.php#L169
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply