Tagged: Hide, price, prices, woocommerce
-
AuthorPosts
-
December 6, 2018 at 10:00 am #1041552
Hi
how are you today?Simple question regarding woocommerce. How to hide prices on shop overview but to keep them on single product page?
Thanks in advance!
December 6, 2018 at 12:15 pm #1041603Hey elzevir,
I am fine today, how are you?
Could you link to the page where you want to hide the prices so that we can have a closer look please?
Best regards,
RikardDecember 6, 2018 at 12:27 pm #1041612Fine as well, thanks! :)
I want to hide prices on this page:http://www.e-medacademy.pl/sklep/
But to stay visible on single product i.e.
Thanks!
December 7, 2018 at 5:03 am #1041903Hi,
Thanks for that, please try this in Quick CSS:
.post-type-archive-product span.price { display:none; }
Best regards,
RikardDecember 7, 2018 at 9:51 am #1041955Thanks for the code. Unfortunately it’s not working :(
I’ve put login details (private content) just in case.
Thanks!December 8, 2018 at 5:52 am #1042330Hi,
You have active caching/optimisation plugin on the site, please try clearing all caches and minification before checking the changes. When to not use a caching plugin
Best regards,
RikardDecember 10, 2018 at 7:07 am #1042945Thanks. Yes I am aware of caching plugin and had turned it off before.
I’ve checked this code on different site and it’s nor working as well.
I know it’s silly question, but are you sure that the code is correct?December 10, 2018 at 1:28 pm #1043052Hi,
I just verified the code, it should be correct but I can’t see it applying. If you have active caching then it makes it very difficult to verify if it’s working or not.
Best regards,
RikardDecember 22, 2018 at 9:19 am #1048497Thanks for your help. I have tried on different site and it’s not working at all. Anyway I found a solution and share with you guys, maybe someone will find this helpful. Just paste this code to functions.php
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
Happy Christmas!
- This reply was modified 5 years, 12 months ago by elzevir. Reason: missmisspelling
December 22, 2018 at 10:20 pm #1048696Hi elzevir,
Glad you got it working for you and thank you for sharing! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.