-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[multi currency] #21
base: opencart1.5
Are you sure you want to change the base?
[multi currency] #21
Conversation
$this->data['currency_code'] = 'INR'; | ||
$this->data['display_currency'] = $order_info['currency_code']; | ||
$this->data['display_total'] = number_format($display_total, 2, '.', ''); | ||
$this->data['total'] = (int) round($this->currency->format($order_info['total'], 'INR', 1, false) * 100); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use $order_info['total']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ccrims0n Using order_info total
@@ -30,7 +35,7 @@ protected function index() | |||
if (file_exists(DIR_TEMPLATE.$this->config->get('config_template').'/template/payment/razorpay.tpl')) { | |||
$this->template = $this->config->get('config_template').'/template/payment/razorpay.tpl'; | |||
} else { | |||
$this->template = 'default/template/payment/razorpay.tpl'; | |||
$this->template = 'payment/razorpay.tpl'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change it back
Added multi currency for open cart 1.5