keithg

SMARTY GLOBAL VARIBLE – PRESTASHOP

{$base_dir_ssl} URL of your store when SSL certificate is active {$base_dir} URL of your store {$cart} Information about cart. Read entries below for more informations {$cart->id} ID of customer cart {$cart->id_shop_group} ID of shop group (multistore feature) {$cart->id_shop} ID of shop (multistore feature) {$cart->id_address_delivery} ID of customer address delivery (only if...Read more …
keithg

update hook in pretashop 1.7

http://www.prestarocket.com/blog/prestashop-1-7-hook-list-liste-des-hooks/ As you already know PrestaShop 1.7.x has totally new template called “classic” theme. New version of PrestaShop contains many changes, these changes affects each available visible part of the shop, also from technical point of view. So – new version of PrestaShop 1.7.x has many new hooks, some of...Read more …
keithg

Hook list – prestashop

Prestashop hook list In this papper you will found informations about default hooks in Prestashop. Firstly, in simple words, we will write about Prestashop solution called HOOKs. What is a “Hook” in Prestashop ? As you’ve probably know, Prestashop is a web software that allows anybody to create modules, which...Read more …
dhavalp

Gloabal ajax request loader functionality

We can use defaul jQuery-ajax method for display ajax loader on multiple ajax request by using below formula. var activeAjaxCount = 0; $( document ).ajaxStart(function() { activeAjaxCount++; $(‘#msg_writter’).show(); }); $( document ).ajaxComplete(function() { activeAjaxCount–; if (activeAjaxCount == 0) { $(‘#msg_writter’).hide(); } });Read more …