Jump to content

Blockcart SSL Problem


Recommended Posts

Hi all .

 

my ssl giving problem with blockcart

 

proglem is cart-images href is http not https

 

how can i do https cart-images 

 

 
<a class="cart-images" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'cart_default')}" alt="{$product.name|escape:'html':'UTF-8'}" /></a>

 

 

Link to comment
Share on other sites

Yeah, you'll probably have problems with other modules too (unprotected forms in secure pages like search form in top, newsletter form etc.).

You need to detect secured page and apply it on links.

Here is diff code for themes/default-bootstrap/js/modules/blockcart/ajax-cart.js, you can try it (make backup first): pastebin.com/bJHTzipm

 

// Edit: I forgot to add that provided code is based od PS 1.6.0.6.

Edited by deuterit (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...