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 five best sellers products

[prima_bestsellers_products title="Best Sellers Products"]

Best Sellers Products

Example 2

return six best sellers products in 3 columns ( two rows )

[prima_bestsellers_products title="Best Sellers Products" numbers="6" columns="3"]

Best Sellers Products

Example 3

return four random best sellers products

[prima_bestsellers_products title="Random Best Sellers Products" numbers="4" columns="4" orderby="rand"]

Random Best Sellers Products

Example 4

return four best sellers products with images only

[prima_bestsellers_products title="Nice Best Sellers Products" numbers="4" columns="4" product_saleflash="no" product_title="no" product_price="no"]

Nice Best Sellers Products

Example 5

return four best sellers products with “add to cart” button

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

Buy Now