Archived topic
Delete prices in some products
20 replies · Started by Jose on May 12, 2020
Hi,
I don't want to show the price, because the site shows and interval and I don't like it, in all the products for the cursos category. For thoose products I am using woocommerce suscription
You can see what I mean in the next link, https://www.noemibustelo.com/categoria-producto/cursos/
Hi there,
Try this CSS:
.term-cursos.woocommerce ul.products li.product .price {
display: none;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps :)
Hi Leo,
No, they still there!
Hi there,
where did you add the CSS?
I tested the code using the developer tools and it worked. Let us know.
I have insert in customize CSS, but I can't see changes...
Can you add it to the top of the CSS in the Customizer > Additional CSS.
Then clear your browser cache.
Nothing, it doesn't work
Can you please disable the Autoptimize cache so i can see what the issue is.
Disabled!
Try adding this code instead - and place it at the very bottom of your CSS:
.term-cursos.woocommerce ul.products li.product .price {
display: none !important;
}
Nothing!
What if you remove this line here?
https://www.screencast.com/t/2gk8JRS4
It's causing a syntax error I believe.
Okey, it works in the shop page, but in the product page the price still there. I don't want to show the price under the tittle, we have different prices for the same product in some cases...
Add this as well:
.single-product .product_cat-cursos p.price {
display: none;
}
Solved!
Thanks!!