1. Home
  2. Woocommerce Section
  3. Product Shortcode

Product Shortcode

To allow you displaying products in a custom page (e.g: homepage) , we provide a product slider shortcode in the theme.

GIF

to add your slider you can click on the shortcode button from your WYSIWYG editor

 

 

 

 

 

 

 

when clicking the button the text area will generate this shortcode:

[product_slider title="Your Title" cat="product category slug" columns="12"]

you can adjust the content of the slider by changing :

product_slider title= Add title to your shortcode, this will appear above your product slider

cat= write one of your category slug to populate from a specific category. You can leave it empty to display products from all categories

columns=set the number of product in a slider.