required.productcode = No Error Message?
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
required.productcode = No Error Message?
Hello,
I am using the required Decorator, which seems to work. Though, right now it'll let me add the coupon code and on refresh or proceed, removes it. Is that the expected behavior? I thought it wouldnt let me add it in the first place and give me an according error message like "The code you've entered does not match with the requirements" or something along that.
Edit: On a unrleated note, is it possible to have a minimum basket value for a payment to be available? If, how so?
I am using the required Decorator, which seems to work. Though, right now it'll let me add the coupon code and on refresh or proceed, removes it. Is that the expected behavior? I thought it wouldnt let me add it in the first place and give me an according error message like "The code you've entered does not match with the requirements" or something along that.
Edit: On a unrleated note, is it possible to have a minimum basket value for a payment to be available? If, how so?
Re: required.productcode = No Error Message?
The coupon code isn't removed but the rebate isn't granted if the product isn't in the basket. That's the expected behavior.cyrotek wrote: ↑02 Oct 2019, 07:37 I am using the required Decorator, which seems to work. Though, right now it'll let me add the coupon code and on refresh or proceed, removes it. Is that the expected behavior? I thought it wouldnt let me add it in the first place and give me an according error message like "The code you've entered does not match with the requirements" or something along that.
It could be discussed if the behavior is expected by the customers or if an error message may be the better solution. The current solution was chosen because it simplifies handling if customers removes the required product and adds it again so they don't have to enter the coupon code again.
For a different behavior, there must be an exception thrown here:
https://github.com/aimeos/aimeos-core/b ... ed.php#L79
Not yet but it's simple to implement a decorator for that.
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