Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38499
    Profile photo of Mika Koivunen
    Mika Koivunen
    Participant

    Any idea how to get ftp import to write description data to short description field? This would be possible to change in settings. I think it could be quite nice to select which way it is shown in front-end.

    If someone have modified it, I like to know how to do it.

    #38512
    Profile photo of Mika Koivunen
    Mika Koivunen
    Participant

    This was quite easy. I just add these lines to themes function.php file.

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_excerpt', 20 );
    
    add_action( 'woocommerce_single_product_summary', 'ta_the_content' );
    
    function ta_the_content() {
            echo the_content();
    }
    
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.