[Resolved] Product descriptions

Home Forums Support [Resolved] Product descriptions

Home Forums Support Product descriptions

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1528597
    Sam

    Hello, I was wondering if there is a way to place the long description in place of the short description on the woocommerce product page?

    I wondered if it could be done with a hook or something?

    #1528646
    David
    Staff
    Customer Support

    Hi there,

    try this PHP Snippet:

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

    #1533113
    Sam

    Perfect, that works!

    Can you tell me if this snippet is a general one that works with any Woocommerce site or is it exclusive to working with Generatepress?

    Thanks.

    #1533132
    David
    Staff
    Customer Support

    Its a standard Woocommerce function, so should work with any Woo install if a theme or other plugins doesn’t interfere with the templates.

    #1533224
    Sam

    OK great, thanks for letting me know.

    #1533230
    David
    Staff
    Customer Support

    You’re welcome

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