Apply Coupon without Code
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!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 2
- Joined: 14 Apr 2021, 10:36
Apply Coupon without Code
Hi!
I'm rather new to Aimeos and I'm having troubles with the following:
I'm having only one product in a customers shop. This product has multiple sizes and colors. The customer should get a discount when ordering a certain amount of the product not matter which size or color.
So I tried to solve this via the prices in the product settings, but that does not seem to work because it only work on variant level.
So I tried to solve it with a percentRebate and the basketvalues.total-value-min and -max decorator. This would work perfectly, but I'm only get it to work with a Coupon-Code, which I don't want. So here's the core question:
Can I apply the coupon whitout a code, automatically when a certain amount is reached?
Thank you for your help!
I'm rather new to Aimeos and I'm having troubles with the following:
I'm having only one product in a customers shop. This product has multiple sizes and colors. The customer should get a discount when ordering a certain amount of the product not matter which size or color.
So I tried to solve this via the prices in the product settings, but that does not seem to work because it only work on variant level.
So I tried to solve it with a percentRebate and the basketvalues.total-value-min and -max decorator. This would work perfectly, but I'm only get it to work with a Coupon-Code, which I don't want. So here's the core question:
Can I apply the coupon whitout a code, automatically when a certain amount is reached?
Thank you for your help!
Re: Apply Coupon without Code
Maybe you can implement a new catalog rule provider or decorator which adapts the price according to your needs:
https://github.com/aimeos/aimeos-core/t ... er/Catalog
This works in 2021.04+
https://github.com/aimeos/aimeos-core/t ... er/Catalog
This works in 2021.04+
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star