You will have to modify two files.
1. In the file, catalog/controller/product/product.php, find following line:
Now add following line of code before that:
2. In the file catalog/view/theme/YOUR_THEME/template/product/product.tpl, find <?php if ($tax) { ?> and add your formated html code for showing that. It could be following in default theme:
<?php if ($tax) { ?> code can be different in your theme.
Noted that you must use ocmod or vqmod for file modification
1. In the file, catalog/controller/product/product.php, find following line:
Code: Select all
$discounts = $this->model_catalog_product->getProductDiscounts($this->request->get['product_id']);
Code: Select all
$data['installment_price'] = '3x'. $product_info['special'] ? round($product_info['special']/3) : round($product_info['price']/3);
Code: Select all
<li>
<h2><?php echo $installment_price; ?></h2>
</li>
Noted that you must use ocmod or vqmod for file modification
Last edited by opencartmart on Thu May 04, 2017 11:48 pm, edited 1 time in total.
XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart
Thanks
but i get this error
Parse error: syntax error, unexpected ''x'' (T_CONSTANT_ENCAPSED_STRING) in /htdocs/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 344
Mike
but i get this error
Parse error: syntax error, unexpected ''x'' (T_CONSTANT_ENCAPSED_STRING) in /htdocs/vqmod/vqcache/vq2-catalog_controller_product_product.php on line 344
Mike
Version 2.1.0.1
Hébergement LWS
Template default modified
Multimerch modified
Sorry, there was a typo, I have updated answer.
XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart
Glad to hear. Thank you.
XForm - Opencart Form Builder
Xshippingpro - An advanced Shipping Module
Need Professional support? Skype: opencartmart
Who is online
Users browsing this forum: No registered users and 108 guests