You can set all of WooCommerce pages including all product pages to be full width content inside of a Genesis Theme by adding a function and filter to your functions.php file.

View the code on Gist.

So in the above the WooCommerce shop, cart and checkout pages are targeted in an array plus the custom post type ‘Products’ which is the page type all the products are used for output.

Similarly if you wanted to add a sidebar to all the WooCommerce pages you would use:

View the code on Gist.

Or alternatively use the other layout options in the return

  • content-sidebar-sidebar
  • sidebar-sidebar-content
  • sidebar-content-sidebar

Also make sure you are using the Genesis Connect for WooCommerce Plugin.

Here is some further info on selecting the various WooCommerce pages with PHP conditional statements.

Share:

Leave a Reply