How to make, that the goods which are not available, were below, and those that were available, were above?

    1 answer 1

    In the SELECT query, use ORDER BY product_availability DESC (if we are talking about the table #__virtuemart_products)