If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Categories, Products, Attributes / Trying to set an attribute to give a % discount

Trying to set an attribute to give a % discount

Started by carbonless on 24 Feb 2011, 3:06 AM · Views: 662

Results 1 to 4 of 4
24 Feb 2011, 3:06 AM
#1
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Trying to set an attribute to give a % discount

I have a product that is imprinted and the product is priced by attributes: If the product has attributes that put it at $100. I want to give them an attribute selection that works as a discount. For example: if they do want the product to NOT be imprinted and want to order it blank, I would like the attribute selection BLANK to discount the product 20%.

Is it possible to offer a percentage discount as an attribute? Is the an add on module for this?

:blink:

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

24 Feb 2011, 3:25 AM
#2
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Trying to set an attribute to give a % discount

Here is a product that if a customer did not want to order it with an imprint, we want them to be able to place the order and select an attribute that says BLANK and discounts the product 20%

http://www.needtoorder.com/index.php?main_page=product_info&cPath=382_87_124&products_id=275

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

24 Feb 2011, 6:20 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Trying to set an attribute to give a % discount

The built-in functionality only discounts by amount, not percentage.

But, given that the overall price of the product is governed by the selected quantity, a percentage discount probably isn't needed. You could simply set your "LEAVE IT BLANK" attribute to a price of "- $20", after making the product priced-by-attributes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

24 Feb 2011, 2:12 PM
#4
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Trying to set an attribute to give a % discount

DrByte... it's been a very long time... Thank you for the reply. I was just hoping that there might be a work around or a mod...

This is the direction we were going to take if no other option was available.

I appreciate your time and reply.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com