I'm trying to plug Zencart into an existing website in an iframe.
This is all fine and dandy until someone hits the reload page button, then where back on the home page of the store.
So I thought I'd modify the template tpl_main_page.php onLoad button to modify the parent to capture the actual current zencart url. This isn't totally thought through. I'd hate to use a cookie to keep track of the url, but without reloading twice, once for the new zencart url and one for the new website url containing the zencart url.
On the first Load, I'm able to view an alert of the paren'ts iframe src value.
But, once I click any link in the store, I get access denied.
Does anyone know why accessing any url in the cart other than http://www.yoursite.com/store would give this?
Bookmarks