• i am trying to add ecwid embeded copy on the contact slider its just showing nothing, attached screenshot for your reference .

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    It’s Lewis, Ecwid by Lightspeed. thank you for reaching us!

    You can add the product using the Ecwid Plugin shortcode instead of the embed code, like this:

    [ecwid_product id="PRODUCT_ID" display="picture title price options qty addtobag" version="2" show_border="1" show_price_on_button="1" center_align="1"]

    Instead of PRODUCT_ID insert the ID of the required product. According to your screenshot, I see that this product’s ID is 416573363. You can also find the product ID by following the steps below:

    1. Go to Ecwid > Catalog > Products, and click on the product.
    2. Find product’s ID in the URL after id=

    Please, note that Ecwid plugin for WordPress should be activated in WordPress Dashboard > Plugins, for the shortcode to work.

    You can read more about the Single Product Widget shortcode in this article: https://support.ecwid.com/hc/en-us/articles/360002137520-Shortcodes-for-adding-store-to-WordPress#product-card-/-buy-now

    Please, try this and tell me if it works for you!

    Thread Starter Robinson Nadar

    (@robinatg)

    i tried adding the shortcode but it’s giving an error in the schema That is why I was trying to add embedded code is there any solution to fix this?

    Plugin Support Muhammad Usama

    (@usamaazad99)

    Hi @robinatg ,

    I hope this message finds you well.

    I wanted to clarify that our plugin currently only supports HTML and shortcodes and does not support JavaScript code, which is why you are experiencing the errors.

    However, I will discuss your query with our technical team to explore possible solutions. I’ll keep you updated on any findings.

    Thank you for your understanding!

    Best regards,
    WP Experts Support Team

    Hello Robinson, thank you for your reply!

    I checked your website, and Google Search Results test, and see that Product Scheme is not visible. There are important warning for product name and image, and not critical warnings for customer’s reviews, and so on. You can contact our support team at [email protected], so we will help you to solve them.

    At the moment, I should say that the important warning is the Missing field “name”. Our integration code contains the Product Scheme, so I can suggest you try to insert only div containers inside the Slider plugin:

    <div class="ecsp ecsp-SingleProduct-v2 ecsp-SingleProduct-v2-bordered ecsp-SingleProduct-v2-centered ecsp-Product ec-Product-591400870" itemscope itemtype="https://schema.org/Product" data-single-product-id="591400870"><div itemprop="image"></div><div class="ecsp-title" itemprop="name" content="Vicksburg Battlefield Driving Tour: Self-Guided"></div><div itemtype="https://schema.org/Offer" itemscope itemprop="offers"><div class="ecsp-productBrowser-price ecsp-price" itemprop="price" content="14.99" data-spw-price-location="button"><div itemprop="priceCurrency" content="USD"></div></div></div><div customprop="options"></div><div customprop="qty"></div><div customprop="addtobag"></div><div customprop="vatinprice"></div></div>

    Then insert the loading JavaScript on the page inside the Custom HTML block, since Slider is not supporting JavaScript:

    <script data-cfasync="false" type="text/javascript" src="https://app.ecwid.com/script.js?17288515&data_platform=singleproduct_v2" charset="utf-8"></script><script type="text/javascript">xProduct()</script>

    Thus, this script should load the Ecwid Buy Now button inside the Slider. Please, try this and tell me about the results.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.