chrometweaks.org

Continual deletion of iPage site 4 no reason?

Click Here To View All Answers...


Got a question... Continual deletion of iPage site 4 no reason? Hoping for any answer. Another question on my mind: Someone uses my store- adds to their cart- they go to purchase and it says "You must log in" or "You must create an account".

So the person does and when they press the log in button-.

It goes back to their cart..

I want them to go straight to Checkout (payment_options.php).

So they can keep moving forward in the direction they were already going. I am having trouble locating which folder the link is in..

Does this make sense?.

FOR bonus points: How do I add a third option for people who want to buy something but dont want to fill out an account, or log in-.

"Don't have an account" "don't want to log in" but.

"I want to purchase an item as a guest".

Option..

That one wins a one week cruise to Russia. :-)..

Comments (68)

Good question... I dunno what is the right answer to your question. I'll do some research in Google and get back to you if I bump into an answer. You should email the people at iPage as they probably could give you an answer..

Comment #1

Hey Satish- I tried this and It still doesn't work am I including the two backslashes in the code as well?.

Am I replacing.

Tep_redirect($origin_href);.

With.

// tep_redirect(checkout_shipping.php).

??..

Comment #2

// tep_redirect(checkout_shipping.php).

Putting two backslashes will comment the code and it will not get executed..

Satish..

Comment #3

Tep_redirect($origin_href); to the page You want to redirect.

This is what needs to be done..

Change $origin_href to the value you want to redirect..

Satish..

Comment #4

I tried this listing both in the login.php page:.

Tep_redirect(checkout_shipping.php);.

And tep_redirect(shop/checkout_shipping.php).

And nothing happens. It still goes to shopping cart or I get an error..

Any thoughts?..

Comment #5

Try Using File Names such as.

Tep_redirect(tep_href_link(FILENAME_CHECKOUT_SHIPPING));.

I had to change the redirect in 2 places on my login page...

Comment #6

Someone uses my store- adds to their cart- they go to purchase and it says "You must log in" or "You must create an account".

So the person does and when they press the log in button-.

It goes back to their cart..

I want them to go straight to Checkout (payment_options.php).

So they can keep moving forward in the direction they were already going. I am having trouble locating which folder the link is in..

Does this make sense?.

FOR bonus points: How do I add a third option for people who want to buy something but dont want to fill out an account, or log in-.

"Don't have an account" "don't want to log in" but.

"I want to purchase an item as a guest".

Option..

That one wins a one week cruise to Russia. :-)..

Comment #7

If (sizeof($navigation->snapshot) > 0) {.

$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), $navigation->snapshot['mode']);.

$navigation->clear_snapshot();.

Tep_redirect($origin_href);.

} else {.

Tep_redirect(tep_href_link(FILENAME_DEFAULT));.

}.

Change.

Tep_redirect($origin_href); to the page You want to redirect. // tep_redirect(chekoutpayment.php);.

Satish..

Comment #8


This question was taken from a support group/message board and re-posted here so others can learn from it.