WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This has most probably been asked before, but I really need to show WooCommerce products in my template, but I don't know what hooks to add where. It's my first time working with WooCommerce.

Can anybody maybe help me out? Quick step by steps of the process are all I'm asking? And a little more advice would be greatly appreciated.

Also, just a URL explaining the complete process would be bonus, as I can't find anything on the net at the moment.

share|improve this question
up vote 4 down vote accepted

Generally, Woo is integrated by the use of shortcodes in pages. This is to say, if you want a page to have the cart, create a "Cart" page and put the [woocommerce_cart] shortcode in the content. In fact, Woo adds two new buttons to your WYSIWYG editor to insert the shortcodes for you! This wouldn't be a very good standalone plugin if it required theme editing just to function. While you can hook directly into the theme, it's not necessary - nor is it really advisable, since you may want to change themes without rewriting all your custom hooks.

share|improve this answer
Thank you so much! I really didn't know what to do. You have pointed me in the right direction. – Anriëtte Myburgh May 18 '12 at 10:07
Do you know of a way to have WooCommerce recreate the shop pages for you without having to re-install the entire plugin? – Anriëtte Myburgh May 25 '12 at 11:40
Check this thread here: wordpress.stackexchange.com/questions/33713/… – SickHippie May 25 '12 at 16:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.