This template enables you to fully customize/modify the default functionality & styling of the WooCommerce single product page.
In this case, 2 custom fields are added on the Edit Product screen which enable you to add custom content :
The custom content outputs before and after the single product add to cart button which in this case is modified to Purchase this item with a icon added before the button text.
A full width custom widget area has also been added after the product summary which includes the Genesis eNews subscribe widget.
You can change the output position using any single product page hook.
Shows custom content added before and after the add to cart button on the single product page in Genesis. Also shows the custom widget area and how the Genesis eNews subscribe widget displays on smaller screens.
Tested using the Genesis Sample child theme by StudioPress.
There are only 2 steps to install the template :
Step 1 : From the download folder, upload the folder named woocommerce to your child themes root directory.
Step 2 : Add the following line of PHP code to the end of your child themes functions.php file.
require_once get_stylesheet_directory() . '/woocommerce/wc-single-product.php';
Register or login to access the download folder :
You can use this code in the single-product.php file to remove related products.
remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_related_products', 20 );