<< Close Menu
Close Menu >>

Solo SELV 12

0 products found
    1064 - 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 '-40, 40' at line 19

    select p.products_id, pd.*, p.products_image, p.products_image_med, p.products_model, pd.products_name, pd.products_name, p.range_status, p.manufacturers_id, p.products_price, p.products_tax_class_id, p.products_price, 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 , products_quantity, il.qty_in_stock_cre_adjustment, PVL.parent_title, PVL.is_main, PVL.parent_sku, PVL.list_variations, PVL.variation_theme, p.products_quantity,il.qty_in_stock_cre_adjustment, (SELECT list_variations FROM isellsco_isell.isells_products_variations_list a where PVL.parent_sku = a.parent_sku and a.is_main = 1) as l_v from products p left join specials s on p.products_id = s.products_id LEFT JOIN isellsco_isell.isells_products_variations_list PVL on p.products_id = PVL.child_id left join isellsco_isell.isells_products_link il on p.products_id = il.products_id left join manufacturers m on p.manufacturers_id = m.manufacturers_id , products_description pd, products_to_categories p2c where p.products_status = '1' and p2c.categories_id = '261' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id AND (PVL.is_main = 1 or PVL.is_main IS NULL) and pd.language_id = '1' ORDER BY p.products_ordered desc LIMIT -40, 40

    [TEP STOP]