Default welcome message to get attention!

Use PrimaThemes coupon code to save you 15% off on your order.

Shop Now!

Products Shortcode

Available Parameters

title: Title of this shortcode
numbers: Numbers of products to show
columns: Numbers of columns per row
orderby: ID, title, date (default), modified, rand, comment_count, menu_order
order: ASC, DESC (default)
image_width: default = Catalog Images width in WooCommerce Settings
image_height: default = Catalog Images height in WooCommerce Settings
image_crop: yes / no, default = Catalog Images hard crop in WooCommerce Settings
product_saleflash: yes (default) / no : Show product sale flash
product_title: yes (default) / no : Show product title
product_price: yes (default) / no : Show product price
product_button: yes / no (default) : Show add to cart button

Example 1

return four latest products

[prima_products title="Latest Products"]

Latest Products

Example 2

return six latest products in 3 columns ( two rows )

[prima_products title="Latest Products" numbers="6" columns="3"]

Latest Products

Example 3

return four random products

[prima_products title="Random Products" numbers="4" columns="4" orderby="rand"]

Random Products

Example 4

return four products with images only

[prima_products title="Nice Products" numbers="4" columns="4" product_saleflash="no" product_title="no" product_price="no"]

Nice Products

  • 4.00 out of 5
  • 5.00 out of 5
  • 5.00 out of 5
  • 5.00 out of 5

Example 5

return four products with “add to cart” button

[prima_products title="Buy Now" numbers="4" columns="4" product_button="yes"]

Buy Now

Example 6

return four latest products with custom image size (portrait style)

[prima_products title="Latest Products" image_width="150" image_height="225"]

Latest Products

LIVE PREVIEW