Микроразметка цены товара
// Создание переменной price_int в контроллере продукта(найти и дописать):
if (($this->config->get('config_customer_price') && $this->customer->isLogged()) || !$this->config->get('config_customer_price')) {
$data['price'] = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')));
$data['price_int'] = ($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')));
//объявил и записал данные в переменную
} else {
$data['price'] = false;
}
// после чего добавил ее там же в массив
$data['products'][] = array(
.....
'price' => $price,
'price_int' => $price_int,
......
);
}
// далее в шаблоне продукта просто ее вывел:
<meta itemprop="price" content="<?php echo $price_int; ?>" />