Discount in dependency of a productoption

Phoca Cart - complex e-commerce extension
Mantra
Phoca Member
Phoca Member
Posts: 44
Joined: 16 Jul 2018, 16:01

Discount in dependency of a productoption

Post by Mantra »

Hi there,
I want to grant a discount to every customer choosing some product with a special Option.
E.g. I choose the product 'CAR', doesn't matter which, with the option 'with wheeles', so I grant a discount of 20%, without you pay the full price.
I know, this example doesn't make sense, but I hope it shows what I mean.
In the Ph-Cart-options 'Discount' and 'Coupon' I can't find a solution.
Thanks
User avatar
jrjr
Phoca Professional
Phoca Professional
Posts: 114
Joined: 30 Nov 2018, 23:56

Re: Discount in dependency of a productoption

Post by jrjr »

Maybe you could do it the other way around? Car with wheels = base price $100...... Option:Car without wheels = +20%
Just a thought
Mantra
Phoca Member
Phoca Member
Posts: 44
Joined: 16 Jul 2018, 16:01

Re: Discount in dependency of a productoption

Post by Mantra »

Hello jrjr,
thanks for your suggestion, but it shows me that my example wasn't the best. my fault.
I try again.
- I have a product with a basic price, lets say 100,-- €
- there is an Option for this procduct which lets the price increase for 50,-- €
- the total is 150,--€
- now the discount comes and decreases the total to 125,-- € because the option you choose is the condition for the discount.
If you want, have a look to www.alloula.de, choose SHOP->DIE BOBBEL -> choose any product and find the option LUREXFADEN.
Choose one of them -> the PREIS increase, and this new PREIS is the base for my discount.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47883
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Discount in dependency of a productoption

Post by Jan »

Hi, yes, unfortunately, there is not a discount rule based on option, so such must be customized directly in the code :-(

Or, as jrjr wrote, to somehow count this discount directly to the option :idea:

Jan
If you find Phoca extensions useful, please support the project
Post Reply