VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: Kuubs on November 19, 2021, 10:52:37 AM

Title: Discount code only for product itself not the custom fields
Post by: Kuubs on November 19, 2021, 10:52:37 AM
Hello,

I am trying to add a coupon code for the product only, excluding the custom fields, but I cannot seem to get it working right.

I tried adding the code multiple times , and then adding exclusivity to the products, but when setting multiple codes it doesn't work. It seems it only checks once for an existing code.

Is it possible with a core hack or something?
Title: Re: Discount code only for product itself not the custom fields
Post by: Studio 42 on November 19, 2021, 11:47:24 AM
Sorry, but your request is not clear !
If you use a fixed price for the coupon (not a percent) then the coupon value never change
If you need multiple coupons, then you have to change the coupon code for each coupon to have no troubles
Title: Re: Discount code only for product itself not the custom fields
Post by: Kuubs on November 19, 2021, 14:39:13 PM
Quote from: Studio 42 on November 19, 2021, 11:47:24 AM
Sorry, but your request is not clear !
If you use a fixed price for the coupon (not a percent) then the coupon value never change
If you need multiple coupons, then you have to change the coupon code for each coupon to have no troubles

I understand. But I want to use a percentage. I want to use 1 general code for a fixed percentage of only the product itself, without the custom fields.

Else I thought I can use 1 coupon code for different products, the problem is that every product has his own fixed discount because its in percentage. I thought making 3 different coupons with the same code but only per product specific, but that doesn't work.
Title: Re: Discount code only for product itself not the custom fields
Post by: jenkinhill on November 19, 2021, 15:01:21 PM
Are you using Awocoupos?
Title: Re: Discount code only for product itself not the custom fields
Post by: Studio 42 on November 19, 2021, 15:25:13 PM
Quote from: jenkinhill on November 19, 2021, 15:01:21 PM
Are you using Awocoupos?
+1
Use awocoupon for complex rules
Title: Re: Discount code only for product itself not the custom fields
Post by: Kuubs on November 19, 2021, 15:29:34 PM
Quote from: jenkinhill on November 19, 2021, 15:01:21 PM
Are you using Awocoupos?

No
Title: Re: Discount code only for product itself not the custom fields
Post by: jenkinhill on November 19, 2021, 15:37:34 PM
I always use Awo:  https://awodev.com/products/joomla/awocoupon
Title: Re: Discount code only for product itself not the custom fields
Post by: Kuubs on November 19, 2021, 16:09:59 PM
Quote from: jenkinhill on November 19, 2021, 15:37:34 PM
I always use Awo:  https://awodev.com/products/joomla/awocoupon
i dont think it's posssible to exclude custom fields with this
Title: Re: Discount code only for product itself not the custom fields
Post by: jenkinhill on November 19, 2021, 19:17:51 PM
It is worth checking with Seyi, he is usually very helpful.