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

10 thoughts on “Woocommerce shortcodes”

  1. Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

  2. Today, I went to the beach with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is totally off topic but I had to tell someone!

  3. Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?

Leave a Comment

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