Jump to content

Manufacturer Logo in product page corrupts https


Recommended Posts

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 by jamshidpour (see edit history)
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...