emilg_fsdg Posted December 22, 2014 Share Posted December 22, 2014 Hey Guys, sorry if this is already covered elsewhere in the forums. I run 1.6x Prestashop in catalog mode. I have already managed to show the prices on catalog mode. But, I would also like to keep the currency block visible. Currently, even if the currency block is active and hooked to the top nav menu, it remains invisible. Anyone knows where I can 'tweak' the code to make the currency block visible in catalog mode ? Link to comment Share on other sites More sharing options...
El Patron Posted December 24, 2014 Share Posted December 24, 2014 module/blockcurrency find code like this and add // to stop check of catalog mode, note there maybe more than one check. private function _prepareHook($params) { //if (Configuration::get('PS_CATALOG_MODE')) // return false; if (!Currency::isMultiCurrencyActivated()) return false; $this->smarty->assign('blockcurrencies_sign', $this->context->currency->sign); return true; } Link to comment Share on other sites More sharing options...
emilg_fsdg Posted December 24, 2014 Author Share Posted December 24, 2014 module/blockcurrency find code like this and add // to stop check of catalog mode, note there maybe more than one check. private function _prepareHook($params) { //if (Configuration::get('PS_CATALOG_MODE')) // return false; if (!Currency::isMultiCurrencyActivated()) return false; $this->smarty->assign('blockcurrencies_sign', $this->context->currency->sign); return true; } Awesome, worked like charm. Many thanks 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now