<?xml version="1.0" encoding="UTF-8"?>
	<modification>
	<id>Call for Price / Enable disable Add to cart button with Custom text</id>
	<version>1.1</version>
	<vqmver>2.2.1</vqmver>
	<author>manskkl@gmail.com</author>
	<file name="admin/view/template/catalog/product_form.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<td><?php echo $entry_cost; ?></td>
			]]></search>
			<add trim="true"><![CDATA[
              <td><?php echo $entry_call; ?></td>
              <td>
			  <?php if ($call_price) { ?>
                <input type="checkbox" name="call_price" value="1" checked="checked" />
                <?php } else { ?>
                <input type="checkbox" name="call_price" value="1" />
                <?php } ?>
				&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $entry_custom; ?>&nbsp;<input type="text" name="call_custom" value="<?php echo $call_custom; ?>" placeholder="Default Text 'Call for Price'" style="width:170px;" />
              </td>
            </tr>
            <tr>
              <td><?php echo $entry_disable_button; ?></td>
              <td>
			  <?php if ($disable_button) { ?>
                <input type="checkbox" name="disable_button" value="1" checked="checked" />
                <?php } else { ?>
                <input type="checkbox" name="disable_button" value="1" />
                <?php } ?>
              </td>
            </tr>
            <tr>  
			]]></add>
		</operation>
	</file>
	<file name="admin/controller/catalog/product.php">
		<operation error="skip">
			<search position="before"><![CDATA[
			if (isset($this->request->post['price'])) {
			]]></search>
			<add trim="true"><![CDATA[
			if (isset($this->request->post['call_price'])) {
      		$this->data['call_price'] = $this->request->post['call_price'];
			} elseif (!empty($product_info)) {
				$this->data['call_price'] = $product_info['call_price'];
			} else {
				$this->data['call_price'] = 0;
			}
			
			if (isset($this->request->post['disable_button'])) {
				$this->data['disable_button'] = $this->request->post['disable_button'];
			} elseif (!empty($product_info)) {
				$this->data['disable_button'] = $product_info['disable_button'];
			} else {
				$this->data['disable_button'] = 0;
			}
			if (isset($this->request->post['call_custom'])) {
			$this->data['call_custom'] = $this->request->post['call_custom'];
			} elseif (!empty($product_info)) {
				$this->data['call_custom'] = $product_info['call_custom'];
			} else {
				$this->data['call_custom'] = '';
			}
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			$this->data['entry_price'] = $this->language->get('entry_price');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['entry_call'] = $this->language->get('entry_call');
			$this->data['entry_disable_button'] = $this->language->get('entry_disable_button');
			$this->data['entry_custom'] = $this->language->get('entry_custom');
			]]></add>
		</operation>
	</file>
	<file name="admin/model/catalog/product.php">
		<operation error="skip">
			<search position="replace"><![CDATA[
			date_added
			]]></search>
			<add trim="true"><![CDATA[
			`call_price` = '" . (isset($data['call_price']) ? (int)$data['call_price'] : 0) . "', `disable_button` = '" . (isset($data['disable_button']) ? (int)$data['disable_button'] : 0) . "', call_custom = '" . $this->db->escape($data['call_custom']) . "', date_added 
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			date_modified
			]]></search>
			<add trim="true"><![CDATA[
			`call_price` = '" . (isset($data['call_price']) ? (int)$data['call_price'] : 0) . "', `disable_button` = '" . (isset($data['disable_button']) ? (int)$data['disable_button'] : 0) . "', call_custom = '" . $this->db->escape($data['call_custom']) . "', date_modified
			]]></add>
		</operation>
	</file>
	<file name="admin/language/english/catalog/product.php">
		<operation error="skip">
			<search position="before"><![CDATA[
			$_['entry_price']            = 'Price:';
			]]></search>
			<add trim="true"><![CDATA[
			$_['entry_call'] = 'Call for Price';
			$_['entry_disable_button'] = 'Disable Add to cart Button';
			$_['entry_custom'] = 'If Custom Text: ';
			]]></add>
		</operation>
	</file>	
	<file name="catalog/view/theme/*/template/product/product.tpl">
		<operation error="skip">
			<search position="before" index="1"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($call_price < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before" index="1"><![CDATA[
			<?php if ($manufacturer) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
		    <?php if ($call_price) { ?>
		    <tr>
				<td>
					<div class="col-md-6 col-sm-6 col-xs-6"><?php echo $text_price; ?></div>
					<div class="col-md-6 col-sm-6 col-xs-6 text-right">
					<?php if ($call_custom) { ?>
						<span style="color: #900; font-weight: bold;"><?php echo $call_custom; ?></span>
					<?php } else { ?>
						<?php echo $text_call_price; ?>
					<?php } ?>
					</div>
				</td>
			</tr>
		    <?php } ?>
		    <?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace" offset="2"><![CDATA[
			<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addtocart">
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($disable_button < 1) { ?>
				<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#addtocart">
				  <i class="fa fa-shopping-cart"></i> Add to cart
				</button>
            <?php } else { ?>
				<button type="button" class="btn btn-default disabled" data-toggle="modal" data-target="#addtocart">
				  <i class="fa fa-phone"></i> Call For Info
				</button>
            <?php } ?>
			]]></add>
		</operation>
		
		<operation error="skip">
			<search position="before" index="2"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($products[$j]['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
            <?php if ($products[$j]['call_price']) { ?>
            <div class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price_related; ?>
			<?php } ?>
			</div>
            <?php } ?>
            <?php } ?>
			]]></add>
		</operation>
		
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
        	<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } else { ?>
			<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/product/product.php">
		<operation error="skip">
			<search position="before"><![CDATA[
			$this->data['text_price'] = $this->language->get('text_price');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			$this->data['text_call_price_related'] = $this->language->get('text_call_price_related');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			$this->data['model'] = $product_info['model'];
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['call_price'] = $product_info['call_price'];
			$this->data['disable_button'] = $product_info['disable_button'];
			$this->data['call_custom'] = $product_info['call_custom'];
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/product/product.php">
		<operation error="skip">
			<search position="before"><![CDATA[
			$_['text_price']          = 'Price:';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<font style="font-weight:bold; font-size:13px; color:#333;">Call for Price <i class="fa fa-phone"></i></font>';
			$_['text_call_price_related']   = '<h6><i class="fa fa-phone"></i></font> Call for Price</h6>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/model/catalog/product.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			'model'            => $query->row['model'],
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'          => $query->row['call_price'],
			'disable_button'          => $query->row['disable_button'],
			'call_custom'          => $query->row['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/product/category.tpl">
		<operation error="log">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			</p>
			]]></search>
			<add trim="true"><![CDATA[
		    <?php } ?>
			<?php } else { ?>
			<?php if ($products[$j]['call_price']) { ?>
			<p class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</p>
			<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/product/category.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/product/category.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_product']      = 'Products';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price <i class="fa fa-phone"></i></span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/module/latest.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($product['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
            <?php if ($product['call_price']) { ?>
            <div class="price">
			<?php if ($product['call_custom']) { ?>
			<?php echo $product['call_custom']; ?>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
            <?php } ?>
            <?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
        	<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>        
        	<?php } else { ?>
        	<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/module/latest_home.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($products[$j]['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
            <?php if ($products[$j]['call_price']) { ?>
            <div class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
            <?php } ?>
            <?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
        	<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>        
        	<?php } else { ?>
        	<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/module/latest.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/module/latest.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_products']  = 'Products';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price</span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/module/featured.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($product['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
            <?php if ($product['call_price']) { ?>
            <div class="price">
			<?php if ($product['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $product['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
            <?php } ?>
            <?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } else { ?>
        	<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/module/featured.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $product_info['call_price'],
			'disable_button'        => $product_info['disable_button'],
			'call_custom'        => $product_info['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/module/featured.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_products']  = 'Products';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price</span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/module/bestseller.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($product['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
            <?php if ($product['call_price']) { ?>
            <div class="price">
			<?php if ($product['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $product['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
            <?php } ?>
            <?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } else { ?>
        	<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/module/bestseller.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/module/bestseller.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_stars']     = '%s out of 5 Stars!';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price</span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/module/special.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($product['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
            <?php if ($product['call_price']) { ?>
            <div class="price">
			<?php if ($product['call_custom']) { ?>
			<?php echo $product['call_custom']; ?>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
            <?php } ?>
            <?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
			<a class="button_add_small" href="<?php echo $product['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } else { ?>
        	<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/module/special.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/module/special.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_products']  = 'Products';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price</span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/product/search.tpl">
		<operation error="log">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			</p>
			]]></search>
			<add trim="true"><![CDATA[
		    <?php } ?>
			<?php } else { ?>
			<?php if ($products[$j]['call_price']) { ?>
			<p class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</p>
			<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/product/search.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_search'] = $this->language->get('button_search');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/product/search.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_model_desc']   = 'Model Z - A';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price <i class="fa fa-phone"></i></span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/product/manufacturer.tpl">
		<operation error="log">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			</p>
			]]></search>
			<add trim="true"><![CDATA[
		    <?php } ?>
			<?php } else { ?>
			<?php if ($products[$j]['call_price']) { ?>
			<p class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</p>
			<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/product/manufacturer.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['text_sort'] = $this->language->get('text_sort');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/product/manufacturer.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_model_desc']   = 'Model Z - A';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price <i class="fa fa-phone"></i></span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/product/special.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($products[$j]['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
			<?php if ($products[$j]['call_price']) { ?>
			<div class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
			<?php } ?>
			<?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
        	<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } else { ?>
			<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/product/special.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/product/special.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['text_model_desc']   = 'Model Z - A';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price</span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/module/webme_recently_viewed.tpl">
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="before"><![CDATA[
			<?php if ($product['rating']) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
			<?php if ($product['call_price']) { ?>
			<div class="price">
			<?php if ($product['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $product['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			</div>
			<?php } ?>
			<?php } ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="replace"><![CDATA[
			<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($product['disable_button'] < 1) { ?>
        	<a class="button_add_small" href="<?php echo $products[$j]['add']; ?>" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } else { ?>
			<a class="button_add_small" title="<?php echo $button_add_to_cart; ?>" >&nbsp;</a>
        	<?php } ?>
			]]></add>
		</operation>
	</file>
	<file name="catalog/controller/module/webme_recently_viewed.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['button_add_to_cart'] = $this->language->get('button_add_to_cart');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $result['call_price'],
			'disable_button'        => $result['disable_button'],
			'call_custom'        => $result['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/module/webme_recently_viewed.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['heading_title_overall'] = 'Most popular';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price <i class="fa fa-phone"></i></span>';
			]]></add>
		</operation>
	</file>
	<file name="catalog/view/theme/*/template/product/wishlist.tpl">
		<operation error="log">
			<search position="before"><![CDATA[
			<?php if ($display_price) { ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			<?php } } ?>
			]]></search>
			<add trim="true"><![CDATA[
			<?php } else { ?>
			<?php if ($products[$j]['call_price']) { ?>
			<p class="price">
			<?php if ($products[$j]['call_custom']) { ?>
			<span style="color: #900; font-weight: bold;"><?php echo $products[$j]['call_custom']; ?></span>
			<?php } else { ?>
			<?php echo $text_call_price; ?>
			<?php } ?>
			<?php } ?>
			<?php } ?>
			]]></add>
		</operation>
		<operation error="log">
			<search position="replace"><![CDATA[
			<a href="<?php echo $products[$j]['add']; ?>" data-toggle="tooltip" title="<?php echo $button_add_to_cart; ?>" class="btn btn-md btn-success"><i class="fa fa-shopping-cart"></i></a>
			]]></search>
			<add trim="true"><![CDATA[
			<?php if ($products[$j]['call_price'] < 1) { ?>
			<a href="<?php echo $products[$j]['add']; ?>" data-toggle="tooltip" title="<?php echo $button_add_to_cart; ?>" class="btn btn-md btn-success"><i class="fa fa-shopping-cart"></i></a>
			<?php } else { ?>
			<a href="<?php echo $products[$j]['add']; ?>" data-toggle="tooltip" title="<?php echo $button_add_to_cart; ?>" class="btn btn-md btn-success disabled"><i class="fa fa-shopping-cart"></i></a>
			<?php } ?>
			]]></add>
		</operation>

	</file>
	<file name="catalog/controller/product/wishlist.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['share_wishlist'] = $this->language->get('share_wishlist');
			]]></search>
			<add trim="true"><![CDATA[
			$this->data['text_call_price'] = $this->language->get('text_call_price');
			]]></add>
		</operation>
		<operation error="skip">
			<search position="after"><![CDATA[
			$this->data['products'][] = array(
			]]></search>
			<add trim="true"><![CDATA[
			'call_price'        => $product_info['call_price'],
			'disable_button'        => $product_info['disable_button'],
			'call_custom'        => $product_info['call_custom'],
			]]></add>
		</operation>
	</file>
	<file name="catalog/language/english/product/wishlist.php">
		<operation error="skip">
			<search position="after"><![CDATA[
			$_['error'] = 'Your wish list is full';
			]]></search>
			<add trim="true"><![CDATA[
			$_['text_call_price']   = '<span style="font-weight:bold; font-size:12px; color:#333;">Call for Price <i class="fa fa-phone"></i></span>';
			]]></add>
		</operation>
	</file>
</modification>