New Landing How can we help? Atelier Remove Product Short Description

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Atelier
  • #191031
    huntingensemble
    Member
    Post count: 318

    Hi Guys,

    I would like to remove the product short description on the single product page.
    Found this link (by WooCommerce). See here
    Link: https://support.woothemes.com/hc/en-us/articles/202814378-How-to-remove-the-Product-Description-from-the-single-product-page-in-WooCommerce

    And should be placed within function.php in theme folder. Tried it but unfortunately with no effect, am I doing something wrong? Other tips?

    Thanks!

    Joost

    #191037
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    We have changed the output of the single product, the files are in atelier/woocommerce

    How come you are trying to remove the short description? Why don’t you just not add any content to it?

    – Kyle

    #191061
    huntingensemble
    Member
    Post count: 318
    This reply has been marked as private.
    #191068
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok then edit the content-single-product.php file in atelier/woocommerce

    – Kyle

    #191132
    huntingensemble
    Member
    Post count: 318

    Ok Thanks Kyle,

    Can you point me in the right direction? If I for example replace rule 164:
    do_action( 'woocommerce_single_product_summary' );

    With the code from Woocommerce, the short description is gone but the add to cart section/select your size as well.

    Any thoughts?

    Thanks again,
    Joost

    #191140
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You should get that code and place it inside the functions.php of the child theme.

    you can’t remove that do_action or almost everything in the single product page will not work.

    -Rui

    #191143
    huntingensemble
    Member
    Post count: 318
    This reply has been marked as private.
    #191151
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    just notice that the code you have is to remove the description tab and not the product short description.

    Try in the Woocommerce support site, they are in better position to help you out with this.

    -Rui

    #191182
    huntingensemble
    Member
    Post count: 318

    Hi Guys,

    I’ve looked in to it and if I add:

    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); at functions.php from child theme it removes the cart, same goes for woocommerce_template_single_meta to remove meta.

    But woocommerce_template_single_excerpt to remove the excerpt which is product short description (see here).

    It doesn’t work. Also tried it in parent functions.php but with no luck.

    #191187
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    follow my advice above, check for they current support topics, that probably was asked before.

    -Rui

    #192928
    spotresponse
    Member
    Post count: 2

    div.container.product-after-summary {display:none;}

    #192929
    huntingensemble
    Member
    Post count: 318

    Hey @spotresponse,

    Thanks for helping out :). Didn’t fixed it unfortunately.

    #193633
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Can you provide a link to a product of yours and an annotated screenshot showing what you want to remove?

    Thanks.

    #193675
    huntingensemble
    Member
    Post count: 318
    This reply has been marked as private.
    #193784
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Ok I think I follow, so to remove the short description, please add this CSS:

    .woocommerce div.product .product-short {
      margin-bottom: 30px;
      display: none;
    }

    Thanks,
    David.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register