Indietro


1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by final_price limit 6000 offset 0' at line 6

select p.products_image, p.products_quantity, pd.products_name, m.manufacturers_name, m.manufacturers_image, p.products_model, p.products_id, SUBSTRING_INDEX(pd.products_description, ' ', 20) as products_description, p.products_price, p.products_quantity as in_stock, if(s.status, 1, 0) as is_special, p.products_tax_class_id, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price, p.products_date_added, p.manufacturers_id from products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join products_description pd on p.products_id = pd.products_id and pd.language_id = '1' left join specials s on p.products_id = s.products_id left join featured f on p.products_id = f.products_id where p.products_status = '1' and f.status = '1' order by p.products_date_added DESC, pd.products_name order by final_price limit 6000 offset 0

[TEP STOP]