basket plugin - rebate product

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!
stiller
Posts: 88
Joined: 05 Mar 2016, 15:59

basket plugin - rebate product

Post by stiller » 16 Jan 2022, 17:04

hi there

I do understand how to add a specified rebate product to the basket if a certain condition is met.
see e.g. viewtopic.php?f=15&t=1721&p=7091&hilit= ... ugin#p7091

but how to remove the product again if the conditions are not met anymore after basket changes.

there are standard solutions for coupon provider fixed and percent.rebate but not for basket plugins.

has someone already developed a solution for this in the past ?
would be great to get some hints

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

Re: basket plugin - rebate product

Post by aimeos » 18 Jan 2022, 08:51

The coupon products are automatically removed if the conditions aren't met any more:
- https://github.com/aimeos/aimeos-core/b ... on.php#L91
- https://github.com/aimeos/aimeos-core/b ... #L441-L462
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply