AbanteCart Community
Shopping Cart Operations => Support => Topic started by: toulip 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
-
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
-
Thank you for your answer, the problem just solved by himself, I did nothing and now it work ^^
-
That could indicate a browser cache issue. Glad it worked.