[Skip to main content](#vessel-content)

#   Removing System Currency to Swow only Product Currency

##

- **[mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")**
- [![mjs23112005's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58949-mjs23112005 "View mjs23112005's Profile") Topic Author
- [ Offline](/forum/user/58949-mjs23112005)

Less More

- Posts: 25
- Thank you received: 0
-
-

6 years 9 months ago [\#315484](#315484) by [mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")  *[Removing System Currency to Swow only Product Currency](/forum/27-checkout/899155-removing-system-currency-to-swow-only-product-currency#315484 "Hi,  I have seen there have been a number of threads on this but all seem a few years ago.  I know where I need to edit but all attempts using other posts info have failed.  Can you please let me know what in the code I need to edit to remove the original currency to only show the currency selected in the product, not the currency in the system settings.  Start and end lines of the code that needs to be replaced would really help.  Many thanks in advance.   row-&gt;prices)){ echo JText::&#95;('FREE&#95;PRICE'); } else { $config =&amp; hikashop&#95;config();  $first = true; echo JText::&#95;('PRICE&#95;BEGINNING'); foreach($this-&gt;row-&gt;prices as $i =&gt; $price) { if($first) $first = false; else echo JText::&#95;('PRICE&#95;SEPARATOR');  if(!empty($this-&gt;unit) &amp;&amp; isset($price-&gt;unit&#95;price)) { $price = $price-&gt;unit&#95;price; } if(!isset($price-&gt;price&#95;currency&#95;id)) $price-&gt;price&#95;currency&#95;id = hikashop&#95;getCurrency();  $classes = array('hikashop&#95;product&#95;price hikashop&#95;product&#95;price&#95;'.$i); if(!empty($this-&gt;row-&gt;discount)) { $classes&#91;&#93;='hikashop&#95;product&#95;price&#95;with&#95;discount'; } echo ''; if($this-&gt;params-&gt;get('price&#95;with&#95;tax')){ echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if((int)$this-&gt;params-&gt;get('show&#95;original&#95;price', -1) == -1) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;original&#95;price', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;with&#95;tax, $price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); } echo ' ';  if(!empty($this-&gt;row-&gt;discount) &amp;&amp; isset($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { if($this-&gt;params-&gt;get('show&#95;discount', 3) == 3) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;discount', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;discount') == 1) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if(bccomp($this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, 0, 5) !== 0) { if(!$this-&gt;unit) $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount = $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount &#42; $this-&gt;row-&gt;cart&#95;product&#95;quantity; echo $this-&gt;currencyHelper-&gt;format(-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, $price-&gt;price&#95;currency&#95;id); } else { echo (-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;percent&#95;amount) . '%'; } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } elseif($this-&gt;params-&gt;get('show&#95;discount') == 2) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount,$price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;AFTER&#95;ORIG'); } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } } } echo JText::&#95;('PRICE&#95;END'); } ?&gt;")* was created by *[mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")*

Hi,

I have seen there have been a number of threads on this but all seem a few years ago.

I know where I need to edit but all attempts using other posts info have failed.

Can you please let me know what in the code I need to edit to remove the original currency to only show the currency selected in the product, not the currency in the system settings.

Start and end lines of the code that needs to be replaced would really help.

Many thanks in advance.

&lt;?php
/**
* @package HikaShop for Joomla!
* @version 4.2.2
* @author hikashop.com
* @copyright (C) 2010-2019 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 [ www.gnu.org/licenses/gpl-3.0.html](http://www.gnu.org/licenses/gpl-3.0.html)
*/
defined('_JEXEC') or die('Restricted access');
?&gt;&lt;span class="hikashop_product_price_full"&gt;
&lt;?php

if(empty($this-&gt;row-&gt;prices)){
echo JText::_('FREE_PRICE');
} else {
$config =&amp; hikashop_config();

$first = true;
echo JText::_('PRICE_BEGINNING');
foreach($this-&gt;row-&gt;prices as $i =&gt; $price) {
if($first) $first = false;
else echo JText::_('PRICE_SEPARATOR');

if(!empty($this-&gt;unit) &amp;&amp; isset($price-&gt;unit_price)) {
$price = $price-&gt;unit_price;
}
if(!isset($price-&gt;price_currency_id)) $price-&gt;price_currency_id = hikashop_getCurrency();

$classes = array('hikashop_product_price hikashop_product_price_'.$i);
if(!empty($this-&gt;row-&gt;discount)) {
$classes[]='hikashop_product_price_with_discount';
}
echo '&lt;span class="'.implode(' ',$classes).'"&gt;';
if($this-&gt;params-&gt;get('price_with_tax')){
echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price_value_with_tax, $price-&gt;price_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_BEFORE_TAX');
}
if($this-&gt;params-&gt;get('price_with_tax') == 2 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price_value, $price-&gt;price_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_AFTER_TAX');
}
if((int)$this-&gt;params-&gt;get('show_original_price', -1) == -1) {
$defaultParams = $config-&gt;get('default_params');
$this-&gt;params-&gt;set('show_original_price', $defaultParams);
}
if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; !empty($price-&gt;price_orig_value)) {
echo JText::_('PRICE_BEFORE_ORIG');
if($this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_orig_value_with_tax, $price-&gt;price_orig_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_BEFORE_TAX');
}
if($this-&gt;params-&gt;get('price_with_tax') == 2 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_orig_value,$price-&gt;price_orig_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_AFTER_TAX');
}
echo JText::_('PRICE_BEFORE_ORIG');
}
echo '&lt;/span&gt; ';

if(!empty($this-&gt;row-&gt;discount) &amp;&amp; isset($price-&gt;price_value_without_discount_with_tax)) {
if($this-&gt;params-&gt;get('show_discount', 3) == 3) {
$defaultParams = $config-&gt;get('default_params');
$this-&gt;params-&gt;set('show_discount', $defaultParams);
}
if($this-&gt;params-&gt;get('show_discount') == 1) {
echo '&lt;span class="hikashop_product_discount"&gt;'.JText::_('PRICE_DISCOUNT_START');
if(bccomp($this-&gt;row-&gt;discount-&gt;discount_flat_amount, 0, 5) !== 0) {
if(!$this-&gt;unit)
$this-&gt;row-&gt;discount-&gt;discount_flat_amount = $this-&gt;row-&gt;discount-&gt;discount_flat_amount * $this-&gt;row-&gt;cart_product_quantity;
echo $this-&gt;currencyHelper-&gt;format(-1 * $this-&gt;row-&gt;discount-&gt;discount_flat_amount, $price-&gt;price_currency_id);
} else {
echo (-1 * $this-&gt;row-&gt;discount-&gt;discount_percent_amount) . '%';
}
echo JText::_('PRICE_DISCOUNT_END').'&lt;/span&gt;';
} elseif($this-&gt;params-&gt;get('show_discount') == 2) {
echo '&lt;span class="hikashop_product_price_before_discount"&gt;'.JText::_('PRICE_DISCOUNT_START');
if($this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_value_without_discount_with_tax, $price-&gt;price_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_BEFORE_TAX');
}
if($this-&gt;params-&gt;get('price_with_tax') == 2 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_value_without_discount,$price-&gt;price_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_AFTER_TAX');
}
if($this-&gt;params-&gt;get('show_original_price') &amp;&amp; !empty($price-&gt;price_orig_value_without_discount_with_tax)) {
echo JText::_('PRICE_BEFORE_ORIG');
if($this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_orig_value_without_discount_with_tax,$price-&gt;price_orig_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_BEFORE_TAX');
}
if($this-&gt;params-&gt;get('price_with_tax') == 2 &#124;&#124; !$this-&gt;params-&gt;get('price_with_tax')) {
echo $this-&gt;currencyHelper-&gt;format($price-&gt;price_orig_value_without_discount,$price-&gt;price_orig_currency_id);
}
if($this-&gt;params-&gt;get('price_with_tax') == 2) {
echo JText::_('PRICE_AFTER_TAX');
}
echo JText::_('PRICE_AFTER_ORIG');
}
echo JText::_('PRICE_DISCOUNT_END').'&lt;/span&gt;';
}
}
}
echo JText::_('PRICE_END');
}
?&gt;&lt;/span&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5OTE1NS1yZW1vdmluZy1zeXN0ZW0tY3VycmVuY3ktdG8tc3dvdy1vbmx5LXByb2R1Y3QtY3VycmVuY3k/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 9 months ago [\#315513](#315513) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Removing System Currency to Swow only Product Currency](/forum/27-checkout/899155-removing-system-currency-to-swow-only-product-currency#315513 "Hi,  I have seen there have been a number of threads on this but all seem a few years ago.  I know where I need to edit but all attempts using other posts info have failed.  Can you please let me know what in the code I need to edit to remove the original currency to only show the currency selected in the product, not the currency in the system settings.  Start and end lines of the code that needs to be replaced would really help.  Many thanks in advance.   row-&gt;prices)){ echo JText::&#95;('FREE&#95;PRICE'); } else { $config =&amp; hikashop&#95;config();  $first = true; echo JText::&#95;('PRICE&#95;BEGINNING'); foreach($this-&gt;row-&gt;prices as $i =&gt; $price) { if($first) $first = false; else echo JText::&#95;('PRICE&#95;SEPARATOR');  if(!empty($this-&gt;unit) &amp;&amp; isset($price-&gt;unit&#95;price)) { $price = $price-&gt;unit&#95;price; } if(!isset($price-&gt;price&#95;currency&#95;id)) $price-&gt;price&#95;currency&#95;id = hikashop&#95;getCurrency();  $classes = array('hikashop&#95;product&#95;price hikashop&#95;product&#95;price&#95;'.$i); if(!empty($this-&gt;row-&gt;discount)) { $classes&#91;&#93;='hikashop&#95;product&#95;price&#95;with&#95;discount'; } echo ''; if($this-&gt;params-&gt;get('price&#95;with&#95;tax')){ echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if((int)$this-&gt;params-&gt;get('show&#95;original&#95;price', -1) == -1) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;original&#95;price', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;with&#95;tax, $price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); } echo ' ';  if(!empty($this-&gt;row-&gt;discount) &amp;&amp; isset($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { if($this-&gt;params-&gt;get('show&#95;discount', 3) == 3) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;discount', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;discount') == 1) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if(bccomp($this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, 0, 5) !== 0) { if(!$this-&gt;unit) $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount = $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount &#42; $this-&gt;row-&gt;cart&#95;product&#95;quantity; echo $this-&gt;currencyHelper-&gt;format(-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, $price-&gt;price&#95;currency&#95;id); } else { echo (-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;percent&#95;amount) . '%'; } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } elseif($this-&gt;params-&gt;get('show&#95;discount') == 2) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount,$price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;AFTER&#95;ORIG'); } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } } } echo JText::&#95;('PRICE&#95;END'); } ?&gt;")*

Hi,

There should be no code to change.
You normally just have to turn off the corresponding setting in the HikaShop configuration and in the settings of your menu items.

Now, in that view file, you can change the code:
$this-&gt;params-&gt;get('show_original_price')
to:
false
and that will remove the price with the original currency.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5OTE1NS1yZW1vdmluZy1zeXN0ZW0tY3VycmVuY3ktdG8tc3dvdy1vbmx5LXByb2R1Y3QtY3VycmVuY3k/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")**
- [![mjs23112005's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58949-mjs23112005 "View mjs23112005's Profile") Topic Author
- [ Offline](/forum/user/58949-mjs23112005)

Less More

- Posts: 25
- Thank you received: 0
-
-

6 years 9 months ago [\#315518](#315518) by [mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")  Replied by *[mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")* on topic *[Removing System Currency to Swow only Product Currency](/forum/27-checkout/899155-removing-system-currency-to-swow-only-product-currency#315518 "Hi,  I have seen there have been a number of threads on this but all seem a few years ago.  I know where I need to edit but all attempts using other posts info have failed.  Can you please let me know what in the code I need to edit to remove the original currency to only show the currency selected in the product, not the currency in the system settings.  Start and end lines of the code that needs to be replaced would really help.  Many thanks in advance.   row-&gt;prices)){ echo JText::&#95;('FREE&#95;PRICE'); } else { $config =&amp; hikashop&#95;config();  $first = true; echo JText::&#95;('PRICE&#95;BEGINNING'); foreach($this-&gt;row-&gt;prices as $i =&gt; $price) { if($first) $first = false; else echo JText::&#95;('PRICE&#95;SEPARATOR');  if(!empty($this-&gt;unit) &amp;&amp; isset($price-&gt;unit&#95;price)) { $price = $price-&gt;unit&#95;price; } if(!isset($price-&gt;price&#95;currency&#95;id)) $price-&gt;price&#95;currency&#95;id = hikashop&#95;getCurrency();  $classes = array('hikashop&#95;product&#95;price hikashop&#95;product&#95;price&#95;'.$i); if(!empty($this-&gt;row-&gt;discount)) { $classes&#91;&#93;='hikashop&#95;product&#95;price&#95;with&#95;discount'; } echo ''; if($this-&gt;params-&gt;get('price&#95;with&#95;tax')){ echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if((int)$this-&gt;params-&gt;get('show&#95;original&#95;price', -1) == -1) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;original&#95;price', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;with&#95;tax, $price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); } echo ' ';  if(!empty($this-&gt;row-&gt;discount) &amp;&amp; isset($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { if($this-&gt;params-&gt;get('show&#95;discount', 3) == 3) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;discount', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;discount') == 1) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if(bccomp($this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, 0, 5) !== 0) { if(!$this-&gt;unit) $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount = $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount &#42; $this-&gt;row-&gt;cart&#95;product&#95;quantity; echo $this-&gt;currencyHelper-&gt;format(-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, $price-&gt;price&#95;currency&#95;id); } else { echo (-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;percent&#95;amount) . '%'; } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } elseif($this-&gt;params-&gt;get('show&#95;discount') == 2) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount,$price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;AFTER&#95;ORIG'); } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } } } echo JText::&#95;('PRICE&#95;END'); } ?&gt;")*

Hi Nicholas,

Thank you for your response.

To clarify I want to show the price in the currency that is set in the product, not the currency that is set in the global settings? I have managed to get it to only show the global currency following the information found on the fourms, but I did not see the info for getting the price to show only the product currency.

As vendors are selling in their own country their is no need for their prices to show our currency here in the UK.

from previous responses it had been mentioned that what if a basket only products from different vendors in different currencies. As we are restricting the cart to one vendor this issue does not exist.

Does the above work for either only showing the product currency or the vendor currency ?

thanks

Mike

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5OTE1NS1yZW1vdmluZy1zeXN0ZW0tY3VycmVuY3ktdG8tc3dvdy1vbmx5LXByb2R1Y3QtY3VycmVuY3k/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14326
-
-

6 years 9 months ago [\#315526](#315526) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Removing System Currency to Swow only Product Currency](/forum/27-checkout/899155-removing-system-currency-to-swow-only-product-currency#315526 "Hi,  I have seen there have been a number of threads on this but all seem a few years ago.  I know where I need to edit but all attempts using other posts info have failed.  Can you please let me know what in the code I need to edit to remove the original currency to only show the currency selected in the product, not the currency in the system settings.  Start and end lines of the code that needs to be replaced would really help.  Many thanks in advance.   row-&gt;prices)){ echo JText::&#95;('FREE&#95;PRICE'); } else { $config =&amp; hikashop&#95;config();  $first = true; echo JText::&#95;('PRICE&#95;BEGINNING'); foreach($this-&gt;row-&gt;prices as $i =&gt; $price) { if($first) $first = false; else echo JText::&#95;('PRICE&#95;SEPARATOR');  if(!empty($this-&gt;unit) &amp;&amp; isset($price-&gt;unit&#95;price)) { $price = $price-&gt;unit&#95;price; } if(!isset($price-&gt;price&#95;currency&#95;id)) $price-&gt;price&#95;currency&#95;id = hikashop&#95;getCurrency();  $classes = array('hikashop&#95;product&#95;price hikashop&#95;product&#95;price&#95;'.$i); if(!empty($this-&gt;row-&gt;discount)) { $classes&#91;&#93;='hikashop&#95;product&#95;price&#95;with&#95;discount'; } echo ''; if($this-&gt;params-&gt;get('price&#95;with&#95;tax')){ echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if((int)$this-&gt;params-&gt;get('show&#95;original&#95;price', -1) == -1) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;original&#95;price', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;with&#95;tax, $price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); } echo ' ';  if(!empty($this-&gt;row-&gt;discount) &amp;&amp; isset($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { if($this-&gt;params-&gt;get('show&#95;discount', 3) == 3) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;discount', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;discount') == 1) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if(bccomp($this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, 0, 5) !== 0) { if(!$this-&gt;unit) $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount = $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount &#42; $this-&gt;row-&gt;cart&#95;product&#95;quantity; echo $this-&gt;currencyHelper-&gt;format(-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, $price-&gt;price&#95;currency&#95;id); } else { echo (-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;percent&#95;amount) . '%'; } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } elseif($this-&gt;params-&gt;get('show&#95;discount') == 2) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount,$price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;AFTER&#95;ORIG'); } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } } } echo JText::&#95;('PRICE&#95;END'); } ?&gt;")*

Hi,

When you arrive on the website, HikaShop will select for you a currency. By default it's the currency you have configured in the HikaShop configuration as "main currency".
You can configure the "geolocation" plugin to set the currency of the customer based on his country (using his IP address).
You can also enable the HikaShop currency switcher to let him select the currency in which he will see the prices.
The goal is that even if you have a vendor selling his products in RUB, a French customer will see the prices in EUR since when they will pay it will be in EUR.
Since you don't have that case, how about using the geolocation plugin to force the currency ? It will help but it won't be perfect.
Ideally, you would need to develop a plugin in order to force the currency currency by looking at the products in the cart when the cart is being loaded.

I don't think that changing the views of HikaShop to force the currency of the price being displayed will be enough since the price that will be sent to the payment gateway and recorded in the order will still be in the current currency, and not the original one.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5OTE1NS1yZW1vdmluZy1zeXN0ZW0tY3VycmVuY3ktdG8tc3dvdy1vbmx5LXByb2R1Y3QtY3VycmVuY3k/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")**
- [![mjs23112005's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58949-mjs23112005 "View mjs23112005's Profile") Topic Author
- [ Offline](/forum/user/58949-mjs23112005)

Less More

- Posts: 25
- Thank you received: 0
-
-

6 years 9 months ago [\#315540](#315540) by [mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")  Replied by *[mjs23112005](/forum/user/58949-mjs23112005 "View mjs23112005's Profile")* on topic *[Removing System Currency to Swow only Product Currency](/forum/27-checkout/899155-removing-system-currency-to-swow-only-product-currency#315540 "Hi,  I have seen there have been a number of threads on this but all seem a few years ago.  I know where I need to edit but all attempts using other posts info have failed.  Can you please let me know what in the code I need to edit to remove the original currency to only show the currency selected in the product, not the currency in the system settings.  Start and end lines of the code that needs to be replaced would really help.  Many thanks in advance.   row-&gt;prices)){ echo JText::&#95;('FREE&#95;PRICE'); } else { $config =&amp; hikashop&#95;config();  $first = true; echo JText::&#95;('PRICE&#95;BEGINNING'); foreach($this-&gt;row-&gt;prices as $i =&gt; $price) { if($first) $first = false; else echo JText::&#95;('PRICE&#95;SEPARATOR');  if(!empty($this-&gt;unit) &amp;&amp; isset($price-&gt;unit&#95;price)) { $price = $price-&gt;unit&#95;price; } if(!isset($price-&gt;price&#95;currency&#95;id)) $price-&gt;price&#95;currency&#95;id = hikashop&#95;getCurrency();  $classes = array('hikashop&#95;product&#95;price hikashop&#95;product&#95;price&#95;'.$i); if(!empty($this-&gt;row-&gt;discount)) { $classes&#91;&#93;='hikashop&#95;product&#95;price&#95;with&#95;discount'; } echo ''; if($this-&gt;params-&gt;get('price&#95;with&#95;tax')){ echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format(@$price-&gt;price&#95;value, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if((int)$this-&gt;params-&gt;get('show&#95;original&#95;price', -1) == -1) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;original&#95;price', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;with&#95;tax, $price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); } echo ' ';  if(!empty($this-&gt;row-&gt;discount) &amp;&amp; isset($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { if($this-&gt;params-&gt;get('show&#95;discount', 3) == 3) { $defaultParams = $config-&gt;get('default&#95;params'); $this-&gt;params-&gt;set('show&#95;discount', $defaultParams); } if($this-&gt;params-&gt;get('show&#95;discount') == 1) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if(bccomp($this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, 0, 5) !== 0) { if(!$this-&gt;unit) $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount = $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount &#42; $this-&gt;row-&gt;cart&#95;product&#95;quantity; echo $this-&gt;currencyHelper-&gt;format(-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;flat&#95;amount, $price-&gt;price&#95;currency&#95;id); } else { echo (-1 &#42; $this-&gt;row-&gt;discount-&gt;discount&#95;percent&#95;amount) . '%'; } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } elseif($this-&gt;params-&gt;get('show&#95;discount') == 2) { echo ''.JText::&#95;('PRICE&#95;DISCOUNT&#95;START'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount&#95;with&#95;tax, $price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;value&#95;without&#95;discount,$price-&gt;price&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } if($this-&gt;params-&gt;get('show&#95;original&#95;price') &amp;&amp; !empty($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax)) { echo JText::&#95;('PRICE&#95;BEFORE&#95;ORIG'); if($this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount&#95;with&#95;tax,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;BEFORE&#95;TAX'); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2 || !$this-&gt;params-&gt;get('price&#95;with&#95;tax')) { echo $this-&gt;currencyHelper-&gt;format($price-&gt;price&#95;orig&#95;value&#95;without&#95;discount,$price-&gt;price&#95;orig&#95;currency&#95;id); } if($this-&gt;params-&gt;get('price&#95;with&#95;tax') == 2) { echo JText::&#95;('PRICE&#95;AFTER&#95;TAX'); } echo JText::&#95;('PRICE&#95;AFTER&#95;ORIG'); } echo JText::&#95;('PRICE&#95;DISCOUNT&#95;END').''; } } } echo JText::&#95;('PRICE&#95;END'); } ?&gt;")*

Hi,

Thank you for that and can see how that would work for all 99.9% of cases.

Its not quite what we need as we have created a currency for the Pts so wanted it to be that only for some products points would be the only payment method.

Thank you fo your help and I think we will have to go down the route as you advise of a plug-in that can force certain products to only show the product currency.

Thank you for your help on this and possible solutions.

Much appreciated.

Mike

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5OTE1NS1yZW1vdmluZy1zeXN0ZW0tY3VycmVuY3ktdG8tc3dvdy1vbmx5LXByb2R1Y3QtY3VycmVuY3k/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.055 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
