FLORES | almacén de flor - Mayorista de flores. - Catálogo Complementos
Products: 0
Price: 0.00€
Shopping Cart [View cart]
0 items
For free shipping on flowers left 70.00€
Ver condiciones
Catalog Accessories
Top » Catalog » Catalog Accessories
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 ')GROUP BY p.products_id order by tiene_stock DESC, pd.products_name' at line 1

select distinct (p.products_id), p.products_image, pd.products_name, p.products_quantity, pd.products_description, p.altura, p.color, p.num_flores, p.calidad, p.origen, p.cantidad_paquete, p.tallos_paquete, p.cantidad_caja, p.flores_caja, p.gramaje, p.contador, p.manufacturers_id, 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, IF(pdr.stock_disponible > 0, 1, 0) as tiene_stock, pdr.products_id, pdr.stock_disponible from products_datarange pdr, products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join specials s on p.products_id = s.products_id, products_to_categories p2c where pdr.stock_disponible >0 and p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pdr.products_id = p.products_id and pdr.fecha_inicio<= '2020-08-14' and pdr.fecha_fin>= '2020-08-14' and pd.language_id = '4' and pdr.id_almacen = '' and( p2c.categories_id=42 or p2c.categories_id=43 or p2c.categories_id=44 or p2c.categories_id=46 or p2c.categories_id=58 or p2c.categories_id=62 or p2c.categories_id=63 or p2c.categories_id=61 or p2c.categories_id=52 or p2c.categories_id=45 or p2c.categories_id=59 or p2c.categories_id=60 or p2c.categories_id=53 or )GROUP BY p.products_id order by tiene_stock DESC, pd.products_name