Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2005
    Location
    TN
    Posts
    94
    Plugin Contributions
    0

    Default Adding words after Product Quantity?

    I would like to add the words "lbs Left" after the display of the quantity of products.
    We sell closeout fragrances and I would just like to have it very clear that the number listed means how many pounds we have left of the product in stock.

    Anyone know how this could be done?

    I have attached an image of how it looks now and how I want it to look if that helps.

    Thank You
    Bubba

    Name:  lbs_left_example.jpg
Views: 106
Size:  29.9 KB

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

    Default Re: Adding words after Product Quantity?

    A quick answer would be to edit the tpl_products_all_default.php in the yourtemplate/templates directory BUT there are so many variables in play here. Not the least of which is, "Are ALL your products measured in pounds?"
    You failed to answer any of the posting tips AND you didn't even answer the basic "What version of Zen Cart?"
    We need more info and a look at the cart (READ THE *NOTE BEFORE POSTING A LINK).

  3. #3
    Join Date
    Apr 2005
    Location
    TN
    Posts
    94
    Plugin Contributions
    0

    Default Re: Adding words after Product Quantity?

    Sorry. That info was always in my signature (As in your "reminders"). Have no idea why it isn't there anymore. Can't find where to add it in my profile either

    Using version 1.5 and yes EVERYTHING is in Pounds.

  4. #4
    Join Date
    Apr 2005
    Location
    TN
    Posts
    94
    Plugin Contributions
    0

    Default Re: Adding words after Product Quantity?

    At least I found where to update my signature (I think)
    Using version v1.5.7b

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,159
    Plugin Contributions
    11

    Default Re: Adding words after Product Quantity?

    Under Forum Actions in the menu bar above will get you to your sig.
    Meanwhile, 1.5.0 or 1.5.1, custom template, upgraded? Etc.
    If customized, does your custom template have a tpl_products_all_default.php in its templates directory?
    If it does, you will need to carefully modify it to make sure nothing placed there by another mod is not munged.
    If it does not, you can change
    <div id="allProductsListingTopNumber" class="navSplitPagesResult back"><?php echo $products_all_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS_ALL); ?></div>
    to
    <div id="allProductsListingTopNumber" class="navSplitPagesResult back"><?php echo $products_all_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS_ALL , ' lbs left'); ?></div>
    I have not tested this on a test site, but it should work.

  6. #6
    Join Date
    Apr 2005
    Location
    TN
    Posts
    94
    Plugin Contributions
    0

    Default Re: Adding words after Product Quantity?

    Sorry... That didn't work.
    Yes I have a custom template and no there was no such file in my templates

    Here is the link to the page where I want the lbs. Left to be displayed if that helps

    http://tradewindsfragrance.net/index...ex&cPath=21_28
    Using version v1.5.7b

  7. #7
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,159
    Plugin Contributions
    11

    Default Re: Adding words after Product Quantity?

    Now we know you're using it in a category display versus product, we can get closer. Item eight down the list of Posting Tips. Knowledge is power.
    SO.... There are only 10 tons of Aquamarine left?
    Will have to look at this later, but setting text based on a specific category is doable as well.
    Anyone else is free to jump in.

  8. #8
    Join Date
    Apr 2005
    Location
    TN
    Posts
    94
    Plugin Contributions
    0

    Default Re: Adding words after Product Quantity?

    Well I did post the image.
    All I need is what I said... lbs left

    Once I get this up the products will be split (Colors vs Fragrance) in to two different sites as both have been sold off to other companies.
    I just need a simple "lbs. Left" that is all... nothing less, nothing more.
    Using version v1.5.7b

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

    Default Re: Adding words after Product Quantity?

    Well, let's see:
    1. Never really answered posting tips.
    2. Title of the thread said nothing about where the Product Quantity was that needed the addition.
    3. Took four hours of haggling to get enough information to even come close to a solution or where one might be.
    4. Thought that an image could tell us all the php coding going on in the background or that it would inform us as to the actual page needing a fix.
    5. Finally declared that it's simple and implied that my questions were irrelevant.


    As the commercial says, "Priceless".

    As I said in the earlier post, This simple volunteer is simply not able to devote simple time to this simple problem till later this evening. And, any other simple volunteer is welcome to simply take over until then.

  10. #10
    Join Date
    Apr 2005
    Location
    TN
    Posts
    94
    Plugin Contributions
    0

    Default Re: Adding words after Product Quantity?

    Sorry for asking a question on a help forum!
    I won't make that mistake again... I promise.
    Using version v1.5.7b

 

 
Page 1 of 2 12 LastLast

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

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