Forums / General Questions / Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

Started by zean on 23 Feb 2016, 7:00 AM · Views: 2,068

Results 1 to 9 of 9
23 Feb 2016, 7:00 AM
#1
zean avatar

zean

Zen Follower

Join Date:
May 2009
Posts:
200
Plugin Contributions:
0

Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

"Qty Discounts Off Price" on Product page only displays one row of discounts. And then says, "Discounts may vary based on options above."
"Qty Discounts Off Price" should show all rows for the attribute, not just the lowest cost one which is what ZenCart currently does.

Context:
Although I have products with several attributes, only one of the attributes have "Apply Discounts Used by Product Special/Sale" set to "yes".
The name of this attribute is "Size." There are 20 sizes and each has a different price . . . so Zencart default behavior of only showing the discount for just one of the sizes is not good.

Having used the Products Price Manager to set the discount percentage for each quantity break, the correct discount prices are properly used for calculations in the shopping cart . . . just not given any visibility on the Product page nor shown anywhere else in the store.

Again, on the Product page, the "Qty Discounts Off Price" only displays quantity discounts for one size (the lowest cost one).
I want the "Qty Discounts Off Price" to show the discounts for all of the sizes.

Thoughts? Code?

Thank you for your kindness.

24 Feb 2016, 9:56 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

A link to this product page would assist

Zen-Venom Get Bitten

24 Feb 2016, 10:11 PM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

************************************* DUPLICATE POSTING ************************************
Just noticed that you have cross posted this same issue elsewhere
Please follow forum guidelines and only post an issue once
If you have additional information keep it in the one posting

Other posting
https://www.zen-cart.com/showthread.php?219568-quot-Qty-Discounts-Off-Price-quot-on-Product-page-only-displays-one-row-of-discounts&p=1304250

Zen-Venom Get Bitten

24 Feb 2016, 11:41 PM
#4
zean avatar

zean

Zen Follower

Join Date:
May 2009
Posts:
200
Plugin Contributions:
0

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

Hi kobra, thanks for the tip on posting. I made a mistake. I realized that Other posting you linked to I put in the wrong section of the forum (i.e., "Configuring the Zen Cart Admin"), since I already knew the problem is not one that can be solved by Configuring the Zen Cart Admin. It's my fault for putting that in the wrong forum. So, I'm trying to ask a more focused question in this forum which is hopefully the right place.

Is there anything unclear about the problem I'm requesting help in solving?

25 Feb 2016, 7:45 PM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

A link to this product page would assist

Zen-Venom Get Bitten

26 Feb 2016, 9:49 AM
#6
zean avatar

zean

Zen Follower

Join Date:
May 2009
Posts:
200
Plugin Contributions:
0

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

Has anyone ever seen a zen cart that shows more than just the one row of discounts in the "Qty Discounts Off Price" that is displayed on the Product page? I'm sure others must have solved this problem many time over.

26 Feb 2016, 10:51 AM
#7
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

Zean:

Has anyone ever seen a zen cart that shows more than just the one row of discounts in the "Qty Discounts Off Price" that is displayed on the Product page? I'm sure others must have solved this problem many time over.

Sure might have, but is there a reason that after two requests nothing further has been offered to permit viewing the current "issue"? The link could be obscured by use of (dot) if necessary.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

26 Feb 2016, 9:25 PM
#8
zean avatar

zean

Zen Follower

Join Date:
May 2009
Posts:
200
Plugin Contributions:
0

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

mc12345678:

Sure might have
I don't understand what "Sure might have" means.

If you're not familiar with this standard behavior of zen cart, that's okay. I don't want to take your time or the time of readers of the forum and thank you for your effort.

The question is straightforward and requests a simple yes/no answer. However, if the answer is not yes, there is no need to reply.

Zean:

Has anyone ever seen a zen cart that shows more than just the one row of discounts in the "Qty Discounts Off Price" that is displayed on the Product page?

26 Feb 2016, 10:58 PM
#9
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Code for Qty Discounts Off Price on Product page - Product Price Manager / Attributes

So, in part I thought I was in a mood, but now that I've re-reviewed the history of this thread... I haven't looked at every ZC site that there is to know if someone has added such functionality to their site. If it's not there, it's desired, and makes some sort of business sense, add it... Part of getting there is asking for help. Part of getting help (from unpaid volunteers) is answering questions. Choose not to answer, best of luck to you. Maybe the next random visitor that gets to the bottom of this thread will feel compelled to assist.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...