View Single Post
  #149  
Old 11-06-2009, 07:16 PM
 
lash lash is offline
 

Senior Member
  
Join Date: Oct 2006
Posts: 138
 

Default Re: Recently Viewed Mod

Quote:
Originally Posted by TheWrongGrape
Is it because the thumbnail URL for the recently viewed products aren't secure? Try this in product.tpl instad of the line that's there now.
Code:
<img src="{$product.image_url|replace:'http://':'https://'}">
It just replaces the http:// in the generated URL for the image with https://


So instead of:
prodImage='<img src="{$product.image_url}"/>';
I write:
prodImage='<img src="{$product.image_url|replace:'http://':'https://'}">

I tried the above and some other combinations but it didn't work for me. Please tell me I am wrong..
__________________
4.1.9
www.lash.se
Reply With Quote