Epic Armoury


1054 - Unknown column 'p2c.products_sort_order' in 'order clause'

select m.manufacturers_name, p.products_image, p.products_model, pd.products_name, pd.products_description, p.products_id, p.products_master, p.products_master_status, p.manufacturers_id, p.products_msrp, p.products_price, 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 LI_products p left join specials s on p.products_id = s.products_id, LI_products_description pd, LI_manufacturers m where p.products_status = '1' and gameinnexc !=1 and p.products_listing_status = '1' and pd.products_id = p.products_id and pd.language_id = '1' and p.manufacturers_id = m.manufacturers_id and m.manufacturers_id = '18' order by p2c.products_sort_order, pd.products_name limit 0, 24