Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2009
    Posts
    43
    Plugin Contributions
    0

    database error Can I display Quantity Discounts in my Product Listing?

    Greeting,

    I have zencart 1.3.8. Could you guys please help me?
    How do I display "Qty Discounts Off Price" table Product Listing intead of in the Detail? Which tpl_FILENAME should I be edit
    from Zenstore/includes/templates/TM001/templates


    Example, you first setup "Qty Discounts Off Price" for ProductA using Price Manager. It only display when you click the ProductA's detail.
    (tpl_product_info.php is responsible for this)
    However, what I would like is to list "Qty Discounts Off Price" table of the productA, productA, productC when I click SubCategory1.


    Category1
    SubCategory1

    (SubCategory1 has ProductA, ProductB, ProductC etc...)

    Please help.. read a couples of treads already...no luck yet..
    At least someone please tell me if this is easy to do? Will it worth to pay a Professonal Zencart users ?

    Thank you very much.
    Thanks,
    digulu

  2. #2
    Join Date
    Dec 2009
    Posts
    43
    Plugin Contributions
    0

    Default Re: Product Listing

    Hi everyone,

    I have question..sorry to keep bugging people.

    Is there any way to display the Quantity Discounts table on the subcategory page when I click subcategory? Instead of product listing.

    I have add following codes into "tpl_product_info_display.php"

    -----------------------------------------------------------

    $products_discount_type = zen_products_lookup($listing->fields['products_id'], $what_field = 'products_discount_type');
    if ($products_discount_type != 0) {
    $rows++;
    $products_id_current = (int)$listing->fields['products_id'];
    $quantityDiscounts = array();
    $products_discount_type_from = zen_products_lookup($listing->fields['products_id'], $what_field = 'products_discount_type_from');
    require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_PRODUCTS_QUANTITY_DISCOUNTS));
    require($template->get_template_dir('/tpl_modules_products_quantity_discounts.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_products_quantity_discounts.php');
    }
    $listing->MoveNext();
    ------------------as per Thread 57740 ----------------

    I really like to be able to display like the picture that I just uploaded.

    Much appreciated.... Looked around the forum for 1-2 weeks but no luck. Please help me..
    Attached Images Attached Images  
    Thanks,
    digulu

 

 

Similar Threads

  1. Replies: 17
    Last Post: 19 Feb 2013, 12:45 PM
  2. v139f Turn Off Max Quantity Display In Product Listing
    By suntower in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Mar 2012, 08:03 PM
  3. Display quantity discounts on listing page
    By PRedmond in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Feb 2012, 06:03 AM
  4. Product quantity price discounts & group discounts
    By Richard.Tung in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 11 Jun 2009, 03:24 PM
  5. Replies: 3
    Last Post: 5 Jul 2007, 05:55 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR