WordPress.org

Support

Support » Plugins and Hacks » How to delete "product short description" from product pages?

How to delete "product short description" from product pages?

  • I would like to use the product short description on my “All products” page only. I don’t want the short product description to show on the product page itself.

    Can someone give me some code (and tell me where to insert it) to delete or not display the Product Short Description on the product pages?

    I tried the following in the Custom CSS box of the theme options:

    /* Dont display product short description on the product page*/
    .single-product .summary div[itemprop=”description”] {
    text-align: -9999px;
    }

    but it did not work.

    http://wordpress.org/extend/plugins/woocommerce/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try to add below line at your theme functions.php file:

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

    Hi:

    i want to remove the short description but not inside the product as you says, I want to delete the short description that appears before entering the product information, you have the little image, the tittle the short description and the button add to cart, can you tell me hoy to delete that? thank you so much.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to delete "product short description" from product pages?’ is closed to new replies.