modif pour le flux partenaire familydeal
This commit is contained in:
parent
ba20deb904
commit
7512ebbe4b
@ -72,7 +72,13 @@ class Catalog
|
|||||||
$this->_xml .= '<infos_boutique>';
|
$this->_xml .= '<infos_boutique>';
|
||||||
$this->_xml .= '<logo>http://www.bebeboutik.com/img/logo.png</logo>';
|
$this->_xml .= '<logo>http://www.bebeboutik.com/img/logo.png</logo>';
|
||||||
$this->_xml .= '<nom>bebeboutik.com</nom>';
|
$this->_xml .= '<nom>bebeboutik.com</nom>';
|
||||||
$this->_xml .= '<url>www.bebeboutik.com</url>';
|
|
||||||
|
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>';
|
$this->_xml .= '</infos_boutique>';
|
||||||
|
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user