| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
xcart in a frame - strange I know but need help :D | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi Guys,
please save me the frames lecture I know they suck etc etc!! if someone can work out why it is doing this I would be extremely grateful!! my frame set looks like this: container: <frameset rows="432,*" cols="*" framespacing="0" frameborder="no" border="0"> <frame src="http://myurl.com/example.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" /> <frame src="http://www.myurl.com/home.php" scrolling="No" noresize="noresize" name="bottomFrame" id="bottomFrame" title="bottomFrame" /> </frameset> then in the top frame "example.html", I have an html link: Add to cart OK, so the problem is, when I run the frameset locally it works fine, I can add a product to the cart without a blink (General Setting direct you to cart after adding a product) (this will be done by flash in case you're interested). BUT when I run the frameset file from the server for some reason it swaps the bottom frame with the top "example.html". I think it must have something to do with this section in cart.php: # Redirect # if($mode=="add" and $productid) { if (!empty($login)) db_query("UPDATE $sql_tbl[customers] SET cart='".addslashes(serialize($cart))."' WHERE login='$login'"); if(!empty($active_modules['SnS_connector'])) { $sns_do_action = array("AddToCart", $productid); } if($config["General"]["redirect_to_cart"]=="Y") { func_header_location("cart.php"); } else{ if(!empty($HTTP_REFERER)) { func_header_location($HTTP_REFERER); } else { func_header_location("home.php?cat=$cat&page=$page "); } } } elseif (!empty($is_sns_action)) { foreach ($is_sns_action as $a => $v) { foreach ($v as $v2) { func_generate_sns_action($a, $v2); } } $is_sns_action = array(); } if ($redirect_url) func_header_location($redirect_url); but I can't find where? I know this all might sound crazy but you'll understand when you see the finished product. thanks Spence ![]()
__________________
------------------- 4.2.2 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() Flash and Frames? You are crazy!
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I know but you'll see champ!
![]() also got it working last night if anyone's interested.
__________________
------------------- 4.2.2 4.1.9 |
|||||||
#4
|
|||||||
|
|||||||
![]() Hi,
I know this is an old post but I'm doing something similar and using X-Cart within a frame. What did you need to change to avoid the access denied error in IE? Thanks.
__________________
bye |
|||||||
#5
|
|||||||
|
|||||||
![]() Welcome to X-Cart arthawaii! Please start by reading the forum guidelines (http://forum.x-cart.com/viewtopic.php?t=6489), and posting your X-Cart version in your signature (click the User CP link at the top of the forum). You can find your version by clicking on the 'Summary' link in your admin area.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|