modif pour le flux partenaire familydeal

This commit is contained in:
Srv Bebeboutik 2016-03-31 12:08:00 +02:00
parent ba20deb904
commit 7512ebbe4b

View File

@ -72,7 +72,13 @@ class Catalog
$this->_xml .= '<infos_boutique>';
$this->_xml .= '<logo>http://www.bebeboutik.com/img/logo.png</logo>';
$this->_xml .= '<nom>bebeboutik.com</nom>';
if (Tools::getValue('partenaire')
&& Tools::getValue('partenaire') == "family_deal") {
$this->_xml .= '<url><![CDATA[http://www.bebeboutik.com/invite/MjAxMy0xMC0y=02bj5yapRXdvJWZiVmYAxWYlRWL5xWatFmZ&lp=mosaique-enfant]]></url>';
} else {
$this->_xml .= '<url>www.bebeboutik.com</url>';
}
$this->_xml .= '</infos_boutique>';
foreach ($items as $item) {