Shopify themes, liquid, logos, and UX
I'm currently upgrading from Studio theme to FASHIONOPOLISM theme, and need to transfer over a custom code that hides prices of items that are tagged "instore only" on their collection product cards.
This is the code I had with Studio https://community.shopify.com/c/shopify-design/hide-price-on-collection-page-for-studio-2-0-theme/td...
However FASHIONOPOLISM doesn't have the same snippets or code components. Can someone please help advise what I should add to the code and where?
Hello @anitabanita11
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.collection span.price-item.price-item--regular {
display: none !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Thanks. Unfortunately it didn't work.
can you share this page URL?
This is the homepage of the new theme FASHIONOPOLISM I don't have published yet
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.product-grid-container .price__container {
display: none !important;
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Still didn't work. Plus I want it to only hide it if the product has the tag, not all products
Hi @anitabanita11 ,
Could you check whether do you have Snippets/product-grid-item.liquid file? Could you share code of this file? I will help to check it.
No there isn't. Here's a screenshot of the product based snippets
Could you share content of 2 files in the screenshot?
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025