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

#   Main currency issue

##

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 4 months ago -  10 years 4 months ago [\#246047](#246047) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  *[Main currency issue](/forum/35-orders-management/885685-main-currency-issue#246047 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6  Hi,  as seen in the screen shots, the front end shows the original and shop main currency well and correct.  Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.  Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.  Thanks for the setting or code in a specific php file. (I am not a programmer)  Regards Thomas")* was created by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6

Hi,

as seen in the screen shots, the front end shows the original and shop main currency well and correct.

Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.

Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.

Thanks for the setting or code in a specific php file. (I am not a programmer)

Regards
Thomas

[ ![main&#95;currency&#95;frontend.png](/forum/attachment/32732) ](/forum/attachment/32732 "...y&#95;frontend.png")

[ ![main&#95;currency.png](/forum/attachment/32731) ](/forum/attachment/32731 "main&#95;currency.png")

- [ ![main&#95;currency.png](/forum/attachment/32731) ](/forum/attachment/32731 "main&#95;currency.png") [ ](/forum/attachment/32731?download=1 "main&#95;currency.png")
- [ ![main&#95;currency&#95;frontend.png](/forum/attachment/32732) ](/forum/attachment/32732 "...y&#95;frontend.png") [ ](/forum/attachment/32732?download=1 "...y&#95;frontend.png")

Last edit: 10 years 4 months ago by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NTY4NS1tYWluLWN1cnJlbmN5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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: 86583
- Thank you received: 14324
-
-

10 years 4 months ago [\#246070](#246070) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Main currency issue](/forum/35-orders-management/885685-main-currency-issue#246070 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6  Hi,  as seen in the screen shots, the front end shows the original and shop main currency well and correct.  Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.  Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.  Thanks for the setting or code in a specific php file. (I am not a programmer)  Regards Thomas")*

Hi,

The modification is in the same vain as what you already did on the listing of orders:
[ www.hikashop.com/support/forum/orders-ma...back-end.html#245013](http://www.hikashop.com/support/forum/orders-management/885469-orders-in-main-currency-back-end.html#245013)
Instead, you have to edit the file "show_products" and add the code:
echo ' ('.$this-&gt;currencyHelper-&gt;format(($this-&gt;currencyHelper-&gt;convertUniquePrice($product-&gt;order_product_price,$this-&gt;order-&gt;order_currency_id,hikashop_getCurrency()), $this-&gt;order-&gt;order_currency_id).')';

after the line:
echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_price, $this-&gt;order-&gt;order_currency_id);

Please note that for such customizations, you should contact a developer.
We can't continue giving you custom code for all the views of HikaShop for each thing you want to change.

The following user(s) said Thank You: [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")

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

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 4 months ago [\#246134](#246134) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  Replied by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")* on topic *[Main currency issue](/forum/35-orders-management/885685-main-currency-issue#246134 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6  Hi,  as seen in the screen shots, the front end shows the original and shop main currency well and correct.  Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.  Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.  Thanks for the setting or code in a specific php file. (I am not a programmer)  Regards Thomas")*

Hi, I fully understand that and appreciate your given code. Thank you very much for that. I will try to limit further issues and questions to errors and questions of not understanding, or like the bug in the wishlist.
Thanks again and keep the good job up.
Kind regards
Thomas

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

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 4 months ago [\#246136](#246136) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  Replied by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")* on topic *[Main currency issue](/forum/35-orders-management/885685-main-currency-issue#246136 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6  Hi,  as seen in the screen shots, the front end shows the original and shop main currency well and correct.  Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.  Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.  Thanks for the setting or code in a specific php file. (I am not a programmer)  Regards Thomas")*

Hi,
sadly the code doesn't do the job. I am sorry, but at last the code should be correct right? It just destroys the back-end view.
Regards
[ ![second&#95;price&#95;code&#95;wrong.png](/forum/attachment/32752) ](/forum/attachment/32752 "...code&#95;wrong.png")

- [ ![second&#95;price&#95;code&#95;wrong.png](/forum/attachment/32752) ](/forum/attachment/32752 "...code&#95;wrong.png") [ ](/forum/attachment/32752?download=1 "...code&#95;wrong.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 4 months ago [\#246145](#246145) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Main currency issue](/forum/35-orders-management/885685-main-currency-issue#246145 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6  Hi,  as seen in the screen shots, the front end shows the original and shop main currency well and correct.  Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.  Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.  Thanks for the setting or code in a specific php file. (I am not a programmer)  Regards Thomas")*

Hi,

It means that you have a PHP fatal error below in your page.
I think that you made a PHP mistake during your "copy/paste".
Please check your page code and your PHP error log.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

- **[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")**
- [![thomasf's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/beer.png)](/forum/user/43287-thomasf "View thomasf's Profile") Topic Author
- [ Offline](/forum/user/43287-thomasf)

Less More

- Posts: 128
- Thank you received: 1
-
-
-
- [](http://www.jetshop24.net)
-

10 years 4 months ago [\#246176](#246176) by [thomasf](/forum/user/43287-thomasf "View thomasf's Profile")  Replied by *[thomasf](/forum/user/43287-thomasf "View thomasf's Profile")* on topic *[Main currency issue](/forum/35-orders-management/885685-main-currency-issue#246176 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6  Hi,  as seen in the screen shots, the front end shows the original and shop main currency well and correct.  Yet when going to the back-end, in the orders and the product listing it just shows the buyers selected currency, and nut both, hence selected and main shop currency as in the front end.  Please help me to display the main shop currency, in my case its Pounds always next to the selected currency.  Thanks for the setting or code in a specific php file. (I am not a programmer)  Regards Thomas")*

Hi,
I solved the problem, but had to change the code more. For anybody who is interested in having the order price without handling and shipping fee shown, here is the working part to modify in the show_products.php file starting at line 212.

?&gt;&lt;/td&gt;
&lt;td class="hikashop_order_item_quantity_value"&gt;&lt;?php echo $product-&gt;order_product_quantity;?&gt;&lt;/td&gt;
&lt;td class="hikashop_order_item_total_price_value"&gt;&lt;?php echo $this-&gt;currencyHelper-&gt;format($product-&gt;order_product_total_price, $this-&gt;order-&gt;order_currency_id);echo ' ('.$this-&gt;currencyHelper-&gt;format($this-&gt;currencyHelper-&gt;convertUniquePrice($product-&gt;order_product_total_price,$this-&gt;order-&gt;order_currency_id,hikashop_getCurrency()),hikashop_getCurrency).')';?&gt;&lt;/td&gt;
&lt;?php

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NTY4NS1tYWluLWN1cnJlbmN5LWlzc3VlP3RtcGw9bWFya2Rvd24=) 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.081 seconds

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