These hooks enable you to add content to WooCommerce single product pages.
You can see the hooks included in the woocommerce > single-product.php template file for use when using Genesis templates and WooCommerce.
You can copy over this file to your Genesis child theme and modify the hooks in the file, add more hooks and delete any default hooks.
woocommerce_before_main_content
woocommerce_before_single_product
woocommerce_before_single_product_summary
woocommerce_single_product_summary
woocommerce_before_add_to_cart_form
woocommerce_before_variations_form
woocommerce_before_add_to_cart_button
woocommerce_before_single_variation
woocommerce_single_variation
woocommerce_after_single_variation
woocommerce_after_add_to_cart_button
woocommerce_after_variations_form
woocommerce_after_add_to_cart_form
woocommerce_product_meta_start
woocommerce_product_meta_end
woocommerce_share
woocommerce_after_single_product_summary
woocommerce_after_single_product
woocommerce_after_main_content
Leave a Reply
You must be logged in to post a comment.