Guest Posted August 22, 2013 Share Posted August 22, 2013 (edited) i have prestashop 1.3.x.x I create php for generate xml feed, every works good now I must only add last thing. I must have in product Keywords. But i dont know what i must write for keywords please anyone help me with this now is in my php for generating xml this: <PRODUCT> <NAME>'.str_replace("&", "and", strip_tags($row['name'])).'</NAME> <KEYWORDS> ???????? </KEYWORDS> <DESCRIPTION>'.str_replace("&", "&",strip_tags($row['description_short'])).'</DESCRIPTION> <SKU>'.$row['id_product'].'</SKU> <BUYURL>'.$row['link'].'</BUYURL> <AVAILABLE>YES</AVAILABLE> <IMAGEURL>http://mywebsite/img/p/'.$row['id_product'].'-'.$img['id_image'].'.jpg</IMAGEURL> <PRICE>'.($row['price']*1).'</PRICE> <CURRENCY>EUR</CURRENCY> <UPC>'.($row['ean13']).'</UPC> <MANUFACTURER>'.htmlspecialchars($row['manufacturer_name']).'</MANUFACTURER> </PRODUCT>'; Edited August 22, 2013 by MPart (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts