Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default How to control the Quantity Discount Table?

    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
    Last edited by Feznizzle; 16 Jul 2013 at 10:35 PM. Reason: typeo

 

 

Similar Threads

  1. v139h Can I show quantity discount table on the product-listing screen?
    By christospur in forum General Questions
    Replies: 4
    Last Post: 24 Feb 2015, 05:22 PM
  2. v139f Edit the look of the quantity discount table on product page?
    By amylynpace in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 13 Nov 2012, 07:31 PM
  3. Quantity Discount Table
    By kraperw in forum General Questions
    Replies: 1
    Last Post: 8 Dec 2011, 08:25 PM
  4. Quantity Discount Table
    By CharInLasVegas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Nov 2009, 04:49 PM
  5. Where is the file for editing the table displayed by Quantity Discount...
    By flipjargendy in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Aug 2007, 02:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg