This function generates the current template tag to be applied to the page.


[%viewby type:'products'/%]


The above result would print gallery by default, which is Neto's default name for the template.html thumbnail template. You can change this by either changing the config for the default view type in the webshop config or javascript for having the customer change it in the session like so:



Name Options Description
type:'' products Specifies the type of content you are loading the default template for, currently products is the only option.
value:'' gallery, list By default it loads the DEFAULT_THUMBVIEW webshop config, but can be forced to load specific values.

Was this article useful?

Be notified when this page is updated. Optional.