Forums / Setting Up Categories, Products, Attributes / If all attributes selected, then apply a discount?

If all attributes selected, then apply a discount?

Started by ryanthemadone on 19 Jun 2011, 5:54 PM · Views: 505

Results 1 to 3 of 3
19 Jun 2011, 5:54 PM
#1
ryanthemadone avatar

ryanthemadone

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

If all attributes selected, then apply a discount?

Hi guys,

I have products that each consist of a number downloads (setup as option name/value attributes.)

Each download is priced separately at $0.79.

However if you buy all of the downloads for a particular product I need to apply a discount.

e.g.

1 product containts 10 downloads at $0.79/each (total of $7.90)
If you buy all 10 though I want the total price of the product to be $6.99.

How can this be achieved?

I tried to do this with attribute quantity discount, but it seems there's no way to make it take account of the number of selected attributes.

19 Jun 2011, 6:24 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: If all attributes selected, then apply a discount?

Can you make an additional Option Value that is All of the Downloads and Zip them all together and give it the special price?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Jun 2011, 2:07 PM
#3
ryanthemadone avatar

ryanthemadone

New Zenner

Join Date:
Jan 2010
Posts:
12
Plugin Contributions:
0

Re: If all attributes selected, then apply a discount?

This sounds to me (and more importantly my client) like a workable solution, thanks.

In case anyone reads this in the distant future, Zen Cart could really do with a programmable logic system for attributes so you can set arbitrary rules between them that modify the item or attribute price.

It wouldn't be that hard to do really, but would require someone who really knows the guts of Zen Cart. That person is you. Go to it soldier.