Create Tags Filter in Shopify Store – No App Post author:administrator Post published:November 6, 2023 Post category:Shopify 1. Create new snippet 'onsale-filter' and paste below code: <style> .custom-sales-toggle { margin-bottom: 20px; } .custom-sales-toggle a { font-size: 12px; } .custom-sales-toggle a.turn-on { background: aqua; padding: 5px; border-radius: 5px; } .custom-sales-toggle a.turn-off { background: black; color: white; padding: 5px; border-radius: 5px; } </style> {% assign filtertag = 'onsale' %} <div class="custom-sales-toggle"> <a class="turn-on" href="{{ saleurl }}/{{ filtertag }}?sort_by={{ filtertag }}">On Sale</a> <a class="turn-off" href="{{ saleurl }}">Off Sale</a> </div> {% render 'onsale-filter', saleurl: results_url %} You Might Also Like Shopify PayPal Credit Debit Card Buttons | Express Theme | Smart Buttons Updated Code May 31, 2021 How to add Video Slider in Shopify (All Free Themes) without App September 14, 2024 How To Add Before And After Slider Section in Shopify? September 7, 2024