You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'der=price order by oferta_status desc,oferta desc,price desc LIMIT 0, 9' at line 1
select * from products where status='normal' and price > 0 and price is not null and stock > 0 and product_subcategory_id = 111∨der=price order by oferta_status desc,oferta desc,price desc LIMIT 0, 9