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

#   Wrong currency with HikaSerial AttachSerial

##

- **[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")**
- [![cskmanagement's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34856.png)](/forum/user/34856-cskmanagement "View cskmanagement's Profile") Topic Author
- [ Offline](/forum/user/34856-cskmanagement)

Less More

- Posts: 33
- Thank you received: 1
-
-
- [](http://www.cskmanagement.com)
-

9 years 11 months ago -  9 years 11 months ago [\#255512](#255512) by [cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")  *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255512 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")* was created by *[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")*

-- HikaShop version -- : 2.6.4
-- HikaSerial version -- : 1.10.3
-- Joomla version -- : 3.6.4
-- Browser(s) name and version -- : any

I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price.
As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF.
In HikaShop, I have defined CHF as the main currency. So, all the tickets show "CHF" as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows "CHF" but with the number that represents the Euro price. Of course, this is not correct.

Example: CHF price is CHF 189 and EUR price is EUR 169.
So, for customers who paid in CHF, it shows "CHF 189", which is correct.
But for customers who paid in EUR, it should show "EUR 169" but it shows "CHF 169" ![:-(](/media/kunena/emoticons/4.png ":-(")

How can I avoid this? It looks to me as if it is a bug.
Thanks for your help!

Chris

---

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
CSK Management

[ www.cskmanagement.com](http://www.cskmanagement.com)

Last edit: 9 years 11 months ago by [cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE2LXNlcmlhbC1idWctcmVwb3J0Lzg4NzUzNC13cm9uZy1jdXJyZW5jeS13aXRoLWhpa2FzZXJpYWwtYXR0YWNoc2VyaWFsP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#255515](#255515) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255515 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")*

Hi,

Would it be possible to have more details about your configuration in order to reproduce it in a local test website ?
(pack, generator, sample order, element which show the issue, etc)

Regards,

---

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

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

- **[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")**
- [![cskmanagement's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34856.png)](/forum/user/34856-cskmanagement "View cskmanagement's Profile") Topic Author
- [ Offline](/forum/user/34856-cskmanagement)

Less More

- Posts: 33
- Thank you received: 1
-
-
- [](http://www.cskmanagement.com)
-

9 years 11 months ago [\#255550](#255550) by [cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")  Replied by *[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")* on topic *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255550 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")*

Hi Jérôme

Sure.
Here is what I believe could be important:
Pack "3B tickets":
- Pack Data: Pack SQL Data
Main Configuration in HikaShop:
- Main Currency: CHF
Generator:
- "seriesgen - ticketserie3": Generated with "Series - HikaSerial Generator plugin"
Product:
- Prices defined for CHF and EUR (both for quantities 1 - 10)
- with Serials attached "3B Tickets"

I also tried to switch the main Hikashop currency to EUR but if someone who chooses CHF
will get the ticket as attached. So it seems that the ticket always shows the main currency but the amount of the chosen currency.  [ ![image582db91dd2367.jpg](/forum/attachment/34697) ](/forum/attachment/34697 "...db91dd2367.jpg")

I am happy to provide you with access to our site if you wish.

regards,
Chris

---

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
CSK Management

[ www.cskmanagement.com](http://www.cskmanagement.com)

- [ ![image582db91dd2367.jpg](/forum/attachment/34697) ](/forum/attachment/34697 "...db91dd2367.jpg") [ ](/forum/attachment/34697?download=1 "...db91dd2367.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE2LXNlcmlhbC1idWctcmVwb3J0Lzg4NzUzNC13cm9uZy1jdXJyZW5jeS13aXRoLWhpa2FzZXJpYWwtYXR0YWNoc2VyaWFsP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#255580](#255580) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255580 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")*

Hi,

Please provide details about the order and your "attach serial" configuration.

Regards,

---

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

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

- **[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")**
- [![cskmanagement's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34856.png)](/forum/user/34856-cskmanagement "View cskmanagement's Profile") Topic Author
- [ Offline](/forum/user/34856-cskmanagement)

Less More

- Posts: 33
- Thank you received: 1
-
-
- [](http://www.cskmanagement.com)
-

9 years 11 months ago [\#255591](#255591) by [cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")  Replied by *[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")* on topic *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255591 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")*

I have created a sample order:
- Chosen currency (Currency Switcher): EUR
- Invoice amount: EUR 169 + VAT + Shipping = EUR 204.12

However, Ticket shows CHF 169 (it's written there that VAT and other costs are not shown, this is ok) instead of EUR 169

Please find attached:
- screenshot of order overview in backend
- ticket with wrong currency (shows CHF instead of EUR)
- screenshot of AttachSerial settings and pack settings (several screenshots)

hope this helps...

regards and thanks in advance,
Chris

---

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
CSK Management

[ www.cskmanagement.com](http://www.cskmanagement.com)

- [ ![AttachSerialConfig-01.JPG](/forum/attachment/34702) ](/forum/attachment/34702 "...lConfig-01.JPG") [ ](/forum/attachment/34702?download=1 "...lConfig-01.JPG")
- [ ![AttachSerialConfig-02.JPG](/forum/attachment/34703) ](/forum/attachment/34703 "...lConfig-02.JPG") [ ](/forum/attachment/34703?download=1 "...lConfig-02.JPG")
- [ ![AttachSerialConfig-Pack.jpg](/forum/attachment/34704) ](/forum/attachment/34704 "...onfig-Pack.jpg") [ ](/forum/attachment/34704?download=1 "...onfig-Pack.jpg")
- [ ![TestOrderinEUR.jpg](/forum/attachment/34705) ](/forum/attachment/34705 "...OrderinEUR.jpg") [ ](/forum/attachment/34705?download=1 "...OrderinEUR.jpg")
- [ ![testticket.jpg](/forum/attachment/34706) ](/forum/attachment/34706 "testticket.jpg") [ ](/forum/attachment/34706?download=1 "testticket.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE2LXNlcmlhbC1idWctcmVwb3J0Lzg4NzUzNC13cm9uZy1jdXJyZW5jeS13aXRoLWhpa2FzZXJpYWwtYXR0YWNoc2VyaWFsP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#255626](#255626) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255626 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")*

Hi,

The display of the currency is based on the "order_currency_id" ; if the value is not available it can explain why the currency is not right.
In the plugin, please replace the line Code:

$params-&gt;order = $order;

By Code:

$params-&gt;order = $fullOrder;

It will force the usage of the full order object from the database and assure the plugin that it will have the order_currency_id information.

Regards,

---

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

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

- **[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")**
- [![cskmanagement's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar34856.png)](/forum/user/34856-cskmanagement "View cskmanagement's Profile") Topic Author
- [ Offline](/forum/user/34856-cskmanagement)

Less More

- Posts: 33
- Thank you received: 1
-
-
- [](http://www.cskmanagement.com)
-

9 years 11 months ago [\#255640](#255640) by [cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")  Replied by *[cskmanagement](/forum/user/34856-cskmanagement "View cskmanagement's Profile")* on topic *[Wrong currency with HikaSerial AttachSerial](/forum/16-serial-bug-report/887534-wrong-currency-with-hikaserial-attachserial#255640 "-- HikaShop version -- : 2.6.4 -- HikaSerial version -- : 1.10.3 -- Joomla version -- : 3.6.4 -- Browser(s) name and version -- : any  I am selling Tickets that are created by HikaSerial AttachSerial. They also show the price. As I have a multicurrency shop, the tickets can be bought in USD, EUR, CHF. In HikaShop, I have defined CHF as the main currency. So, all the tickets show &quot;CHF&quot; as the currency with the ticket price. Unfortunately, even when customers switch the shop to EUR, (so customers also get a EUR price and pay in EUR) the ticket shows &quot;CHF&quot; but with the number that represents the Euro price. Of course, this is not correct.  Example: CHF price is CHF 189 and EUR price is EUR 169. So, for customers who paid in CHF, it shows &quot;CHF 189&quot;, which is correct. But for customers who paid in EUR, it should show &quot;EUR 169&quot; but it shows &quot;CHF 169&quot; :-(  How can I avoid this? It looks to me as if it is a bug. Thanks for your help!  Chris")*

wonderful. worked right away.
thanks a million, Jérôme!
very appreciated
Chris

---

\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
CSK Management

[ www.cskmanagement.com](http://www.cskmanagement.com)

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.102 seconds

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

[](#top)
