Using a template¶
The easiest way to use a custom template is by choosing it in the settings tab of the Product Picker. This will automatically create the right shortcode option for you.
Let’s say you have three custom templates:
Now open the Product Picker by clicking the ASA2 editor button. After you have selected a product or collection, you can select a template from the dropdown menu “Templates” on the “Shortcode” tab which opens automatically after selecting a product.
After clicking the button “Insert shortcode”, the shortcode will be generated and inserted into your post. The selected template will be included with the option
tplid (see tplid).
It is recommended to use the template ID as this allows to change the template name afterwards without having to change the shortcode option. But if you prefer to use the template name, you can select the option “Use template name” in the Product Picker settings:
You can manually use a custom template in all ASA2 Shortcodes.
This can easily be done by using one of the options
Again let’s say you have these three templates:
If you want to use the template “LEGO_minifigure” with a collection, you can use the option
tplid with the template ID like so: