This PHP code enables you to add a hand coded custom sidebar widget area to a custom WooCommerce single product page template in any Genesis child theme.
Installation simply requires you to upload the woo commerce folder which includes the custom template file to your child themes root directory.
Then you can add a few lines of code to your child themes functions file to register the custom primary sidebar.
Installation and code modification support are provided to all members of WP Sites.
WooCommerce single product page template with custom sidebar for Genesis.
Now you can go to Appearance > Widgets and populate your new custom sidebar which only outputs on WooCommerce single product pages.
Here’s one example tested on the AgentPress Pro child theme by StudioPress.
*Assumes you have activated and setup the WooCommerce plugin and installed the Genesis WooCommerce Connect plugin.
Video Installation Guide for Beginners
This video shows you how to replace the default primary sidebar with your own custom hand coded sidebar widget area to a custom Woo Commerce single product page template in any Genesis child theme.
Leave a Reply
You must be logged in to post a comment.