permissions on theme
smarty escape html
{$diamond.cert_html nofilter}
register hook if not registered
if (!$this->isRegisteredInHook('someHook'))
$this->registerHook('someHook');
prestashop + git
simple implementation https://medium.com/@PolGuixe/deploying-a-prestashop-ecommerce-the-cloud-friendly-way-part-6-git-power-f43219585cb9 Setting up your local environment https://devdocs.prestashop.com/1.7/themes/getting-started/setting-up-your-local-environment/
smarty variables print_r
{$variable|print_r}
deploy
1. ps_shop_url domain (pvz: localhost) domain_ssl physical_uri (pvz /saitas/) 2. ps_configuration PS_SHOP_DOMAIN PS_SHOP_DOMAIN_SSL PS_SSL_ENABLED 3. clean cache: /var/cache (dev&prod dirs) 4. remove .htaccess file 5. admin->shop parameters->traffic(duomenu srautas ir SEO) a) disable friendly URL (Draugiškas URL) b) enable friendly URL