Forums / Templates, Stylesheets, Page Layout / Redirect to Shopping Cart after login

Redirect to Shopping Cart after login

Started by orange_juice on 17 Dec 2010, 10:45 PM · Views: 1,024

Results 1 to 4 of 4
17 Dec 2010, 10:45 PM
#1
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Redirect to Shopping Cart after login

Hallo,

The problem is that I receive a "secure/nonsecure items" alert message when after logging in with IE8 I land to the product's page, where I have an embedded video that causes the alert as described in this post:

http://www.zen-cart.com/forum/showthread.php?t=152464

This issue was fixed for sometime (or I thought so ...) but now reappears.

Is it possible to amend zen-cart and redirect all people who log-in, to the page of the Shopping Cart?

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

27 Dec 2010, 2:51 AM
#2
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: Redirect to Shopping Cart after login

I think the problem is solved.

My video provider supports video distribution through an https connection.

Great!

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

8 Jan 2011, 12:31 AM
#3
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: Redirect to Shopping Cart after login

orange_juice:

I think the problem is solved.

My video provider supports video distribution through an https connection.

Great!

This is not so great because there is an important delay while establishing an https connection.

BUMP

IE sucks Big Time.

Any ideas?

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming

8 Jan 2011, 10:40 AM
#4
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: Redirect to Shopping Cart after login

In line 132 of includes/modules/pages/login/header_php.php reads:

$origin_href = zen_href_link($_SESSION['navigation']->snapshot['page'], zen_array_to_string($_SESSION['navigation']->snapshot['get'], array(zen_session_name())), $_SESSION['navigation']->snapshot['mode']);

Changing to

$origin_href = zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL');

will do the job nicely!

Kind regards,
orange_juice

http://www.dodeca.eu/
Zen Cart is simply Jamming