News:

AbanteCart v1.4.2 is released.

Main Menu

Issue on embed product

Started by toulip, November 29, 2020, 08:48:09 AM

Previous topic - Next topic

toulip

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

abantecart

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

toulip

Thank you for your answer, the problem just solved by himself, I did nothing and now it work ^^

abantecart

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

Forum Rules Code of conduct
AbanteCart.com 2010 -