Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Product Type Info Page Layout Options Not Working in Custom Template

    I am having trouble getting the quantity in stock to display on product info page. Show Quantity In Stock is set to true, but the quantity is not being displayed.

    I switched to Contemporary Green Template and the options are working there.

    The options for both templates are identical.

    It's not just the quantity setting that isn't working.
    Show Model Number doesn't work.
    Show Weight and Show Manufacturer work.

    What file should I look at?

    Thanks

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Product Type Info Page Layout Options Not Working in Custom Template

    A link to see the problem?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Re: Product Type Info Page Layout Options Not Working in Custom Template

    Sorry. Forgot the link.

    http://www.magicfoxden.com

  4. #4
    Join Date
    Oct 2006
    Location
    New Jersey, USA
    Posts
    118
    Plugin Contributions
    0

    Default Re: Product Type Info Page Layout Options Not Working in Custom Template

    I solved my problem.

    Using Developer's Tool Kit, I worked my way through and found that the code for the display of the qty in stock was in tpl_product_info_display.php.

    I compared the default and my custom templates.

    I found that the lines for qty and model number were commented out.

    I vaguely remembered that I commented them out way back when I didn't know how to get rid of them via admin.

    So, I uncommented(?) them and I can control the display via admin.

    Now, off to slay another dragon.

 

 

Similar Threads

  1. Adding a new Product Type Info Page Layout options :: Product - General
    By bn17311 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Aug 2010, 06:42 PM
  2. template_func.php not working on custom template front page
    By bazfr in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Aug 2008, 02:17 AM
  3. template_func.php not working with custom product type
    By dbrewster in forum Bug Reports
    Replies: 11
    Last Post: 28 Sep 2006, 04:20 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