John Guest,


Anzeigen als:
1054 - Unknown column 'p2c.sort_order' in 'field list'

select p.products_image, p2c.sort_order, pd.products_name, p.products_min_order_qty, p.products_id, SUBSTRING_INDEX(pd.products_description, ' ', 20) as products_description, p.manufacturers_id, p.products_price, p.products_qty_blocks, 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 from products p left join specials s on p.products_id = s.products_id, products_description pd, manufacturers m where p.products_status = '1' and pd.products_id = p.products_id and pd.language_id = '3' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '19' order by p2c.sort_order, pd.products_name limit 0, 99