bourlonc Posted September 14, 2020 Share Posted September 14, 2020 Site URL: https://www.indiecovershop.com/ Hey there, I have a client that wants to hide products that are sold out. I tried this CSS bit but I'm left with a black space on the row where the product was. #productList .sold-out{ display: none; } Is there a way to rearrange the products once a product is hidden, or does someone know a better way to do this? Thanks! Link to comment
tuanphan Posted September 19, 2020 Share Posted September 19, 2020 Add to Code Injection Footer <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script> <script> $(document).ready(function() { $("#productList .sold-out").remove(); }); </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment