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 | Debutify Theme | Smart Buttons Updated Code June 7, 2021 How to Make a Header Transparent In Shopify (Free Themes) September 7, 2024 Popup When Product Out Of Stock Product Page Shopify | Email Notification Alert [Without App] July 1, 2023
Popup When Product Out Of Stock Product Page Shopify | Email Notification Alert [Without App] July 1, 2023