Author Topic: Issue on embed product  (Read 2074 times)

Offline toulip

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Issue on embed product
« on: November 29, 2020, 08:48:09 AM »
Hello there,

I have an issue on the embed product functionnality.
The embed form does not preview the product and does not refresh if edit info (liek currency for example).
If i copy/paste the embed code to my site, oviously, it does not work too.
This is on abantecart V1.2.16

I did a fresh install on another server, and it work on it, so I probably edited some code somewhere or there was a little update.

Anyway, I take a look at "index.php?rt=r/embed/js" and I can see a difference between my buggy site and the working one.

The forum prohibit me from posting my code here .... so...

https : // pastebin . com/raw/13gvCYRd

Where can I find the file corresponding to index.php?rt=r/embed/js and edit it ?

Thank you

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Issue on embed product
« Reply #1 on: November 30, 2020, 01:58:21 PM »
I believe you are looking for this file
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/responses/embed/js.php

You might have cross site issue. Make sure that both sites use HTTPS
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline toulip

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Re: Issue on embed product
« Reply #2 on: November 30, 2020, 03:58:35 PM »
Thank you for your answer, the problem just solved by himself, I did nothing and now it work ^^

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Issue on embed product
« Reply #3 on: November 30, 2020, 10:16:02 PM »
That could indicate a browser cache issue. Glad it worked.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod