• Resolved spiritrek

    (@spiritrek)


    I have an embeddable store on my website and the store uses an html code to function. I’ve had the store on my website for around a year now. When I went to make some adjustments to my website again this past month, I realized the embedded store no longer shows up. I’m not sure why it no longer works. After trying some troubleshooting and playing with the code, I’ve had no success (I’m a beginner). I tried putting the code using Text and also using a Raw HTML widget on the back end WordPress Editor. Below is the code.

    <div id="my-store-1208150"></div>
    <div><script src="https://app.ecwid.com/script.js?1208150" type="text/javascript" charset="utf-8"></script><script type="text/javascript">// <![CDATA[
    xProductBrowser("categoriesPerRow=3","views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","id=my-store-1208150");
    // ]]></script></div>
    
    <div id="my-search-1208150"></div>
    <div><script src="https://app.ecwid.com/script.js?1208150" type="text/javascript" charset="utf-8"></script><script type="text/javascript">// <![CDATA[
    xSearchPanel("id=my-search-1208150");
    // ]]></script></div>
    
    <script type="text/javascript"><!--
    document.write(unescape("%3Cscript id='pap_x2s6df8d' src='" + (("https:" == document.location.protocol) ? "https://" : "https://") + 
    "realmdynamics.postaffiliatepro.com/scripts/trackjs.js' type='text/javascript'%3E%3C/script%3E"));//-->
    </script>
    <script type="text/javascript"><!--
    PostAffTracker.setAccountId('default1');
    try {
    var AffiliateID='03f2e6c3';
    PostAffTracker.track();
    } catch (err) { }
    //-->
    </script>

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Your site uses https but you’re calling your external code with http, so it’s blocked by the browser. Change all the http links in your script to https.

    “Blocked loading mixed active content “https://app.ecwid.com/script.js?1208150””

    Try replacing http: with https: to all of your calls to that script – and if your store program vendor does not support https then you need to replace it, but I can’t imagine that they don’t if it’s still being maintained, its standard in ecommerce these days. It also may require a switch in your store settings to serve to an SSL

    You can avoid conflicts in calling to a server you don’t know if you should use http or https, by using // “//app.ecwid.com/script.js?1208150” but your problem is that you are using ssl and calling to unencrypted content on the store server,

    Thread Starter spiritrek

    (@spiritrek)

    Thanks! I needed to activate my SSL certificate on my website.

    Hi @spiritrek,

    Another solution here is to use the Ecwid’s official plugin for WordPress instead of copying and pasting embedded code. The plugin always uses https links and you won’t have this problem if you use the plugin.

    Thanks,

    Moderator note: Edited to add this link:

    https://www.ads-software.com/plugins/ecwid-shopping-cart/

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Embedded HTML Stopped Working’ is closed to new replies.