mumapicyxa Posted September 26, 2022 Share Posted September 26, 2022 Hello All, I am trying to Integrate my Prestashop store ( x.com ) via Iframe in another website ( y.com ) but most of the functions are not working like add to card and cart is always empty. How can I fix this? Best regards Link to comment Share on other sites More sharing options...
ps8modules Posted September 27, 2022 Share Posted September 27, 2022 Hi, Prestashop writes to its database, uses its cookies, etc. So everything is loaded and written to the x.com database and cache, not y.com. If you want to use y.com store, it is good to use and configure multistore in x.com store. Link to comment Share on other sites More sharing options...
mumapicyxa Posted September 27, 2022 Author Share Posted September 27, 2022 Hello @4you.software, Thanks for your reply! I want to integrate x.com via <iframe> in y.com to display the same content of x.com inside the iframe so its not another store. Best regards Link to comment Share on other sites More sharing options...
mumapicyxa Posted September 27, 2022 Author Share Posted September 27, 2022 Hello @4you.software, Thanks for your reply! I want to integrate x.com via <iframe> in y.com to display the same content of x.com inside the iframe so its not another store. Best regards Link to comment Share on other sites More sharing options...
ps8modules Posted September 29, 2022 Share Posted September 29, 2022 (edited) This is related to session cookies. Your main page works on another domain than your embedded shop page. Thus, the browser cannot store cookies from the domain where the shop is running. Cookies are always stored domain-dependent. If you would run both systems on one domain, it would work. Edited September 29, 2022 by 4you.software (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now