I see the example in the documentation about changing templates but it really has no example for using different templates for products.
What I am looking to do is:
Product A use: template A
Product B use: template B
Also what value is the administration interface looking for when it calls for Template Display?
Is the Template Display value the name of the html file?
<bean class="org.broadleafcommerce.common.web.BroadleafThymeleafViewResolver">
...
<property name="fullPageLayout" value="layout/fullPageLayout" />
<property name="layoutMap">
<map>
<entry key="account/" value="layout/accountLayout" />
<entry key="catalog/" value="NONE" />
<entry key="product/" value="product/template_a" /> <---------example of what I am looking to do
<entry key="product/" value="product/template_b" /> <---------example of what I am looking to do
<entry key="checkout/" value="layout/checkoutLayout" />
<entry key="checkout/confirmation" value="layout/fullPageNoNavLayout" />
<entry key="layout/" value="NONE" />
</map>
</property>
</bean>
Any Ideas would be much appreciated!
This forum is in readonly mode and serves as an archive of old information. All posting, registration and commenting abilities have been turned off. To get help, the Broadleaf team reguarly monitors the broadleaf-commerce tag on Stack Overflow so please ask your questions there.