Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
How to change the search bar on homepage like this i want to show 👇 as shown in screenshot in dawn theme and i want to show product price in search bar result
Thanks in Advance
Hi,
It can be done by Modify the Search Results Template (search.liquid or search-results.liquid)
Add the Price Display code example
{% for item in search.results %}
<div class="search-result-item">
<h3>{{ item.title }}</h3>
<p class="product-price">{{ item.price | money }}</p>
</div>
{% endfor %}
Learn 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, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025