Support » Plugins » Remove price wocommerrce product page for product variations

  • 0 down vote favorite

    i am relatively new to WP and have had a problem for days now, i am building a site with lots of price variations, but the annoying thing is i have managed to show only the lowest price on the shop pages, but on the product pages the lowest price still shows, and this is before the customer has chosen their variations, i would like to remove the lowest price on the product pages as it is very confusing for customers, i only want them to see a price once they have made their selection, i had a developer work on this but they are not available, here is the code i used to remove the price variations on the shop pages:

    add_filter(‘woocommerce_variable_sale_price_html’,’nyasro_price_fix’,10,2); add_filter(‘woocommerce_variable_price_html’,’nyasro_price_fix’,10,2); function nyasro_price_fix( $price, $woo ) { $price = ”.get_woocommerce_currency_symbol().$woo->get_variation_price().”; return $price;

    hopefully the images are clear on what i need done, and hopefully someone can give me a code that works.

    many thanks

  • The topic ‘Remove price wocommerrce product page for product variations’ is closed to new replies.