How to relate product attributes to discount rules

Phoca Cart - complex e-commerce extension
robertd
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 08 Oct 2019, 22:31

How to relate product attributes to discount rules

Post by robertd »

Hi all guys,

I'm new to phoca cart and I'm creating a website to sell photos to my customers.
I usually applies discounts depending on photo sizes and quantities.
For example: 1 photo 10x15 3€ -> 5 photos 10x15 10€ (instead of 15€): let's call this **DISCOUNT #1**
another example: 1 photo 12x18 4€ -> 5 photos 12x18 15 € (instead of 20€): let's call this **DISCOUNT #2**.
Since they could buy 6 photos 10x15 and 6 photos 12x18, the amount to be calculated automatically should be 32€:
5 photos 10x15 **DISCOUNT #1 APPLIES** -> 10€ +
1 photo 10x15 -> 3€ (full price) +
5 photos 12x18 **DISCOUNT #2 APPLIES** ->15€ +
1 photo 12x18 -> 4€ (full price)[/list][/list]

I have succeeded in creating the photo attributes and the two discounts; however, I've not been able to relate the discounts to the attributes as I described above.
Is there a way to do this?

Many thanks in advance.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47870
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to relate product attributes to discount rules

Post by Jan »

Hi, for now the discounts only apply to:

product - product discount
or whole cart - cart discount

There is no discount for product variant :-(

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