<?xml version="1.0" encoding="utf-8"?>
<modification>
	<name>TM Featured </name>
	<version>1.0</version>
	<author>viva</author>
	<link>http://www.templatemonster.com</link>
	<code>4</code>
	<file path="catalog/controller/module/featured.php">
		<operation>
			<search><![CDATA[ 
				'rating'      => $rating,
				]]></search>
			<add position="after"><![CDATA[ 
					'reviews'    => $review_total,
					'author'     => $product_info['manufacturer'],
					'description1' => html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8'),
					'manufacturers' =>$data['manufacturers'] = $this->url->link('product/manufacturer/info', 'manufacturer_id=' . $product_info['manufacturer_id']),
					'model' => $product_info['model'],
					'text_availability' => $product_info['quantity'],
					'allow' => $product_info['minimum'],
				]]></add>
		</operation>
		<operation>
			<search><![CDATA[ 
				$this->load->model('tool/image');
				]]></search>
			<add position="after"><![CDATA[ 
						$this->load->model('catalog/manufacturer');
						$this->language->load('product/product');
						$this->language->load('product/category');
						$this->load->model('catalog/review');
				]]></add>
		</operation>
		<operation>
			<search><![CDATA[ 
				$data['button_cart'] = $this->language->get('button_cart');
				]]></search>
			<add position="after"><![CDATA[ 
				$data['text_quick'] = $this->language->get('text_quick');
				$data['text_price'] = $this->language->get('text_price');
				$data['button_wishlist'] = $this->language->get('button_wishlist');
				$data['button_compare'] = $this->language->get('button_compare');	
				$data['button_details'] = $this->language->get('button_details');
				$data['text_manufacturer'] = $this->language->get('text_manufacturer');
				$data['text_category'] = $this->language->get('text_category');
				$data['text_model'] = $this->language->get('text_model');
				$data['text_availability'] = $this->language->get('text_availability');
				$data['text_instock'] = $this->language->get('text_instock');
				$data['text_outstock'] = $this->language->get('text_outstock');
				$data['reviews'] = $this->language->get('reviews');
				$data['text_price'] = $this->language->get('text_price');
				$data['text_product'] = $this->language->get('text_product');
				]]></add>
		</operation>
		<operation>
			<search><![CDATA[ $product_info = $this->model_catalog_product->getProduct($product_id); ]]></search>
			<add position="after"><![CDATA[ 
				$review_total = $this->model_catalog_review->getTotalReviewsByProductId($product_info['product_id']);
				]]></add>
		</operation>
	</file>
	<file path="catalog/language/*/module/featured.php">
		<operation>
			<search><![CDATA[ $_['heading_title'] ]]></search>
			<add position="before"><![CDATA[		
				$_['text_category'] = 'Categories';
				$_['text_manufacturer'] = 'Brand:';
				$_['text_model'] = 'Model:';
				$_['text_availability'] = 'Availability:';
				$_['text_instock'] = 'In Stock';
				$_['text_outstock'] = 'Out Stock';
				$_['text_price']        = 'Price: ';
				$_['text_tax']          = 'Ex Tax:';
				$_['text_quick']          = 'Quick View'; 
				$_['button_details']          = 'Details';
				$_['reviews']          = 'reviews ';
				$_['text_product']          = 'Product {current} of {total} ';
				]]></add>
		</operation>
		
	</file>
	<file path="catalog/language/de-DE/module/featured.php">
		<operation>
			<search><![CDATA[ $_['text_tax']		= 'ohne Steuer'; ]]></search>
			<add position="after"><![CDATA[		
				$_['button_details']          = 'Details';
				$_['text_category'] = 'Kategorie:';
				$_['text_manufacturer'] = 'Marke:';
				$_['text_model'] = 'Model:';
				$_['text_availability'] = 'Verfugbarkeit:';
				$_['text_instock'] = 'Vorratig';
				$_['text_outstock'] = 'Heraus ';
				$_['text_price']        = 'Preis: ';
				$_['text_tax']          = 'Preis ohne Steuer:';
				$_['text_quick']          = 'Vorschau'; 
				$_['text_product']          = 'Artikel {current} von {total} ';
				$_['text_sale']      = 'Verkauf';
				]]></add>
		</operation>
		
	</file>
	<file path="catalog/language/russian/module/featured.php">
		<operation>
			<search><![CDATA[ $_['text_tax']]]></search>
			<add position="before"><![CDATA[		
				$_['button_details']          = 'Подробнее';
				$_['text_category'] = 'Категория';
				$_['text_manufacturer'] = 'Брєнд';
				$_['text_model'] = 'Модель:';
				$_['text_availability'] = 'Наличие:';
				$_['text_instock'] = 'Доступно';
				$_['text_outstock'] = 'нет в наличии ';
				$_['text_price']        = 'Цена: ';
				$_['text_tax']          = 'налог:';
				$_['text_quick']          = 'Быстрый просмотр'; 
				$_['text_product']          = 'Product {current} of {total} ';
				$_['text_sale']      = 'Скидка';
				]]></add>
		</operation>
		
	</file>
</modification>