News:

AbanteCart v1.4.2 is released.

Main Menu

Embedding Not Working

Started by empmdk, January 22, 2017, 11:25:49 PM

Previous topic - Next topic

empmdk

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.

Basara

Hi.

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

empmdk

Nothing for the site or html file it is being embedded into. Only a warning on the page where you grab the embed code.
Quotejquery.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

Basara

Can you post url to page where you insert embed?
Check also that your store url setting is correct (Admin > System > Settings > Details)

empmdk


Basara

Hi.

The link you send me is not working  :o

empmdk


empmdk


brandoncorlett

Quote from: empmdk 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.

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

Basara

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?

gevera

#10
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.

abantecart

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

gevera

#12


Since I cant attach links, I am attaching a screenshot

Basara

Hi.

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

abantecart

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

Forum Rules Code of conduct
AbanteCart.com 2010 -