Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Different text shown based on quantity on product page

    I tried to code it myself, but it all went wrong...

    What I'm trying to do is modify the code relating to TEXT_PRODUCT_QUANTITY

    I would like it so that if the quantity of an item is 0 then it would use the text define TEXT_PRODUCT_NOSTOCK

    if the item had between 1 and 5 things in stock it would use the define TEXT_PRODUCT_LOWSTOCK

    and if it had more than 5 in stock it would just use the
    TEXT_PRODUCT_QUANTITY define

    I can't get my if statements to work, can anyone help me modify the tpl_product_info_display.php file?

  2. #2
    Join Date
    Mar 2009
    Posts
    609
    Plugin Contributions
    0

    Default Re: Different text shown based on quantity on product page

    YAY I did it, not to worry :)


 

 

Similar Threads

  1. v155 Add text attribute boxes based on quantity ordered
    By badarac in forum General Questions
    Replies: 3
    Last Post: 27 May 2016, 03:38 PM
  2. Hiding Text Links on Categories Shown on Main Page
    By lindsey80 in forum Basic Configuration
    Replies: 3
    Last Post: 8 May 2012, 06:52 PM
  3. Different shipping methods based on quantity
    By falariem in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 19 Aug 2011, 12:06 AM
  4. Product quantity based shipping rates
    By sikotik2 in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 8 May 2009, 05:34 PM
  5. different prices based on quantity
    By liveaday in forum General Questions
    Replies: 4
    Last Post: 2 Jun 2006, 02:13 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