FixedRebate coupons
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!
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
FixedRebate coupons
Hello,
We are using JSON APIs for android and ios application. Now, we are implementing functions for coupons.
Now, In that, If I want to apply fixedRebate or PercentFixed to specific product only, How can I do that?
I have tried to use listing product code value as fixedrebate.productcode and percentrebate.productcode. But that is not working. Even if I have set old product code, total discount is applied on basket total price only.
How do I fix it?
Thanks
We are using JSON APIs for android and ios application. Now, we are implementing functions for coupons.
Now, In that, If I want to apply fixedRebate or PercentFixed to specific product only, How can I do that?
I have tried to use listing product code value as fixedrebate.productcode and percentrebate.productcode. But that is not working. Even if I have set old product code, total discount is applied on basket total price only.
How do I fix it?
Thanks
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: FixedRebate coupons
Hello,
Along with this, I have tried to use basketvalues.total-value-min. But if my basket total amount is less than this defined value still coupon is applied on basket but no information is coming into api response when we hit get basket api call.
It is returning this
Thanks
Along with this, I have tried to use basketvalues.total-value-min. But if my basket total amount is less than this defined value still coupon is applied on basket but no information is coming into api response when we hit get basket api call.
It is returning this
So, How can we know the limitation of basket amount for particular coupon? Similar to this, we are not getting any information about product type, discount value. How do we get all those information related to the product?{
"id": "save2",
"type": "basket/coupon",
"links": {
"self": {
"href": "https://ebdaa-ecommerce-beta.mzadqatar. ... edid=save2",
"allow": [
"DELETE"
]
}
}
}
Thanks
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: FixedRebate coupons
Hello guys, Any update here?
Re: FixedRebate coupons
Add the "Required" decorator in the Voucher panel of the admin backend to your coupon provider (use the "+" sign right of the field), Then, add the product code of the product this voucher should be applied to and select "yes" for "required.only".traiyani75 wrote: ↑14 Jul 2020, 10:51 We are using JSON APIs for android and ios application. Now, we are implementing functions for coupons.
Now, In that, If I want to apply fixedRebate or PercentFixed to specific product only, How can I do 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
Re: FixedRebate coupons
Yes, the coupon is added to the basket but there's no error thrown if the coupon doesn't have an effect yet because if the user adds more products, it may became valid then.traiyani75 wrote: ↑14 Jul 2020, 10:59 Along with this, I have tried to use basketvalues.total-value-min. But if my basket total amount is less than this defined value still coupon is applied on basket but no information is coming into api response when we hit get basket api call.
So, How can we know the limitation of basket amount for particular coupon? Similar to this, we are not getting any information about product type, discount value. How do we get all those information related to the product?
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
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: FixedRebate coupons
Is there any way, by which we can get coupons information
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: FixedRebate coupons
By doing this, Coupon will apply only if particular product exist into cart, but still total discount is applied on cart total instead of specific product only. How to fix that and create coupon code for particular product only?aimeos wrote: ↑16 Jul 2020, 20:55Add the "Required" decorator in the Voucher panel of the admin backend to your coupon provider (use the "+" sign right of the field), Then, add the product code of the product this voucher should be applied to and select "yes" for "required.only".traiyani75 wrote: ↑14 Jul 2020, 10:51 We are using JSON APIs for android and ios application. Now, we are implementing functions for coupons.
Now, In that, If I want to apply fixedRebate or PercentFixed to specific product only, How can I do that?
Regards
Re: FixedRebate coupons
Please make sure you are using the latest 2020.x version of Aimeos.
There's a "required.only" option in the coupon detail panel if you select "Required" which limits calculating the discount only the the product in "required.productcode".
There's a "required.only" option in the coupon detail panel if you select "Required" which limits calculating the discount only the the product in "required.productcode".
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
-
- Advanced
- Posts: 114
- Joined: 08 Nov 2019, 11:56
Re: FixedRebate coupons
Hello, I have created coupon and also added required option. Please check attached screenshot. But when we apply coupon on cart. It is still giving discount based on cart total only.
Please check.
Thanks & Regards
Please check.
Thanks & Regards
- Attachments
-
- voucher.png (25.86 KiB) Viewed 5257 times
Re: FixedRebate coupons
There's no "required.only" option visible so you are using an old version
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