Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2007
    Posts
    27
    Plugin Contributions
    0

    Default Attribute listing in new Product Type

    I have created a clone of the Product Type Musical, and it all seems to be working fine EXCEPT:

    my tpl_product_handlername_info_display.php is being executed OK.

    To display the product attributes, I want a different tpl file to be used. I have changed the attribute require in the above file to be:

    require($template->get_template_dir('/tpl_modules_handlername_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_handlername_attributes.php'); ?>

    but it only executes tpl_modules_attributes.php.

    Where is tpl_module_attributes called from?

    I know that it's executing my info_display, because if I add 'x' to the line before the require, it crashes. However, I can put require('x'), and it does not complain. I don't understand

  2. #2
    Join Date
    Aug 2007
    Posts
    27
    Plugin Contributions
    0

    Default Re: Attribute listing in new Product Type

    Gosh darn - it's because I have Tabbed Products Lite installed.

    I will have to check my product type in the code in there.

    I am so amazed by this code, how it all fits together - I don't know enough php to poke a stick at, yet I still feel that I can accomplish an amazing site (eventually).

    No repy needed!

 

 

Similar Threads

  1. Book Product Type - Product Listing Showing Manufature instead of Publisher
    By Beau91324 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Oct 2009, 11:39 PM
  2. Add new Attribute Option Type
    By wow11111 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 May 2009, 07:30 PM
  3. Adding Additional Attributes to Product Listing from Custom Product Type
    By Bigman in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 12 Aug 2008, 04:29 PM
  4. Create a new product type to allow specific refining of product listing?
    By dumoti in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 15 Jun 2007, 05:07 PM

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