Author Topic: Discount code only for product itself not the custom fields  (Read 1155 times)

Huubs

  • Jr. Member
  • **
  • Posts: 329
Discount code only for product itself not the custom fields
« 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?

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4607
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Discount code only for product itself not the custom fields
« Reply #1 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

Huubs

  • Jr. Member
  • **
  • Posts: 329
Re: Discount code only for product itself not the custom fields
« Reply #2 on: November 19, 2021, 14:39:13 pm »
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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28302
  • Always on vacation
    • Jenkin Hill Internet
Re: Discount code only for product itself not the custom fields
« Reply #3 on: November 19, 2021, 15:01:21 pm »
Are you using Awocoupos?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

Studio 42

  • Contributing Developer
  • Sr. Member
  • *
  • Posts: 4607
  • Joomla & Virtuemart developper
    • Studio 42 - Virtuemart & Joomla extentions
  • VirtueMart Version: 2.6 & 3
Re: Discount code only for product itself not the custom fields
« Reply #4 on: November 19, 2021, 15:25:13 pm »
Are you using Awocoupos?
+1
Use awocoupon for complex rules

Huubs

  • Jr. Member
  • **
  • Posts: 329

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28302
  • Always on vacation
    • Jenkin Hill Internet
Re: Discount code only for product itself not the custom fields
« Reply #6 on: November 19, 2021, 15:37:34 pm »
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14

Huubs

  • Jr. Member
  • **
  • Posts: 329
Re: Discount code only for product itself not the custom fields
« Reply #7 on: November 19, 2021, 16:09:59 pm »
I always use Awo:  https://awodev.com/products/joomla/awocoupon
i dont think it's posssible to exclude custom fields with this

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28302
  • Always on vacation
    • Jenkin Hill Internet
Re: Discount code only for product itself not the custom fields
« Reply #8 on: November 19, 2021, 19:17:51 pm »
It is worth checking with Seyi, he is usually very helpful.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.28 PHP 7.4.14