Search the Community
Showing results for tags 'lojalnościowy'.
-
Program lojalnościowy Presta 1.7 moduł Loyalty problem
vendan posted a question in Wsparcie i pomoc użytkowników
Witam. Musze zupgradować skle z presty 1.5 do 1.7. W prescie 1.5 działał (i ludzie już nazbierali punktów chodzi o moduł z presty 'Lojalność klientów i nagrody v1.8 - z PrestaShop' ) więc próbowałem go również zaszczepić do presty 1.7 z tą myślą że punkty razem z bazą znajdą się w nowym sklepie już. Ale tu problem. Moduł się instaluje, konfiguruje, ALE przy próbie wejścia do koszyka pokazuje się biała strona. Przy włączonych błędach pisze tak : Whoops, looks like something went wrong. 1/1 SmartyCompilerException in smarty_internal_templatecompilerbase.php line 32: Syntax error in template "modules/loyalty/views/templates/hook/shopping-cart.tpl" on line 32 "{l s='that can be converted into a voucher of' mod='loyalty'} {convertPrice price=$voucher}{if isset($guest_checkout) && $guest_checkout}<sup>*</sup>{/if}.<br />" unknown tag "convertPrice" in smarty_internal_templatecompilerbase.php line 32 at Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown tag "convertPrice"', '32') in smarty_internal_templatecompilerbase.php line 547 at Smarty_Internal_TemplateCompilerBase->compileTag('convertPrice', array(array('price' => '$_smarty_tpl->tpl_vars['voucher']->value'))) in smarty_internal_templateparser.php line 3564 at Smarty_Internal_Templateparser->yy_r37() in smarty_internal_templateparser.php line 4392 at Smarty_Internal_Templateparser->yy_reduce('37') in smarty_internal_templateparser.php line 4493 at Smarty_Internal_Templateparser->doParse('3', '}') in smarty_internal_smartytemplatecompiler.php line 118 at Smarty_Internal_SmartyTemplateCompiler->doCompile('{* * 2007-2013 PrestaShop * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this package in the file LICENSE.txt. * It is also available through the world-wide-web at this URL: * http://opensource.org/licenses/afl-3.0.php * If you did not receive a copy of the license and are unable to * obtain it through the world-wide-web, please send an email * to [email protected] so we can send you a copy immediately. * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade PrestaShop to newer * versions in the future. If you wish to customize PrestaShop for your * needs please refer to http://www.prestashop.com for more information. * * @author PrestaShop SA <[email protected]> * @copyright 2007-2013 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} <!-- MODULE Loyalty --> <p id="loyalty"> <img src="{$module_template_dir}images/loyalty.gif" alt="{l s='loyalty' mod='loyalty'}" class="icon" /> {if $points > 0} {l s='By checking out this shopping cart you can collect up to' mod='loyalty'} <b> {if $points > 1}{l s='%d loyalty points' sprintf=$points mod='loyalty'}{else}{l s='%d loyalty point' sprintf=$points mod='loyalty'}{/if}</b> {l s='that can be converted into a voucher of' mod='loyalty'} {convertPrice price=$voucher}{if isset($guest_checkout) && $guest_checkout}<sup>*</sup>{/if}.<br /> {if isset($guest_checkout) && $guest_checkout}<sup>*</sup> {l s='Not available for Instant checkout order' mod='loyalty'}{/if} {else} {l s='Add some products to your shopping cart to collect some loyalty points.' mod='loyalty'} {/if} </p> <!-- END : MODULE Loyalty -->') in smarty_internal_templatecompilerbase.php line 283 at Smarty_Internal_TemplateCompilerBase->compileTemplate(object(Smarty_Dev_Template)) in smarty_internal_template.php line 197 at Smarty_Internal_Template->compileTemplateSource() in smarty_internal_templatebase.php line 155 at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false) in SmartyDev.php line 60 at Smarty_Dev_Template->fetch() in Module.php line 2242 at ModuleCore->display('/home/foset2/domains/trend-zone.pl/public_html/modules/loyalty/loyalty.php', 'shopping-cart.tpl') in loyalty.php line 530 at Loyalty->hookShoppingCart(array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '2')) in Hook.php line 895 at HookCore::coreCallHook(object(Loyalty), 'hookshoppingCart', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '2')) in Hook.php line 331 at HookCore::callHookOn(object(Loyalty), 'displayShoppingCartFooter', array('smarty' => object(Smarty_Dev_Template), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => '2')) in Hook.php line 843 at HookCore::exec('displayShoppingCartFooter', array('smarty' => object(Smarty_Dev_Template)), null) in smarty.config.inc.php line 168 at smartyHook(array('h' => 'displayShoppingCartFooter'), object(Smarty_Dev_Template)) at call_user_func_array('smartyHook', array(array('h' => 'displayShoppingCartFooter'), object(Smarty_Dev_Template))) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayShoppingCartFooter'), object(Smarty_Dev_Template))) in smarty_internal_templatebase.php(157) : eval()'d code line 230 at SmartyLazyRegister->smartyHook(array('h' => 'displayShoppingCartFooter'), object(Smarty_Dev_Template)) in smarty_internal_templatebase.php(157) : eval()'d code line 230 at content_5ae1dbd193d5a2_62144729(object(Smarty_Dev_Template)) in smarty_internal_templatebase.php line 188 at Smarty_Internal_TemplateBase->fetch('checkout/cart.tpl', null, 'layouts/layout-left-column.tpl', null, false, true, false) in SmartyDev.php line 41 at SmartyDev->fetch('checkout/cart.tpl', null, 'layouts/layout-left-column.tpl') in FrontController.php line 671 at FrontControllerCore->smartyOutputContent('checkout/cart.tpl') in FrontController.php line 655 at FrontControllerCore->display() in Controller.php line 225 at ControllerCore->run() in Dispatcher.php line 379 at DispatcherCore->dispatch() in index.php line 28 da się coś z tym zrobić ?? czy to w ogóle inne bajki i skazany jestem na płatne moduły ?? dziękuję za odpowiedź i pozdrawiam