FASHIONOPOLISM - Hide Price on Collection Page

anitabanita11
Tourist
15 0 1

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?

Replies 9 (9)

techlyser_web
Shopify Partner
1473 274 292

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>

techlyser_web_0-1715247779871.png

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
anitabanita11
Tourist
15 0 1

Thanks. Unfortunately it didn't work. 

Screenshot 2024-05-09 at 7.58.02 PM.png

techlyser_web
Shopify Partner
1473 274 292

can you share this page URL?

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
anitabanita11
Tourist
15 0 1

This is the homepage of the new theme FASHIONOPOLISM I don't have published yet

techlyser_web
Shopify Partner
1473 274 292

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.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
anitabanita11
Tourist
15 0 1

Still didn't work. Plus I want it to only hide it if the product has the tag, not all products

EBOOST
Shopify Partner
810 222 250

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.

Hope can help


If you find my reply helpful, please hit Like and Mark as Solution


https://www.eboosttech.net


EBOOST
anitabanita11
Tourist
15 0 1

No there isn't. Here's a screenshot of the product based snippets

Screenshot 2024-05-10 at 11.08.56.png

EBOOST
Shopify Partner
810 222 250

Could you share content of 2 files in the screenshot?

EBOOST_0-1715307407405.png

 

Hope can help


If you find my reply helpful, please hit Like and Mark as Solution


https://www.eboosttech.net


EBOOST