Woocommerce shortcodes

Cart:
[woocommerce_cart]
Checkout:
[woocommerce_checkout]
My Account
array(
     'current_user' => ''
 )
Order Checking Form
[woocommerce_order_tracking]
Display four random products on sale products
[products limit="4" columns="4" orderby="popularity" class="quick-sale" on_sale="true" ]
Display featured products, two per row, with a maximum of four items
[products limit="4" columns="2" visibility="featured" ]
Display three top best selling products in one row
[products limit="3" columns="3" best_selling="true" ]
Display the newest products first – four products across one row
[products limit="4" columns="4" orderby="id" order="DESC" visibility="visible"]
Display hoodies and shirts, but not accessories, use two rows of four
[products limit="8" columns="4" category="hoodies, tshirts" cat_operator="AND"]
Display products not in those categories
[products limit="8" columns="4" category="hoodies, tshirts" cat_operator="NOT IN"]
Show three products per row, displaying all of the “Spring/Summer” items
[products columns="3" attribute="season" terms="warm" orderby="date"]
Display exclusively cold weather products
[products columns="3" attribute="season" terms="warm" terms_operator="NOT IN"]
Show only products with tag “hoodie”
[products tag="hoodie"]
Show top level categories only
[product_categories number="0" parent="0"]
Source: Shortcodes included with WooCommerce

2 thoughts on “Woocommerce shortcodes”

Leave a Comment

Your email address will not be published. Required fields are marked *