Home › Forums › WoodMart support forum › Product archive: Hide Prices only in Shop Page
Product archive: Hide Prices only in Shop Page
- This topic has 5 replies, 2 voices, and was last updated 1 year, 2 months ago by
Aizaz Imtiaz Awan.
-
AuthorPosts
-
December 6, 2023 at 7:22 pm #519200
postbox-007ParticipantI had opened a thread before and I thought I had done it:
https://xtemos.com/forums/topic/product-archive-remove-add-to-cart-hover-and-prices/I have removed the prices with the tax and the shipping cost information with this code in the Costum CSS (global):
.product-grid-item .price, .wc-gzd-additional-info, .wrap-price, .product-rating-price{ display: none; }
But unfortunately there is the following problem. It works so far. But sometimes the prices still appear. If I clear the cache (via WP Rocket), then prices are hidden again on the store page as desired. But unfortunately this is inconsistent.
Is there anything I can do to make this work better?
December 7, 2023 at 11:10 am #519359
Aizaz Imtiaz AwanKeymasterHello,
I have checked your site and the price is not showing in archive pages. Sometimes, your browser might be showing you a cached version of the page. Clear your browser cache or try accessing the page in incognito/private mode to see if the changes appear.
Best Regards.
December 8, 2023 at 2:02 am #519592
postbox-007ParticipantUnfortunately, the problem is still there.
I have deleted the cache in the WordPress installation (via WP Rocket).The cache in the browser is deleted. The problem is also there in private mode. I have also installed a second browser – the same problem.
The prices on the main store page are sometimes displayed. If I then reload the page, the prices are gone there as desired.
It looks to me that the custom CSS code is not loaded or processed when the page is first loaded.
-
This reply was modified 1 year, 2 months ago by
postbox-007.
Attachments:
You must be logged in to view attached files.December 8, 2023 at 11:30 am #519707
Aizaz Imtiaz AwanKeymasterHello,
Your issue has been resolved. Check back your site after completely clearing the browser cache.
Video for clarification:
https://www.veed.io/view/14e699e7-0f9f-4b7b-95b1-bb8df3be4659?sharingWidget=true&panel=shareBest Regards.
December 8, 2023 at 11:51 am #519717
postbox-007ParticipantThank you for the video. I don’t understand why I have this problem on my site.
See screenshots above, that was also in Incognito mode (After I deleted the cache on the website and also in the browser itself).
I have tested it on other devices. The problem shows up here too. No idea what the problem is. It seems that sometimes the CSS code does not load the first time. Probably a cache problem?
December 8, 2023 at 4:08 pm #519816
Aizaz Imtiaz AwanKeymasterHello,
It seems to be a cache issue on your end. Please temporarily deactivate the cache plugin and clear the server cache and check the issue.
Best Regards.
-
This reply was modified 1 year, 2 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register