News:

AbanteCart v1.4.2 is released.

Main Menu

Do you like AbanteCart? Please rate AbanteCart or share your experience with other eCommerce entrepreneurs. Go to Softaculous rating page to add your rating or write a review

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

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.

Forum Rules Code of conduct
AbanteCart.com 2010 -