Forums / Setting Up Categories, Products, Attributes / Attribute listing in new Product Type

Attribute listing in new Product Type

Locked

Views: 2,064

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
2 Oct 2007, 4:14 AM
#1
carolight avatar

carolight

New Zenner

Join Date:
Aug 2007
Posts:
27
Plugin Contributions:
0

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 :lookaroun

2 Oct 2007, 7:49 AM
#2
carolight avatar

carolight

New Zenner

Join Date:
Aug 2007
Posts:
27
Plugin Contributions:
0

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!