Variable with currency code or ID in banktransfer_end.php

  • Posts: 217
  • Thank you received: 4
6 years 5 months ago #281367

-- 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.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 5 months ago #281371

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 217
  • Thank you received: 4
6 years 5 months ago #281398

Thank you very much.

Like this?
$order->order_currency_id

It does not work in banktransfer_end.php file.


Thank you
F.

Last edit: 6 years 5 months ago by FilipHradil.

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
6 years 5 months ago #281405

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.

  • Posts: 217
  • Thank you received: 4
6 years 5 months ago #281512

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.064 seconds
Powered by Kunena Forum