AbanteCart Community

eCommerce construction => Installation and Configuration => Topic started by: Luxinbag on April 19, 2018, 02:12:22 AM

Title: Problem with embed code
Post by: Luxinbag on April 19, 2018, 02:12:22 AM
Hi,

I already have a website ecommerce but not satisfy with the ecommerce part so I try your solution...

The demo work well but when I try to integrate in my website I have a problem :

- In system - settings - general I have the option "Enable Storefront Embed" set to on
- I paste the code generated in Product embed code or category embed code in my website and the product or category are showing but when I click on the add to cart or the category picture I have the modal window open but nothing else (see the attached file pls)

the link to test : luxinbag . com/ oslo.php in the bottom of the page...

I don't know what to do...

Thanks in advance.

Franck
Title: Re: Problem with embed code
Post by: Basara on April 19, 2018, 04:09:02 AM
Hello.

I think it is because you have very new jQuery 3.0 in your site
Title: Re: Problem with embed code
Post by: Basara on April 19, 2018, 04:10:20 AM
Downgrade jquery on your site to older version or wait for issue resolution in AbanteCart 1.2.13 https://github.com/abantecart/abantecart-src/issues/1117
Title: Re: Problem with embed code
Post by: llegrand on April 19, 2018, 10:33:05 AM
Hey Basara ,  not to put too fine of a point on your description -  but jQuery 3.0  has been out since June of 2016 -  almost 2 years ago.
They are currently up to 3.3.1  which was released Jan 2018.

We discovered all of this when we were working on getting PCI compliance -  the ONLY way we could get compliance to certify was to update to 3.3.1.  The Storefront works well - embed was not a feature we needed for this site,  and the admin side does not had to leave it with the 1. xxx version.

Just FYI
Lee
Title: Re: Problem with embed code
Post by: Basara on April 20, 2018, 01:45:31 AM
Thanks Lee
Lets see what AbanteCart dev team think about jQuery migrate
https://github.com/abantecart/abantecart-src/issues/1117
Title: Re: Problem with embed code
Post by: Luxinbag on April 28, 2018, 03:05:46 AM
Hi all,

Any idea for the date of the release for AbanteCart version 1.2.13 expected yesterday to solve it ?

Thanks in advance.

Franck
Title: Re: Problem with embed code
Post by: abolabo on August 10, 2018, 12:09:11 PM
To solve just put this before your embed code
Code: [Select]
<script src="https://code.jquery.com/jquery-migrate-3.0.1.js"></script>