Home / PrestaShop 1.7.7

PrestaShop 1.7.7

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 »

[Error] Try to acccess array offset on value of type null in apgencode.php line 106

Hi If you see error Try to acccess array offset on value of type null in apgencode.php line 106 please follow my guide to fix open file /modules/appagebuilder/classes/shortcodes/ApGenCode.php find code: $profile_data = $module->getProfileData(); $profile_folder = $profile_data[‘profile_key’]; remove it code: $file_url = apPageHelper::getConfigDir(‘theme_profiles’).$profile_folder.’/’.$file_name; replace it with $file_url = apPageHelper::getConfigDir(‘theme_profiles’).’/’.$file_name; find the …

Read More »

No image available when click attribute Prestashop 1.7.7.0

Hi, When you using Prestashop, You click on attribute and got error No image available Please follow my guide to fix: open file root\themes\YOURTHEME\templates\catalog\_partials\product-cover-thumbnails.tpl replace all $product.default_image to $product.cover When you using prestashop < 1.7.7.0 such as 1.7.6.9 You got this error no image available open file root\themes\YOURTHEME\templates\catalog\_partials\product-cover-thumbnails.tpl replace all …

Read More »