Creating a new product details template?

Hi,



As the tittle suggests I would like to create a new product details template.



Iv’e tried copying and renaming “product_templates/default_template.tpl”

Which works fine up to a point, when I switch to customization mode any product which has my newly created template does not load and gives me a smarty error instead:



Fatal error: Smarty error: [in blocks/product_templates/default_template - Copy.tpl line 137]: syntax error: invalid attribute name: ‘-’ (Smarty_Compiler.class.php, line 1546) in …/lib/templater/Smarty.class.php on line 1095



anyone know what the proper steps are in creating a new template ?



Thanks.

I’m guessing it does not like the " - " in the filename. Try changing it to default_template_copy.tpl instead.

thanks ! now i feel foolish coming to the realization that I failed to read the error message :P.

LOL, don’t stress… The template error messages can be misleading and many times have the wrong line numbers if hooks are used…