We enabled SSL today on our Server. Now many of the Links in the Shop are pointing from the https:// page to the http:// version. Shop version is 4.8.5
In many Locations this could be fixed, but for some things I cannot find the function to get the SSL-Link instead of the normal one.
Instead of “$oViewConf->getHomeLink()” for instance, I used “$oViewConf->getSslSelfLink()”, which seems to do the job.
But for instance on an article list page, all article links are non-ssl.
From the listitem_infogrid.tpl:
[{block name="widget_product_listitem_infogrid"}]
[{assign var="product" value=$oView->getProduct() }]
[{assign var="owishid" value=$oView->getWishId() }]
[{assign var="toBasketFunction" value=$oView->getToBasketFunction()}]
[{assign var="recommid" value=$oView->getRecommId() }]
[{assign var="showMainLink" value=$oView->getShowMainLink() }]
[{assign var="blDisableToCart" value=$oView->getDisableToCart() }]
[{assign var="iIndex" value=$oView->getIndex() }]
[{assign var="altproduct" value=$oView->getAltProduct() }]
[{if $showMainLink}]
[{assign var='_productLink' value=$product->getMainLink()}]
[{else}]
[{assign var='_productLink' value=$product->getLink()}]
[{/if}]
...
“$_productLink” is always a non-SSL link. I couldn’t find the right function to fix this. I hope someone can point me to a solution, as I couldn’t find it even when I looked through the oxid source code.
I cleared /tmp and of course made the entry in the config.inc.php. Also, some SSL-Links are there (for instance CSS and JS files are included with https), so in principle this should work.