WooCommerce - excelling eCommerce
WooCommerce - Removing the "From $0" from a grouped product page. (2 posts)

  1. ihuckdisc
    Posted 2 years ago #

    I am trying to remove the "From: $X" designation from a grouped item page. I can't seem to find the right place to get rid of both the "From:" and the dollar amount there. I have tried adding things to the style.css, but I am not sure how to properly annotate this, or where to actually put the code. There have been a few other threads trying to do this, but I am not actually trying to modify the word "from" or hide all prices - I only want to get rid of the "from" line. Is there a place to do it in the template?

    Additionally, I know that it is using html5 microdata to label it as an offer", but I am not sure how to hide the whole "offer" block.

    Any help would be fantastic.


  2. emanielc
    Posted 2 years ago #

    Had the same question...so spent many hours searching the forums and internet for a solution. I didn't like the "From :" or the "$ " displayed on my grouped products. Finally, I stumbled upon a solution...hopefully this will help you also :

    Update the function get_price_html() in Woocommerce\classes\Update class-wc-grouped.php as follows :

    // return apply_filters( 'woocommerce_get_price_html', $price, $this );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic