1 vote

Add Both a Sort to Bottom & Filter Out check box to Portfolio & Post Grid Blocks

Add Both a Sort to Bottom & Filter Out check box to Portfolio & Post Grid Blocks. Bonn worked with me to add code to functions.php to accomplish this much needed feature. When an item is out of stock, you don’t always want it to disappear, or always be shown, or alway have the “out of stock” items intermingled with the “in stock” items. You want to be able to “show out of stock”, “hide out of stock”, or “sort out of stock to the bottom”. This should be a “pick 1 of 3” selector that is separate from the other choices of default, as, z-a, newest first, oldest first, etc, but this 1 of 3 function, should work in conjunction with the primary filters. For example, I use “newest first (sort by date)”, then I want the “out of stock” to be moved to the bottom of this sorted list. This lets my customers know I carry the item, but am out of stock, and for SEO it keeps an out of stock items ranked on Google. Thanks! Ken
ken-8095 shared this idea

Leave a Reply