Hi.
I want to show the Currency Switcher in Checkout page. I know there is a module named "HikaShop Currency Switcher Module" for Hikashop to do switches between currencies, but I don't want to show that switcher in any module.
So I've found a solution myself. To do so, change the module position of module "HikaShop Currency Switcher Module" to any custom position. I did changed to "currencyswitcher". The only thing you need now, is to use that position in Content - Load Module plugin. You may put
{loadposition currencyswitcher}
in any article you want.
But I did not wanted to put the switcher to an article. I wanted to put that in checkout page. So I did found another solution. I've found "cart.php" in ../components/com_hikashop/views/checkout/tmpl that presents our checkout page. So the only change I needed to do in this file was to add a Joomla API that bring this ability to render modules in scripts.
Here it is :
jimport('joomla.application.module.helper');
$mods = JModuleHelper::getModules('currencymanager');
And put this line of code where ever the switcher must appear:
echo JModuleHelper::renderModule($mods[0]);
It shows the switcher in checkout page, But it does not switch the currencies anyway. So I asked you for help, if it's possible to add switcher in checkout page only. Any help will be appreciated.