Jump to content

modigi

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by modigi

  1. no , i did not. and no help came from forum :-(
  2. Zdravim, vedel by mi prosim Vas niekto poradit preco v novom PS 1.5.2 nefunguje moj xml feed php ? : <?php $shopUrl = 'http://www.your shop'; // adresa shopu včetně http:// include(dirname(__FILE__).'/config/config.inc.php'); // cesta ke config souboru include(dirname(__FILE__).'/init.php'); error_reporting(0); $p=Product::getProducts(5, 0, 0, 'id_product', 'desc', false); // sk je v databázi zapsaná pod číslem 5 $products=Product::getProductsProperties(5, $p); // sk je v databázi zapsaná pod číslem 5 header("Content-Type: text/xml"); echo '<?xml version="1.0" encoding="utf-8"?> <SHOP>'; foreach ($products as $row) { $img=Product::getCover($row['id_product']); echo ' <SHOPITEM> <SHOPID>'.$row['id_product'].'</SHOPID> <ARTIKEL>'.str_replace("&", "&", $row['name']).'</ARTIKEL> <ARTIKELNR.>'.$row['reference'].'</ARTIKELNR.> <HERSTELLER>'.str_replace("&", "&", $row['manufacturer_name']).'</HERSTELLER> <BESCHREIBUNG>'.str_replace("&", "&",strip_tags($row['description'])).'</BESCHREIBUNG> <ARTIKELURL>'.$row['link'].'</ARTIKELURL> <IMGURL>'.$shopUrl.'/img/p/'.$row['id_product'].'-'.$img['id_image'].'.jpg</IMGURL> <PRICE_VAT>'.($row['price']*1).'</PRICE_VAT> <LAGERSTAND>'.($row['quantity']*1).'</LAGERSTAND> <EAN>'. round($row['ean13']) .'</EAN> </SHOPITEM>'; } echo '</SHOP>'; ?> V starom shope PS 1:3.7 funguje bez problemov. Pripadne vedel by niekto poradit novy php subor na vygenerovanie xml feedu v PS 1.5.2 ? Dakujem za Vasu pomoc.
  3. Hello PS users. I have a problem with xml feed creation since i started to use PS 1.5.2 . On my old version PS 1.3.7 this php file works fine : <?php $shopUrl = 'http://www.your shop'; include(dirname(__FILE__).'/config/config.inc.php'); include(dirname(__FILE__).'/init.php'); error_reporting(0); $p=Product::getProducts(5, 0, 0, 'id_product', 'desc', false); $products=Product::getProductsProperties(5, $p); header("Content-Type: text/xml"); echo '<?xml version="1.0" encoding="utf-8"?> <SHOP>'; foreach ($products as $row) { $img=Product::getCover($row['id_product']); echo ' <SHOPITEM> <SHOPID>'.$row['id_product'].'</SHOPID> <ARTIKEL>'.str_replace("&", "&", $row['name']).'</ARTIKEL> <ARTIKELNR.>'.$row['reference'].'</ARTIKELNR.> <HERSTELLER>'.str_replace("&", "&", $row['manufacturer_name']).'</HERSTELLER> <BESCHREIBUNG>'.str_replace("&", "&",strip_tags($row['description'])).'</BESCHREIBUNG> <ARTIKELURL>'.$row['link'].'</ARTIKELURL> <IMGURL>'.$shopUrl.'/img/p/'.$row['id_product'].'-'.$img['id_image'].'.jpg</IMGURL> <PRICE_VAT>'.($row['price']*1).'</PRICE_VAT> <LAGERSTAND>'.($row['quantity']*1).'</LAGERSTAND> <EAN>'. round($row['ean13']) .'</EAN> </SHOPITEM>'; } echo '</SHOP>'; ?> Has anyone an idea, why it doesn´t work on the new PS1.5.2 ? Or myabe has someone a working file? Thank you for your help.
  4. PRESTASHOP 1.3.6 Hello, can anyone suggest, how can I update criteria of products (e.g. the price or description of a product in another langauge) -using .csv file and the import function of the PS without creating doubles ? I have few thousand products and would like to change the product names to different language using the .csv file import but so that my original language product names will not change and products will not appear double. Thank you for any suggestions.
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More