Removing Prices on Dawn Theme products while keeping prices on product page

Solved

Removing Prices on Dawn Theme products while keeping prices on product page

kailanewyork
Visitor
2 0 0

Hello, how do you remove the prices off of the products on Dawn theme while they are in the collection (like home or collection page), but have the price available when they click on the item?  I need my customers to see the price before they put it in their shopping cart.  The code I used removed it from everywhere.  thanks!

Accepted Solution (1)

PageFly-Richard
Shopify Partner
4852 1090 1762

This is an accepted solution.

Hi @kailanewyork 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

{% if template contains 'index' or template contains'collection' %}
<style>
.price {
display: none !important;
}
</style>
{% endif %}
<style>
.collection .price {
display: none !important;
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

View solution in original post

Replies 4 (4)

PageFly-Richard
Shopify Partner
4852 1090 1762

This is an accepted solution.

Hi @kailanewyork 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

{% if template contains 'index' or template contains'collection' %}
<style>
.price {
display: none !important;
}
</style>
{% endif %}
<style>
.collection .price {
display: none !important;
}
</style>

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

kailanewyork
Visitor
2 0 0

Thank you so much, I believe it worked!  

PageFly-Richard
Shopify Partner
4852 1090 1762

Glad to hear that. Let me know if you have any questions

Please let me know if it works by giving it a Like or marking it as a solution!


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


All features are available from Free plan. Live Chat Support is available 24/7.

LogutSwimwear
Visitor
1 0 0

This worked! Thank you so much