#1  
Old 02-07-2017, 04:00 AM
Eugene Dvorkin's Avatar
Eugene Dvorkin is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

Ecwid embedded widget does not work on wordpress page


I have embedded Ecwid widget on my page and it doesn't work. I don't see any errors.
It is a Divi theme.
Can somebody take a look? I don't have Ecwid plugin installed, I don't think I need it for embedded widget to work. Thank. Here is my page:
https://www.artfunstudio.com/sip-pa...-party-booking/

Thanks
Reply With Quote
  #2  
Old 02-07-2017, 10:45 AM
Daria Sh.'s Avatar
Daria Sh. Daria Sh. is online now
Ecwid Team
 
Join Date: Feb 2015
Posts: 809
Default

Quote:
Originally Posted by Eugene Dvorkin View Post
I have embedded Ecwid widget on my page and it doesn't work. I don't see any errors.
It is a Divi theme.
Can somebody take a look? I don't have Ecwid plugin installed, I don't think I need it for embedded widget to work. Thank. Here is my page:
https://www.artfunstudio.com/sip-pa...-party-booking/

Thanks
Hi Eugene,

It's Daria from Ecwid Customer Care team.

I'm checking why Ecwid doesn't display on your website. I'll post the update here soon.
__________________
Daria
Ecwid Customer Care Team

More tips and hints on Ecwid use in our Help Center

⬇ Please click Thanks if my reply helped you.
Reply With Quote
  #3  
Old 02-07-2017, 10:58 AM
Daria Sh.'s Avatar
Daria Sh. Daria Sh. is online now
Ecwid Team
 
Join Date: Feb 2015
Posts: 809
Default

Quote:
Originally Posted by Eugene Dvorkin View Post
I have embedded Ecwid widget on my page and it doesn't work. I don't see any errors.
It is a Divi theme.
Can somebody take a look? I don't have Ecwid plugin installed, I don't think I need it for embedded widget to work. Thank. Here is my page:
https://www.artfunstudio.com/sip-pa...-party-booking/

Thanks
Eugene,

I've examined your website carefully and in particular this page: https://www.artfunstudio.com/sip-pa...-party-booking/ The source code of this page shows that you added a single product there.

In case other users come across this thread, here are the instructions on how to add a single product to a website page: https://support.ecwid.com/hc/en-us/articles/207808765

The product doesn't display on page because its code misses an important script at the end, this one:

Code:
<script type="text/javascript">xProduct()</script>
The correct code for this product should look like this:

Code:
<div class="ecwid ecwid-SingleProduct-v2 ecwid-SingleProduct-v2-bordered ecwid-SingleProduct-v2-centered ecwid-Product ecwid-Product-79446624" itemscope itemtype="http://schema.org/Product" data-single-product-id="79446624"><div itemprop="image"></div><div class="ecwid-title" itemprop="name" content="Sip and Paint Private Party Deposit"></div><div itemtype="http://schema.org/Offer" itemscope itemprop="offers"><div class="ecwid-productBrowser-price ecwid-price" itemprop="price" content="100" data-spw-price-location="button"><div itemprop="priceCurrency" content="USD"></div></div></div><div customprop="options"></div><div customprop="addtobag"></div></div><script type="text/javascript" src="https://app.ecwid.com/script.js?191671&data_platform=singleproduct_v2" charset="utf-8"></script><script type="text/javascript">xProduct()</script>
Go to the admin panel of your website, open the page where you want to display this code and add it instead of the code which you currently have there.

Let me know if you need further help.
__________________
Daria
Ecwid Customer Care Team

More tips and hints on Ecwid use in our Help Center

⬇ Please click Thanks if my reply helped you.
Reply With Quote
  #4  
Old 02-07-2017, 08:24 PM
Eugene Dvorkin's Avatar
Eugene Dvorkin Eugene Dvorkin is offline
Junior Member
 
Join Date: Nov 2010
Posts: 13
Default

Hi Daria,
I am afraid that what you said it's not right. I do have xProduct() at the end of code snippet. I copy/pasted it from ecwid. I also put your code, which is identical - but it still does not work. Apparently sthere is something else on this page or website.
Reply With Quote
  #5  
Old 02-15-2017, 03:13 PM
Daria Sh.'s Avatar
Daria Sh. Daria Sh. is online now
Ecwid Team
 
Join Date: Feb 2015
Posts: 809
Default

Quote:
Originally Posted by Eugene Dvorkin View Post
Hi Daria,
I am afraid that what you said it's not right. I do have xProduct() at the end of code snippet. I copy/pasted it from ecwid. I also put your code, which is identical - but it still does not work. Apparently sthere is something else on this page or website.
Eugene,

Thanks for your reply.

Hm, that sounds strange as I didn't see the xProduct() part in the source code of your website. I also tested your single product widget in my test WordPress website. When I added the full code, the product displayed and the source code showed this xProduct() part. Without it, the product didn't display on page.

Probably, something in your website is cutting that part and prevents the product from displaying. I went to check your page again, this one which you originally mentioned: https://www.artfunstudio.com/sip-pa...-party-booking/ and I don't see Ecwid there at all. Did you move the product to another page?

Please, send the link to the new page where you added the product. Hope to hear from you. Thanks.
__________________
Daria
Ecwid Customer Care Team

More tips and hints on Ecwid use in our Help Center

⬇ Please click Thanks if my reply helped you.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:51 PM.
Powered by vBulletin® Version 3.8.9 Patch Level 1. Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.