Setting product template to use in Page template?

General ShopSite user discussion

Setting product template to use in Page template?

Postby 8900200 » Wed Oct 31, 2007 6:40 am

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...
8900200
 
Posts: 47
Joined: Tue Oct 23, 2007 2:12 pm

Postby Jim » Wed Oct 31, 2007 8:10 am

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 --]
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby 8900200 » Wed Oct 31, 2007 8:29 am

Awesome - thanks Jim.

Rich
8900200
 
Posts: 47
Joined: Tue Oct 23, 2007 2:12 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 105 guests

cron