From 7e50f12a8335f0cbfdfffdf0d2ec9142c5b10fe4 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Fri, 12 Dec 2014 03:41:05 +0300 Subject: [PATCH] Add escape to names, remove garbage --- intarocrm/export.tpl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/intarocrm/export.tpl b/intarocrm/export.tpl index ed065b6..1ee8a3f 100644 --- a/intarocrm/export.tpl +++ b/intarocrm/export.tpl @@ -2,7 +2,7 @@ {$shop_name} - {$yamarket_company_name} + {$company} {$shop_url} PrestaShop @@ -15,11 +15,10 @@ {foreach from=$categories item=cat name=categories} {if $cat.id_category!=2} - {$cat.name} + {$cat.name|escape} {/if} {/foreach} - {if $yamarket_delivery_price}{$yamarket_delivery_price}{/if} {foreach from=$products item=offer name=products} @@ -29,12 +28,12 @@ {$currency} {$offer.id_category_default} {$offer.picture} - {$offer.name} + {$offer.name|escape} {if $offer.article} - {$offer.article} + {$offer.article|escape} {/if} {/foreach} - \ No newline at end of file +