I need long description insert to short description or long description display under short description.
But description up above cart.
Can you help me with this problem?
My function (my frist custom function ):
add_filter( 'woocommerce_short_description', 'x_description_in_short_description' ); function x_description_in_short_description(){ if( is_product() || is_cart() || is_checkout() || x_is_product_category()){ $heading = apply_filters( 'woocommerce_product_description_heading', __( 'Description', 'woocommerce' ) ); if ( $heading ) : esc_html( $heading ); endif; the_content(); } }
Not right because when I have variables with product are display twice description. Can you help me?