WooCommerce - excelling eCommerce
Need Help With Woocommerce Hooks - Moving Title and Shor (2 posts)

  1. mattmikulla
    Posted 3 years ago #

    Modifying Woocommerce templates is fine but I have found that to actually move the output of certain elements around I need to use hooks.

    I am trying to understand how to use hooks but am struggling. Examples would really help. Bare with me. I am learning.

    I am trying to achieve the following.

    • Move the product title to right above the main product image
    • Move the short description/excerpt to right above the tabs

    Anyone know how I might properly achieve this while still retaining the schema.org markup?


  2. mattmikulla
    Posted 3 years ago #

    Ok. I think I figured it out.

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    add_action( 'woocommerce_after_single_product_summary', 'woocommerce_template_single_excerpt', 5 );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic