Prestashop: strip html tags from short description

This commit is contained in:
Andreas Palm 2023-07-26 12:38:41 +02:00
parent cb2b75a3ca
commit fa4125d63b

View File

@ -355,8 +355,8 @@ class Shopimporter_Presta extends ShopimporterBase
$res['name_en'] = $names['en']; $res['name_en'] = $names['en'];
$res['uebersicht_de'] = $descriptions['de']; $res['uebersicht_de'] = $descriptions['de'];
$res['uebersicht_en'] = $descriptions['en']; $res['uebersicht_en'] = $descriptions['en'];
$res['kurztext_de'] = $shortdescriptions['de']; $res['kurztext_de'] = strip_tags($shortdescriptions['de']);
$res['kurztext_en'] = $shortdescriptions['en']; $res['kurztext_en'] = strip_tags($shortdescriptions['en']);
$res['preis_netto'] = strval($product->product->price); $res['preis_netto'] = strval($product->product->price);
$res['hersteller'] = strval($product->product->manufacturer_name); $res['hersteller'] = strval($product->product->manufacturer_name);
$res['ean'] = strval($product->product->ean13); $res['ean'] = strval($product->product->ean13);