Remove variable pricing on woocommerce shop page

Hi There,

my site is www.wunderkid.co
I’d like to make it so that when you click on the shop page, there is no pricing listed for products (currently variable products are showing a number-) I’d like it to not show any number at all like my non-variable product items.
https://www.wunderkid.co/shop-art

I’d like to make it so that the shop page doesn’t show any products and then when you click on a variable item, it shows the pricing for the lowest item as $39.00 and then you can dropdown the menu to select larger pieces. . i.e. at this link
THANKS!

Hello Denise,

Thanks for writing in!

To resolve your issue, please add the following CSS code in the X > Theme Options > Global CSS (http://prntscr.com/evui3r)

.woocommerce .price {
    display: none;
}

.woocommerce .woocommerce-variation-price .price {
    display: block;
}

We would loved to know if this has work for you. Thank you.

Thanks for that. The code did remove the pricing on the shop homepage. It didn’t however fix the pricing on the individual product page. I’d like it to default to the most inexpensive item, so that when the customer clicks on the item, it shows only the lowest price and variable option. Then, they could use the dropdown menu to select enhanced options. Please advise :wink: Thanks!

1 Like

Hello @StopAndDance,

Please check out this links:


https://wordpress.org/support/topic/show-default-variations-price-only-when-it-is-set/

Please note that custom coding is outside the scope of our support. Issues that might arise from the use of custom code and further enhancements should be directed to a third party developer.

Hope this helps.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.