Recent Posts

How to update Prestashop theme version 1.7.8.9 to 8.0.4 – Leotheme

Update-Prestashop-theme-version-8.0.4

Dear valued customers, This blog is for all Leotheme’s users, who are using Prestashop themes version 1.7.8.9 from Leotheme. As we are going to update our themes to the latest Prestashop version 8.0.4, please follow our guide to update Prestashop theme version 8.0.4 I. Changes in the file folder of …

Read More »

The danger of iframe clickjacking and how to deal with it

Clickjacking It involves tricking a user into clicking something different from what they think it is. Let’s create a straightforward example with it. index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>A malicious website</title> <link rel="stylesheet" href="style.css"> </head> <body> <button>Just a button</button> <iframe id="banking-site-iframe" src="https://your-bank.com"></iframe> </body> </html> Above, we have …

Read More »

Leo Elements show content for each Product

Edit file tpl in ROOT\themes\THEME_NAME\templates\layouts\layout-both-columns.tpl Add code {if $page.page_name == ‘category’} {hook h=’displayContentTopCategory’} {/if} {if $page.page_name == ‘product’} {hook h=’displayContentTopProduct’} {/if}   Product Edit Product Preview   Category Edit Category Preview      

Read More »