Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Fix multilingual strings displayed in frontend hooks #41

Merged
merged 1 commit into from
May 22, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ps_legalcompliance.php
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ private function emptyTemplatesCache()

private function dumpHookDisplayProductPriceBlock(array $smartyVars, $hook_type, $additional_cache_param = false)
{
$cache_id = sha1($hook_type.$additional_cache_param);
$cache_id = sha1($hook_type.$additional_cache_param.$this->context->language->id);
$this->context->smarty->assign(array('smartyVars' => $smartyVars));
$this->context->controller->addJS($this->_path.'views/js/fo_aeuc_tnc.js', true);
$template = 'hookDisplayProductPriceBlock_'.$hook_type.'.tpl';
Expand Down