Author Topic: Embedding Not Working  (Read 8169 times)

Offline empmdk

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Embedding Not Working
« on: January 22, 2017, 11:25:49 PM »
I have enabled the API  feature  and added a product.  After clicking the Embed Code button, the embed menu pops up and the preview is completely blank. If I try to embed the code into a website, it will not show anything. I have tried embedding into a basic .html file and still comes up blank. I'm not seeing any errors.
« Last Edit: January 22, 2017, 11:58:04 PM by empmdk »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Embedding Not Working
« Reply #1 on: January 23, 2017, 12:39:46 AM »
Hi.

Any errors in the browser console (install firebug if you use firefox)?

Offline empmdk

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #2 on: January 23, 2017, 01:08:45 AM »
Nothing for the site or html file it is being embedded into. Only a warning on the page where you grab the embed code.
Quote
jquery.min.js:4 Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience.
send @ jquery.min.js:4

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Embedding Not Working
« Reply #3 on: January 23, 2017, 01:13:34 AM »
Can you post url to page where you insert embed?
Check also that your store url setting is correct (Admin > System > Settings > Details)

Offline empmdk

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #4 on: January 23, 2017, 11:59:19 AM »
Sent you a PM with the URL.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Embedding Not Working
« Reply #5 on: January 24, 2017, 12:38:23 AM »
Hi.

The link you send me is not working  :o

Offline empmdk

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #6 on: January 24, 2017, 08:22:03 AM »
It should work for you now.

Offline empmdk

  • Newbie
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #7 on: January 27, 2017, 09:06:40 AM »
Any ideas?

Offline brandoncorlett

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #8 on: September 05, 2017, 02:05:53 PM »
I have enabled the API  feature  and added a product.  After clicking the Embed Code button, the embed menu pops up and the preview is completely blank. If I try to embed the code into a website, it will not show anything. I have tried embedding into a basic .html file and still comes up blank. I'm not seeing any errors.

I'm having the same problem. Did you ever find a solution?

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Embedding Not Working
« Reply #9 on: September 06, 2017, 03:12:34 AM »
Hello.

Do you have SSL enabled in your store? if yes it is configured correctly?

Also open browser console (in Chrome and FireFox) - then reload page and open embed modal again. Any errors/warnings there?

Offline gevera

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #10 on: April 06, 2018, 06:59:12 PM »
Enable Storefront Embed is set to ON

This error I get in Chrome Developer Console

GET file://back.yaskan.com/index.php?rt=r/embed/js net::ERR_FILE_NOT_FOUND

Apparently, the embed.js file is not seen or accessible.
« Last Edit: April 06, 2018, 07:03:10 PM by gevera »

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Embedding Not Working
« Reply #11 on: April 09, 2018, 06:55:14 AM »
I can see your file https://back.yaskan.com/index.php?rt=r/embed/js

Can you please share the embed code that you use?
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline gevera

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Embedding Not Working
« Reply #12 on: April 09, 2018, 10:19:51 PM »


Since I cant attach links, I am attaching a screenshot
« Last Edit: April 09, 2018, 10:31:59 PM by gevera »

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: Embedding Not Working
« Reply #13 on: April 10, 2018, 03:35:02 AM »
Hi.

When you access html page with embed code what is the page protocol http or https?
Your browser may block https embed javascript

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Embedding Not Working
« Reply #14 on: April 10, 2018, 06:52:12 AM »
Basara, has a good point.

Gevera, image does not help. You can post links after you have established profile in the forum with good posts.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod