Forums / Setting Up Categories, Products, Attributes / need help with price discounts

need help with price discounts

Locked

Views: 1,583

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Jul 2006, 4:12 PM
#1
sig_tech avatar

sig_tech

New Zenner

Join Date:
Jul 2006
Posts:
5
Plugin Contributions:
0

need help with price discounts

I am working on an ecommerce web site for a client. He is selling promotional items. When I enter the group discount prices it displays the price in a table like this:

1-11 $6.00
12-24 $5.75
25-49 $5.50

Is there a way to get it to display it in a table like this:

1 $6.00
12 $5.75
25 $5.50

Please can someone help me. I would really appreciate it.

Thanks,
sig-tech
V 1.3.02

30 Jul 2006, 4:28 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: need help with price discounts

You would need to customize the code to not include the range ...

You can customize the file:
/includes/modules/products_quantity_discounts.php

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!

30 Jul 2006, 4:42 PM
#3
sig_tech avatar

sig_tech

New Zenner

Join Date:
Jul 2006
Posts:
5
Plugin Contributions:
0

Re: need help with price discounts

Thank you for a quick response. Sorry to sound like such a newb, but could you tell me where on the products_quantity_discounts.php would I go to change the code to not include the range. I am looking at the code and I am not sure what to change.

Thanks,
sig-tech

30 Jul 2006, 5:34 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: need help with price discounts

Takes a bit of thought to work through all the conditions in there eh?

Look at how the $show_qty is built ... and then the final $quantityDiscounts[$columnCount]['show_qty'] ...

Be sure to copy the original file to your templates and overrides directory:
/includes/modules/your_template_dir

before attempting changes on the code ...

Hint: I did it in 2 lines of code changes and have the qty in single values with just the XX+ on the last ... :cool:

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!

30 Jul 2006, 6:28 PM
#5
sig_tech avatar

sig_tech

New Zenner

Join Date:
Jul 2006
Posts:
5
Plugin Contributions:
0

Re: need help with price discounts

:thumbsup: You are awesome. Thank you so much. I really appreciate it.

30 Jul 2006, 6:37 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: need help with price discounts

Perhaps when you have your working solution done ... you could post your results for others who may wish to adapt the display of their Discount Quantities in a similar mannner ...

Did you get it in 2 lines? :cool:

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!

6 Nov 2006, 2:25 AM
#7
rnet avatar

rnet

Zen Follower

Join Date:
Jun 2005
Location:
Pittsburgh
Posts:
99
Plugin Contributions:
0

Re: need help with price discounts

Where can the table text "Qty Discounts Off Price" be changed?