[Support request] Javascript widgets in top bar

Home Forums Support [Support request] Javascript widgets in top bar

Home Forums Support Javascript widgets in top bar

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #792869
    Aisling

    Hi there

    I am wondering if there is a way to resolve my issue

    In my topbar I have two widgets from an ecommerce site ecwid

    The two widgets I have are a product search and cart.
    The following is the code for the product search. There is simliar for the cart

    <script type=”text/javascript” src=”https://app.ecwid.com/script.js? ” charset=”utf-8″></script> <script type=”text/javascript”> xSearch(“id=my-search-“); </script>

    My issue is that when the page loads, it loads the rest of the page first and then maybe two seconds later the page drops down to load the top bar with the two widgets present. Do you have any suggestions on how to fix this.

    (Support has been great so far)

    Many thanks

    Aisling

    #792882
    David
    Staff
    Customer Support

    Hi there,

    if you were able to force that script to load immediately it would cause render blocking. in other words you would have to wait for that to load before the rest of the content was displayed. Which wouldn’t be good.

    You may need to speak with ECWID to see if there is anything they can do to improve the request time.

    #792886
    Aisling

    Great

    Thank you for your help. I will contact ecwid and see if they have any suggestions

    Aisling

    #793526
    David
    Staff
    Customer Support

    You’re welcome

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