ProductX

  1. Home
  2. Docs
  3. ProductX
  4. Addons
  5. Saved Templates Addon (Shortcode)

Saved Templates Addon (Shortcode)

The ProductX WooCommerce Builder Plugin features excellent Shortcode support to make your life easier. And all our shortcodes support page builders like Elementor, Divi, Beaver Builder, Visual Composer, etc.

Enabling Shortcodes

In order to enable shortcodes, you need to do the following:

  • Go to ProductX>Addons from your WordPress dashboard.
  • Enable the ‘Saved Templates’ addons [It should be enabled by default, if not make sure to enable it before using shortcode templates].
Turning ON the Saved Templates Addon
Turning ON the Saved Templates Addon

Once enabled, you’ll find the ‘Saved Templates’ option in the ProductX menu of your WordPress dashboard. From here, you can ‘Add New Template’. Once you save and ‘Publish‘ the template, the shortcode will appear automatically for you to use.

Here’s how it’s done:

  • Go to ‘Add New Template’ from the ProductX ‘Saved Templates’ settings.
  • Create your template.

Note: This is the redesigned version of the ProductX Saved Templates. You can create new templates using the “Add New” button. The shortcode is now visible and can be copied with one click (Or you can use the “CTRL+C” to copy the shortcode. You can choose selected options from the dropdown and apply that action to the selected templates.

The ProductX Saved Templates Dashboard
The ProductX Saved Templates Dashboard
  • Once you’re done creating your template, hit ‘Publish’.
  • Now go back to the ‘Saved Templates’ page.

Note: Here we created a shop template and published it. We made some changes to it and updated it.

Shop template creation as saved template
Shop template creation as saved template

You will now see the shortcode appear under the ‘Shortcode’ section. You can copy this shortcode and paste it to a WordPress page/shop post.

Using the Shortcode

In order to use this shortcode:

  • Copy the shortcode from the ‘Saved Templates’ section of ProductX.
  • Now create a page by going to Pages>Add New or open an existing page.
Copying the shortcode for use on a page
Copying the shortcode for use on a page
  • Search for ‘Shortcode’ in the Gutenberg Editor.
  • Paste the shortcode.
Publishing a page with the shortcode
Publishing a page with the shortcode
  • Now publish the page/preview the page.

You will now see the template in the page. From now on, you can create a template and use the shortcode in any page you like. Here’s a preview of how the page looks:

Final Output
Final Output

Using Shortcodes with Elementor

You can also use this shortcode with the Elementor WordPress page builder as well. All you have to do is insert the ‘Shortcode’ element to a section and paste the shortcode. Once done, you can see the preview and publish the page.

Elementor shortcode implementation with ProductX Saved Templates
Elementor shortcode implementation with ProductX Saved Templates

***Settings may be different because of the WordPress version installation on different devices. You can use the saved templates settings with Divi, Beaver Builder, Visual Composer, and other popular page builders as well.

Was this article helpful to you? Yes No 1