Wrong currency with HikaSerial AttachSerial
- cskmanagement
-
Topic Author
- Offline
Less
More
9 years 11 months ago - 9 years 11 months ago #255512
by cskmanagement
________________________________
CSK Management
www.cskmanagement.com
Wrong currency with HikaSerial AttachSerial was created by cskmanagement
-- 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"
How can I avoid this? It looks to me as if it is a bug.
Thanks for your help!
Chris
-- 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"
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
Last edit: 9 years 11 months ago by cskmanagement.
Please Log in or Create an account to join the conversation.
9 years 11 months ago #255515
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Wrong currency with HikaSerial AttachSerial
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,
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 & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- cskmanagement
-
Topic Author
- Offline
9 years 11 months ago #255550
by cskmanagement
________________________________
CSK Management
www.cskmanagement.com
Replied by cskmanagement on topic Wrong currency with HikaSerial AttachSerial
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.
I am happy to provide you with access to our site if you wish.
regards,
Chris
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.
I am happy to provide you with access to our site if you wish.
regards,
Chris
________________________________
CSK Management
www.cskmanagement.com
Please Log in or Create an account to join the conversation.
9 years 11 months ago #255580
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Wrong currency with HikaSerial AttachSerial
Hi,
Please provide details about the order and your "attach serial" configuration.
Regards,
Please provide details about the order and your "attach serial" configuration.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- cskmanagement
-
Topic Author
- Offline
9 years 11 months ago #255591
by cskmanagement
________________________________
CSK Management
www.cskmanagement.com
Replied by cskmanagement on topic Wrong currency with HikaSerial AttachSerial
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
- 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
Please Log in or Create an account to join the conversation.
9 years 11 months ago #255626
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Wrong currency with HikaSerial AttachSerial
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
By
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,
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->order = $order;
Code:
$params->order = $fullOrder;
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
- cskmanagement
-
Topic Author
- Offline
9 years 11 months ago #255640
by cskmanagement
________________________________
CSK Management
www.cskmanagement.com
Replied by cskmanagement on topic Wrong currency with HikaSerial AttachSerial
wonderful. worked right away.
thanks a million, Jérôme!
very appreciated
Chris
thanks a million, Jérôme!
very appreciated
Chris
________________________________
CSK Management
www.cskmanagement.com
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.115 seconds