Setting product template to use in Page template?

General ShopSite user discussion
Post Reply
8900200
Posts: 47
Joined: Tue Oct 23, 2007 2:12 pm

Setting product template to use in Page template?

Post by 8900200 »

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

Post by Jim »

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

Post by 8900200 »

Awesome - thanks Jim.

Rich
Post Reply