Skip to main content

Variable with currency code or ID in banktransfer_end.php

More
8 years 11 months ago #281367 by FilipHradil
-- HikaShop version -- : 3.2.1

Hello,

please, how can I get currency code or ID in file of payment method banktransfer_end.php?
And also order_creation_notification_preload please.


Thank you
Filip

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #281371 by Jerome
Hello,

The currency id is stored in the order object, under "order_currency_id".

Regards,

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

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago - 8 years 11 months ago #281398 by FilipHradil
Thank you very much.

Like this?
$order->order_currency_id

It does not work in banktransfer_end.php file.


Thank you
F.
Last edit: 8 years 11 months ago by FilipHradil.

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #281405 by nicolas
Hi,

In the banktransfer_end file it should be $this->order->order_currency_id
In the email, it is in $cart->order_currency_id

Please Log in or Create an account to join the conversation.

More
8 years 11 months ago #281512 by FilipHradil
Hello Nicolas,


thank you. IT works!

F.
The following user(s) said Thank You: Philip

Please Log in or Create an account to join the conversation.

Time to create page: 0.205 seconds
Powered by Kunena Forum