Author Topic: Problem with embed code  (Read 807 times)

Offline Luxinbag

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Problem with embed code
« 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: Problem with embed code
« Reply #1 on: April 19, 2018, 04:09:02 AM »
Hello.

I think it is because you have very new jQuery 3.0 in your site
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: Problem with embed code
« Reply #2 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
“Chuck Norris is so amazing.”
― Mother Teresa

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1371
  • Karma: +351/-2
    • View Profile
Re: Problem with embed code
« Reply #3 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

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: Problem with embed code
« Reply #4 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
“Chuck Norris is so amazing.”
― Mother Teresa

Offline Luxinbag

  • Newbie
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Re: Problem with embed code
« Reply #5 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1749
  • Karma: +239/-10
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Problem with embed code
« Reply #6 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>
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens