Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development
This commit is contained in:
@@ -34,6 +34,7 @@ $id_category = ((int)(Tools::getValue('id_category')) ? (int)(Tools::getValue('i
|
||||
$products = Product::getProducts((int)Context::getContext()->language->id, 0, ($number > 10 ? 10 : $number), $orderBy, $orderWay, $id_category, true);
|
||||
$currency = new Currency((int)Context::getContext()->currency->id);
|
||||
$affiliate = (Tools::getValue('ac') ? '?ac='.(int)(Tools::getValue('ac')) : '');
|
||||
$metas = Meta::getMetaByPage('index', (int)Context::getContext()->language->id);
|
||||
|
||||
// Send feed
|
||||
header("Content-Type:text/xml; charset=utf-8");
|
||||
@@ -42,8 +43,9 @@ echo '<?xml version="1.0" encoding="UTF-8"?>'."\n";
|
||||
<rss version="2.0">
|
||||
<channel>
|
||||
<title><![CDATA[<?php echo Configuration::get('PS_SHOP_NAME') ?>]]></title>
|
||||
<description><![CDATA[<?php echo $metas['description'] ?>]]></description>
|
||||
<link><?php echo _PS_BASE_URL_.__PS_BASE_URI__; ?></link>
|
||||
<mail><?php echo Configuration::get('PS_SHOP_EMAIL') ?></mail>
|
||||
<webMaster><?php echo Configuration::get('PS_SHOP_EMAIL') ?></webMaster>
|
||||
<generator>PrestaShop</generator>
|
||||
<language><?php echo Context::getContext()->language->iso_code; ?></language>
|
||||
<image>
|
||||
|
||||
@@ -353,7 +353,9 @@ class MailAlerts extends Module
|
||||
'{delivery_postal_code}' => $delivery->postcode,
|
||||
'{delivery_country}' => $delivery->country,
|
||||
'{delivery_state}' => $delivery->id_state ? $delivery_state->name : '',
|
||||
'{delivery_phone}' => $delivery->phone ? $delivery->phone : $delivery->phone_mobile,
|
||||
'{delivery_phone}' => $delivery->phone,
|
||||
'{delivery_phone_mobile}' => $delivery->phone_mobile,
|
||||
'{delivery_vat_number}' => $delivery->vat_number,
|
||||
'{delivery_other}' => $delivery->other,
|
||||
'{invoice_company}' => $invoice->company,
|
||||
'{invoice_firstname}' => $invoice->firstname,
|
||||
@@ -364,7 +366,9 @@ class MailAlerts extends Module
|
||||
'{invoice_postal_code}' => $invoice->postcode,
|
||||
'{invoice_country}' => $invoice->country,
|
||||
'{invoice_state}' => $invoice->id_state ? $invoice_state->name : '',
|
||||
'{invoice_phone}' => $invoice->phone ? $invoice->phone : $invoice->phone_mobile,
|
||||
'{invoice_phone}' => $invoice->phone,
|
||||
'{invoice_phone_mobile}' => $invoice->phone_mobile,
|
||||
'{invoice_vat_number}' => $invoice->vat_number,
|
||||
'{invoice_other}' => $invoice->other,
|
||||
'{order_name}' => sprintf('%06d', $order->id),
|
||||
'{shop_name}' => Configuration::get('PS_SHOP_NAME'),
|
||||
|
||||
Reference in New Issue
Block a user