PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 10/22/2019 2:17 PM by  Will Strohl
Alt Img missing HTTPS
 3 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Author Messages





New Member






--
10/21/2019 4:14 PM
    Hey, I just launched a new site with Hotcakes and saw that the page with the product details did not load as secure. I checked the code, and it appears the additional images loads with the http:// prefix instead of https.

    Has anyone else noticed this? I checked out a few sites in the showcase and saw the same thing on those, so I don't think it's a problem with my customization.

    This appears to affect any value that is populated using @altImg. Does anyone have any suggestion where to go to fix this?





    Basic Member






    --
    10/21/2019 11:51 PM
    Hi Donald,

    I've come across a similar issue, I couldnt find a fix so I just wrote on the end of the image tag .Replace("http:", "https:")

    <a href="@altImg.MediumlUrl.Replace("http:", "https:")">
    <img src="@altImg.MediumlUrl.Replace("http:", "https:")" alt="@altImg.MediumlAltText" />
    </a>

    Seemed to have worked. Im sure there are better solutions.





    New Member






    --
    10/22/2019 9:23 AM
    Thank you Gilderroot! That did the trick. All pages on my site are displaying as secure now.





    Veteran Member






    --
    10/22/2019 2:17 PM
    In order to fully be SSL'd on your website, you'll need to "enforce" SSL in both DNN and Hotcakes Commerce.

    https://hotcakescommerce....ings-Store-Name-Logo
    Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
    You are not authorized to post a reply.


    Loading
    • Sign-up for the Hotcakes Community Newsletter: