Support » Plugin: WooCommerce » Woocommerce – Get dans display description variation product

  • Resolved crush009


    I want to get and display my variation product description after my product image (product-image.php).

    Do you have solution ?


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Rynald0s


    Automattic Happiness Engineer

    Hi @crush009!

    You can do this by unhooking the actions which generate each of the descriptions and rehook them with different priorities, like so:

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

    You’ll find all available single product page hooks here, that you can use to rehook the description:


    Hi @rynald0s, thanks you but I talk about the optionel description for each variation products :

    Plugin Support Thomas Shellberg


    Automattic Happiness Engineer


    This information is found in the template at /templates/single-product/add-to-cart/variation.php.

    The tricky part about this is that it’s added via JavaScript because the details of the variation are loaded asynchronously when a variation is selected.

    Hope that helps!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.