September 10, 2019
Templates allow you to pre create a design using the editor and let your customer design his own product from there. The tutorial below will teach you how to create a template and how to display them to the customer.
There are 3 ways to display your templates using shortcodes:
- To display all existing templates, [wpc-templates]
- To display all templates in a specific category:[wpc-templates cat=”my category name”]
- To display all templates related to one or multiple products: [wpc-templates products=”1, 12, 123″] where 1, 12 and 123 are the IDs of your base products.
Why am I getting the error message “You have to select a customizable product first.”?
That message appears if you use the same page for your customization page, as your product template page. Doing this creates a conflict, because you need two separate pages, one for your customization page, and the other for your product template page.
It is recommended that you create another page that will be used to display the templates of your product e.g. “Product Designer Badge”, and place the shortcode [wpc-templates] that will displate the generated templates.