All things Shopify and commerce
Hello, In Dawn i have a single collection on the home page: customdtftransfers.com.
I was trying to hide the "From.." price that is showing on the home page in the product thumbnail, but instead I hid all of the actual prices showing for the variants in the product itself. I used this CSS (below) to hide the prices. How can I get those prices to show and then hide just the "From.." price on the home page.
.section-template--15393943060635__featured_collection-padding .card-information {
display: none;
}
Solved! Go to the solution
This is an accepted solution.
It is the same way I explained above. Just find the price section for the home page feature products and update the {{money}} part with filter remove:"from".
@jsweeney , Hope you are doing well.
You need to update the price snippet from your theme. You can't manage this using the CSS only.
thanks for the reply. i have been searching thru the theme and cant find anything that says price snippet. These prices were there last night, but i mistakenly applied the css to the live site instead of making a duplicate for testing.
@jsweeney Please add below code in your price.liquid file .
{{ money_price | remove: 'From' }}
Please check attached screenshot for better understanding:
like this? it didn't seem to do anything
thx
@jsweeney Could you please confirm you are adding the code at the right place or line? as there are around 4 5 times the money will be called in this template.
My apologies- I just realized what I did. I Deleted the Price Block inside each of the variants. I went back in and added the Price block back in and it's fine...however, this is what i was trying to do in the first place...hide the "From.." price here on the home page in the product thumbnail. Is there a way to do this?
https://customdtftransfers.com/
thank you for your time.
This is an accepted solution.
It is the same way I explained above. Just find the price section for the home page feature products and update the {{money}} part with filter remove:"from".
I see now, thanks so much
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024