Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
for the context, i want to hide prices when users search on my website. below is the reference. my website is unitetris.com. thank you
Solved! Go to the solution
This is an accepted solution.
hello @UC2k24
Go to online store ----> themes ----> actions ----> edit code ---->assets ---->components.css
add the code end of the file
span.grid-product__price {
display: none !important;
}
RESULT
Buy me a Pizza
If this was helpful, hit the like button and accept the solution.
Thanks
This is an accepted solution.
hello @UC2k24
Go to online store ----> themes ----> actions ----> edit code ---->assets ---->components.css
add the code end of the file
span.grid-product__price {
display: none !important;
}
RESULT
Buy me a Pizza
If this was helpful, hit the like button and accept the solution.
Thanks
Hi @UC2k24 👋 in a custom-css setting for the theme ,try the following CSS
https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/add-css
#predictive-search-results .results__group-2 .grid-product__price {
display: none !important;
}
💣Be aware this is only visually hiding the element, which is not the same as trying to prevent it from rendering/existing in the first place. Preventing rendering is an advanced theme customization.
If you need further customizations you can contact me.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
Goodluck.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
HELLO @UC2k24
thanks for accepting my solution please hit the like button also and if my solution is helpful if it possible please buy me a coffee
thanks
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