Forums / Templates, Stylesheets, Page Layout / I having problems with my checkout shipping adress, my verification page,

I having problems with my checkout shipping adress, my verification page,

Started by nephishizo on 24 Mar 2011, 5:25 PM · Views: 544

Results 1 to 3 of 3
24 Mar 2011, 5:25 PM
#1
nephishizo avatar

nephishizo

New Zenner

Join Date:
Oct 2010
Posts:
16
Plugin Contributions:
0

I having problems with my checkout shipping adress, my verification page,

First i am glad i met zen cart because it has really saved me a lot and i find it unmatched. And the fact that if i get a problem i can always come here and ask makes it even better.

I have three question to ask i hope it is okay to do so in one post.

1). I recently edited my customer details to have an added drop down menu for towns. All the other pages are working okay but as go you to checkout and decide to change your shipping address, when you click on the change shipping address button it goes blank. What could be going wrong? what do i change or edit? i have tried to even upload the backup of that page but nothing has changed. Please help.

2). As you see i have an age disclaimer page but its a html file, how do i make it into and incorporate it to my php page such that if you input whatever url on the address bar it will redirect you to it first. i have looked in the forums for what i want but cant find the exact one. Something that will check the session of the customer or the cookie.....and which one is better? or preferable?

my site is at http://chocodildo.com

24 Mar 2011, 11:19 PM
#2
celtic avatar

celtic

Zen Follower

Join Date:
Feb 2010
Posts:
154
Plugin Contributions:
0

Re: I having problems with my checkout shipping adress, my verification page,

Nephishizo,

I can't tell what the problem is for #1. Check that there's nothing obviously wrong in your tpl_checkout_shipping_address_default.php file I guess.

For #2, I haven't tested this, but you could try the following...

Edit your index.php file, then just before the first 'require' line, put the following code...

	if ( isset( $_GET[ "iagree" ] ) ) {
		// create cookie
		setcookie( "chocoAgree", "yes", 0, "/" );
	}
	// if agreement cookie blank, redirect to disclaimer
	if ( empty( $_COOKIE[ "chocoAgree" ] ) ) {
		ob_clean();
		header( 'Location: http://nairobisexshop.com' ); 
		exit;
	}

That should force everyone back to the HTML disclaimer page you have.

On your disclaimer page, change the link on your 'continue' button to: ```html
<a href="http://chocodildo.com/index.php?iagree=1">


As I said, I haven't tested it, but the concept is good.
25 Mar 2011, 6:41 AM
#3
nephishizo avatar

nephishizo

New Zenner

Join Date:
Oct 2010
Posts:
16
Plugin Contributions:
0

Re: I having problems with my checkout shipping adress, my verification page,

Yes i have tried and it redirects you to that page, but you do not move from the disclaimer even after you click on enter?