kekofresh Posted April 3, 2013 Share Posted April 3, 2013 (edited) Hola Estoy exportando productos de una tienda prestashop, el problema reside en : Importo el CSV , carga nombre, id , cantidad, pero no descripcion y descripcion corta, sin eso es como hacer nada. el comando que inserto en el export de presta es : "SELECT p.id_product, p.active, pl.name, GROUP_CONCAT(DISTINCT(cl.name) SEPARATOR ",") as categories, p.price, p.id_tax_rules_group, p.wholesale_price, p.reference, p.supplier_reference, p.id_supplier, p.id_manufacturer, p.upc, p.ecotax, p.weight, p.quantity, pl.description_short, pl.description, pl.meta_title, pl.meta_keywords, pl.meta_description, pl.link_rewrite, pl.available_now, pl.available_later, p.available_for_order, p.date_add, p.show_price, p.online_only, p.condition, p.id_shop_default FROM ps_product p LEFT JOIN ps_product_lang pl ON (p.id_product = pl.id_product) LEFT JOIN ps_category_product cp ON (p.id_product = cp.id_product) LEFT JOIN ps_category_lang cl ON (cp.id_category = cl.id_category) WHERE pl.id_lang = 1 AND cl.id_lang = 1 GROUP BY p.id_product" Gracias solucionado!!! Edited April 16, 2013 by kekofresh (see edit history) Link to comment Share on other sites More sharing options...
lunaroja Posted April 4, 2013 Share Posted April 4, 2013 No soy un experto pero lang=1 es el inglés, el español es lang=3. 1 Link to comment Share on other sites More sharing options...
kekofresh Posted April 16, 2013 Author Share Posted April 16, 2013 solucionado! muchisimas gracias lunaroja! Link to comment Share on other sites More sharing options...
Recommended Posts