Откройте файл
/controllers/front/ProductController.php и после:
Код:
if (isset($this->category->id) && $this->category->id)
$return_link = Tools::safeOutput($this->context->link->getCategoryLink($this->category));
else
$return_link = 'javascript: history.back();';
добавьте подобный код:
Код:
if($this->product->id_supplier)
if($id_address = Address::getAddressIdBySupplierId((int)$this->product->id_supplier))
$address = new Address((int)$id_address);
после:
Код:
'stock_management' => Configuration::get('PS_STOCK_MANAGEMENT'),
добавьте:
Код:
'address' => (isset($address) ? $address : false),
В шаблоне разбирайте:
Код:
{$address->country|escape:'html':'UTF-8'}
{$address->address1|escape:'html':'UTF-8'}
{$address->city|escape:'html':'UTF-8'}
{$address->phone}