Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,528
    Plugin Contributions
    127

    Default Re: Adding words after Product Quantity?

    Try looking at includes/modules/YOUR_TEMPLATE/product_listing.php
    (If it's not there, copy it from includes/modules/product_listing.php).

    Look at the block that prints

    case 'PRODUCT_LIST_QUANTITY':
    $lc_align = 'right';
    $lc_text = $listing->fields['products_quantity'];
    break;

    try changing the setting of $lc_text to what you want.

    $lc_text = $listing->fields['products_quantity'] . " lbs. left";
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  2. #12
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,697
    Plugin Contributions
    11

    Default Re: Adding words after Product Quantity?

    1.5.0 will look slightly different as it now uses defines
    case 'PRODUCT_LIST_QUANTITY':
    $lc_text = TABLE_HEADING_QUANTITY;
    $lc_align = 'right';
    $zc_col_count_description++;
    break;
    Could a fix be
    case 'PRODUCT_LIST_QUANTITY':
    $lc_text = (TABLE_HEADING_QUANTITY , ' lbs Left');
    $lc_align = 'right';
    $zc_col_count_description++;
    break;
    Or is that code incorrect?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,528
    Plugin Contributions
    127

    Default Re: Adding words after Product Quantity?

    It is incorrect. That code manages the table headings. My post shows the required changes.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #14
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,697
    Plugin Contributions
    11

    Default Re: Adding words after Product Quantity?

    Correct! Didn't scroll down far enough
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Adding + and - quantity buttons to product quantity fields
    By izzysoup in forum General Questions
    Replies: 5
    Last Post: 28 Aug 2014, 09:11 AM
  2. How do i add addition photo or words after in the main page after feature products?
    By sgspeer in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Aug 2010, 07:16 AM
  3. Refresh quantity after adding to cart in product listing
    By chenhsun in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 23 Jun 2008, 07:33 AM
  4. adding words after price
    By partyparcels in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 20 Jan 2008, 06:57 AM

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