View Single Post
  #54  
Old 07-27-2015, 07:49 AM
 
aim aim is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 928
 

Default Re: X-Cart 4.7 beta:new skin, in-context checkout, custom order statuses, Smarty v3

Quote:
Originally Posted by cflsystems
That's not the case. Your suggestion does not work.

Both stores have this option OFF on 4.6.6 and 4.4.5 carts. Everything works there as it should. It is an upgrade so the option is OFF on the upgraded store as well. And the language variables are not assigned. I tried with the option ON and it is the same result.

Have you cleared the var/cache dir after the " Use cache for language variables " setting is enabled ?

By the way,
starting with X-Cart version 4.7.0 the tool was renamed from 'Clear templates/X-Cart Cache' to 'Clear X-Cart Cache' because the Clear templates operation is no longer needed and the tool no longer does it. However, we kept the ability to clear compiled templates for the http://www.yoursite.com/xcart/cleanup.php script.

Why do you need to clear var/templates_c dir ?

4.7.x uses
$templater->compile_id = $templater->getCompileId();
http://www.smarty.net/docs/en/variable.compile.id.tpl
feature.

getCompileId() is defined as combination of the active pre/post smarty filters and the current skin


Code:
$key = ''; $key .= (!empty($this->registered_filters['post']) ? serialize($this->registered_filters['post']) : ''); $key .= (!empty($this->registered_filters['pre']) ? serialize($this->registered_filters['pre']) : ''); $key .= $config['alt_skin']; $key .= (defined('DEVELOPMENT_MODE') ? 'dev' : '');
__________________
Sincerely yours,
Ildar Amankulov
Head of Maintenance group
Reply With Quote