Archived topic
Few changes in woo commerce needed
5 replies · Started by Diane on December 6, 2020
I use generate press for a few years now and it and this forum never disappoints me.
I want some changes made into the woocomerce pages can you guys help me?
1. If an item is sold out I want the price to not to be shown or automatically changed into 0,00 is that possible? or do i have to set this myself overtime an item is sold?
2. I want the col in mobile appearance to be set to 2 but it's only possible in 1 (in the customize).
3. I don't want to have the: "read more" or "add to cart" buttons to be shown anywhere. not on the main page and not on the category archive pages.
can you help me?
my site: http://www.zoetleven.nl
Hi there,
1. Try this CSS:
.outofstock .price {
display: none;
}
2 and 3 can both be set in the Customizer > Layout > Woocommerce:
https://docs.generatepress.com/article/woocommerce-overview/
If those options are not working then, disable any other plugins apart from GP Premium to check for conflicts.
it's working but only on the singles pages not on the category pages i want it to run everywhere.
Edit David's CSS to this:
.outofstock .price {
display: none !important;
}
Let me know if this helps :)
works like a charm:)
Glad to hear :)