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<= '2021-04-16' and pdr.fecha_fin>= '2021-04-16' and pd.language_id = '4' and pdr.id_almacen = '' and( p2c.categories_id=42 or p2c.categories_id=107 or p2c.categories_id=108 or p2c.categories_id=109 or p2c.categories_id=58 or p2c.categories_id=126 or p2c.categories_id=127 or p2c.categories_id=159 or p2c.categories_id=45 or p2c.categories_id=114 or p2c.categories_id=118 or p2c.categories_id=115 or p2c.categories_id=152 or p2c.categories_id=116 or p2c.categories_id=117 or p2c.categories_id=119 or p2c.categories_id=120 or p2c.categories_id=61 or p2c.categories_id=121 or p2c.categories_id=122 or p2c.categories_id=123 or p2c.categories_id=124 or p2c.categories_id=143 or p2c.categories_id=144 or p2c.categories_id=145 or p2c.categories_id=146 or p2c.categories_id=151 or p2c.categories_id=147 or p2c.categories_id=153 or p2c.categories_id=154 or p2c.categories_id=155 or p2c.categories_id=111 or p2c.categories_id=112 or p2c.categories_id=113 or p2c.categories_id=148 or p2c.categories_id=156 or p2c.categories_id=157 or p2c.categories_id=158 or p2c.categories_id=139 or p2c.categories_id=160 or p2c.categories_id=142 or p2c.categories_id=63 or p2c.categories_id=129 or p2c.categories_id=130 or p2c.categories_id=53 or p2c.categories_id=136 or p2c.categories_id=138 or p2c.categories_id=137 or p2c.categories_id=125 or p2c.categories_id=44 or p2c.categories_id=149 or p2c.categories_id=150 or p2c.categories_id=131 or p2c.categories_id=132 or p2c.categories_id=133 or p2c.categories_id=134 or p2c.categories_id=135 or p2c.categories_id=163 or p2c.categories_id=164 or )GROUP BY p.products_id order by tiene_stock DESC, pd.products_name