• Virtue free theme

    I have turned off the tabs section which shows the product description in woocommerce.

    So is there a way to take the product description and have it appear in the short description field.

    Not sure whether this question is a theme related one or woocommerce one or maybe it is both.

    Can anyone assist please.

Viewing 3 replies - 1 through 3 (of 3 total)
  • hannah

    (@hannahritner)

    Hi,
    Does it work for you to paste your product description in the short description box from the product edit page?

    Hannah

    Thread Starter nzcid

    (@nzcid)

    Hey Hannah

    Yes it does work by doing it manually but I am looking at a way to have this done on import of the products.

    Hey,
    you would need to installed a chid theme: http://www.kadencethemes.com/child-themes/

    Then add a function to unhook the description from the tabs:

    add_filter( 'woocommerce_product_tabs', 'kt_wc_remove_description_tab', 11, 1 );
    function kt_wc_remove_description_tab( $tabs ) {
        if ( isset( $tabs['description'] ) ) {
            unset( $tabs['description'] );
        }
    }

    Then hook it into the short description area:

    add_action( 'woocommerce_single_product_summary', 'kt_woocommerce_template_single_content', 20 );
    function kt_woocommerce_template_single_content() {
    the_content();
    }

    Hope that helps!

    Kadence Themes

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Short Descriptions’ is closed to new replies.