Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Issue with Adding Multiple fields to product display. Works on listing but not produc

    Hello,

    I have searched the forums and wasn't able to find an exact answer to what I needed. I did find the option to add a single text field to the product though. I used that and edited it to allow me to add three new fields to the products. It works 90%

    I have it so that I can enter the values through the admin and it shows up on the listing page for the category. See this link below and you will notice the first product has a 'shank' 'diameter" and 'flute value"....this part works great

    http://vermontindexable.com/indexabl...091feed993a3c6

    BUT, i am unable to get those values to show up on the product display page. I can ONLY get the value for the very first one to show up BUT I have the exact same code for the second one. Any ideas?

    Here is my code that is in tpl_product_info_display.php

    HTML Code:
    Diameter: <?php echo ($products_short_desc4); ?>
    
    <br>
    Shank:    <?php echo ($products_short_desc); ?>

    As you can see from this link the Shank value shows up but not the Diameter value--- but it does show up on the listing page? Using the same field name products_short_desc4)

    http://vermontindexable.com/indexabl...091feed993a3c6

    thank you in advance

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Issue with Adding Multiple fields to product display. Works on listing but not pr

    You seem to have corrected this
    Would you post your solution so that others finding this thread will find it
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2008
    Posts
    274
    Plugin Contributions
    0

    Default Re: Issue with Adding Multiple fields to product display. Works on listing but not pr

    Quote Originally Posted by kobra View Post
    You seem to have corrected this
    Would you post your solution so that others finding this thread will find it
    thanks, just figured it out. I had to add the new items to the template_vars file. Added that and it fixed it

 

 

Similar Threads

  1. v154 Issue with adding multiple product image
    By carlman in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 17 Mar 2016, 02:22 PM
  2. v150 Display price, but not add to cart in Product listing
    By mattkosterweb in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 12 Mar 2012, 06:34 PM
  3. Issue with Multiple Taxes - Only one works
    By WellCool in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 20 Jun 2011, 02:39 PM
  4. Adding multiple product fields
    By miguelito in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 17 Jun 2011, 08:32 PM
  5. Alignment issue on product listing with additional fields
    By Meers007 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 21 Aug 2009, 10:12 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