Hi!
I want to assert control over the Quantity Discount Table (QDT): what it generates and how it appears.
I've been playing with this all day, starting to see spots!
I have managed to get my QDT into the right spot by moving the code up (tpl_product_info_display.php) and adding some table code so that the QDT appears in a cell right next to the Add to Cart blurb. It looks pretty good, so I'm happy with it (love for somebody to look at it and tell me if I messed up any code):
http://2staging.apswittcosales.com/C...3_4_x_3-1_2_IN
And I have *kind of* asserted a bit of control over style by working with #productQuantityDiscounts in the css.
Problem #1
No matter what I do, I do NOT seem to be able to control the QDT table size (width: 100% or width: 300px)!
Problem #2 (super frustrating)
The code that generates this table automatically inserts a new row (<tr>) as soon as 6 price breaks are found. Problem is that some of my manufacturers have as many as 7 breaks. Which ends up looking very awkward:
http://2staging.apswittcosales.com/M..._2_x_18-1_2_IN
Just as annoying, if I have 6 price breaks, the code generates a new row (<tr>) and puts nothing in it:
http://2staging.apswittcosales.com/M..._4_7_INCH_REEL
I think that the table generating code lives here: tpl_modules_products_quantity_discounts.php
I want to tell it *NOT* to generate a new row until 10 discounts (basically, never).
Problem #3 (less important, but I'd still really like to solve)
I would *LOVE* to simplify the chart (using THIS PAGE as my example)...
From:
1-49 | 50-99 | 100-249 | 250-499 | 500-999 | 1,000+
To:
1-49 | 50+ | 100+ | 250+ | 500+ | 1,000+
I would be eternally grateful if someone could take a look!
Thanks,
Mike



Reply With Quote
