How easy is it to specify a product template in a 8.1.3 Page Template? I read somewhere that you can override the assign product template, or avoid having to assign these and apply the product template in the page. This seems like it would be nice since I would like to create a variety of display pages for different parts of the site.
Thanks
Rich
PS - I am firing off a bunch of questions that have ended up on my todo list...
Setting product template to use in Page template?
-
- Posts: 47
- Joined: Tue Oct 23, 2007 2:12 pm
-
- Site Admin
- Posts: 4953
- Joined: Fri Aug 04, 2006 1:42 pm
- Location: Utah
In the [-- Loop Products --] section you would normally use [-- Product --] which will use the products assigned template. If you want to override that template so all products on the page use the same template you use the tag [-- PRODUCT template --] where "template" is the template that you want the products to all use.
so you would have something like
[-- LOOP PRODUCTS --]
[-- PRODUCT template --]
[-- END_LOOP PRODUCTS --]
so you would have something like
[-- LOOP PRODUCTS --]
[-- PRODUCT template --]
[-- END_LOOP PRODUCTS --]