How did you incorporate WooCommerce in your own WordPress theme?

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.

Leave a Comment