Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Custom product display not working

    Hi. I can not get my site to load the custom product display for a new product type. No matter what changes I make to my set up it always displays the product using the default tpl_product_info_display instead of the custom tpl_product_upload_info_display.php file that I have created.

    URL: http://dowdlefolkart.com/store/index...roducts_id=409

    Thanks for any input on this.

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

    Default Re: Custom product display not working

    The file "tpl_product_upload_info_display.php" is not part of the deault fileset...where and how have you specified that this is the file to use for a page display??

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

    Default Re: Custom product display not working

    Thank you for your reply.

    I am trying to make a product display file for a new product type called upload. The prefix for all of the product type files is product_upload. I think that the correct naming convention to build a display file for this product type is to create a file called tpl_product_upload_info_display.php as an override for the file tpl_product_info_display.php, but the file is not recognized.

    If this is not the right place to customize the product info page appearance where should I look?

    Thanks.

  4. #4
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Custom product display not working

    Okay I kind of figured this out.

    I still do not know which file actually points the browser at my custom product info page, but I know which folder it is in. I selected the entire folder for my custom page under modules/pages and did a find for every reference to the default product_info page and replaced them all with the name of my custom product_uploads_info page. It seems to be working great so far.

    Kind of like using a bazooka to kill a mouse, but sometimes you get in a bit of a hurry.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Custom product display not working

    tpl_product_upload_info_display.php as an override for the file tpl_product_info_display.php, but the file is not recognized.
    Overrides are the SAME file name (edited) and in a folder named as your template name.

    Additionally, in that new folder you can create other folders named for the default page name and place individual page overrides in them BUT these are still named the same as the default.

    i.e.

    Code:
    my_template
          |
           common(contains global page overrides)
                  |
                   tpl_header.php
    
          |
           index (contains index or home page only overrides)
                  |
                   tpl_header.php
    So if you have a new page name working for your product type- check the browser for what the page name being parsed is and proceed accordlingly.

  6. #6
    Join Date
    Aug 2008
    Posts
    4
    Plugin Contributions
    0

    Default Re: Custom product display not working

    Thanks for the reply. I will try to set it up like this and see if it works for me.

 

 

Similar Threads

  1. custom content i added on the product page not working...
    By oberheimer in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Aug 2011, 09:43 AM
  2. Custom "Add To Cart" button not working with attributes in product listing
    By DrLivingston in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 7 Dec 2009, 10:09 PM
  3. Display Product Add to Cart Button Not Working
    By embreak in forum Basic Configuration
    Replies: 8
    Last Post: 25 Jan 2008, 07:36 PM
  4. Product Type Info Page Layout Options Not Working in Custom Template
    By johnd in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Aug 2007, 04:09 PM
  5. 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