• Skip to primary navigation
  • Skip to main content

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

WooCommerce Single Product Hooks

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

Other Hooks

  • Full List of Genesis Hooks

WooCommerce

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.