Hi, guys!
We've recently found out that the behavior of the smarty modificator
http://www.smarty.net/docs/en/language.modifier.default.tpl in
smarty3 (4.7.x) differs from the behavior in
smarty2 (46x).
The default smarty modificator won't work for 0 or false values, thus to make it work like in previous versions, we strongly recommend to delete the file include/lib/smarty3/plugins/modifiercompiler.default.php from the 4.7.х X-Cart installation (invoke: rm include/lib/smarty3/plugins/modifiercompiler.default.php via SSH / FTP).
After that you should delete the var/templates_c folder from the 4.7.x installation. It can be done manually via SSH / FTP or via
cleanup.php tool. This folder cannot be removed via admin backend e.g.
admin/tools.php.