jamshidpour Posted December 29, 2016 Share Posted December 29, 2016 Dear mates, In product page, manufacturer logo corrupts https green lock, because it loads over http. Do you know how to fix it and load brand's logo over https ? Thanks in advance Link to comment Share on other sites More sharing options...
jamshidpour Posted December 29, 2016 Author Share Posted December 29, 2016 (edited) Found the solution the fix this issue, just open "product.tpl" file in theme folder and find this code: (Line 515 in Prestashop 1.6.1.7) <label>{l s="manufacture"} </label> <a style="display:inline-block;vertical-align:middle" href="{$link->getManufacturerLink($product_manufacturer->id)}"><img class="img-responsive" src="/img/m/{$product_manufacturer->id}-manu.jpg" alt="برند محصول"/></a> and replace following code with above code: <label>{l s="manufacture"} </label> <a style="display:inline-block;vertical-align:middle" href="{$link->getManufacturerLink($product_manufacturer->id)}"><img class="img-responsive" src="/img/m/{$product_manufacturer->id}-manu.jpg" alt="brand"/></a> with this small change, the brand's logo on product page will load over https and the problem will fix. Hope it helps لوازم خانگی Edited December 29, 2016 by jamshidpour (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now