Jump to content

Registering Users


Guest unbeaten

Recommended Posts

Guest unbeaten

Is there ne way at all you can have cubecart so it isnt necessary to register an account and that you just go straight to the address page.

Obviously all the data needs to be kept but i dont want to have to make people register and then login..

HELP!!!

Link to comment
Share on other sites

Guest jbdancer

HI , think that saztar has a mod for that for CC2 maybe he has one allready for CC3 , best thing is to contact him

Link to comment
Share on other sites

So that visitors can view their cart without logging in first and then be redirected to the registration form page when they click continue, the following should work. I've only tested on my demo site (not a live store), so let me know if it works for you.

in includes/content/cart.inc.php around line 133 replace

if($_GET['act']=="step2"){

	

	$view_cart->assign("CLASS_STEP2","class='txtcartProgressCurrent'");

	$view_cart->assign("CONT_VAL","cart.php?act=step3");




with




if($_GET['act']=="step2"){



	$view_cart->assign("CLASS_STEP2","class='txtcartProgressCurrent'");



//////////////////////////////////////////////////

//reversed checkout process 5.4.2005

//added redirect to step 3 if registered or directly to registration if not



	if($ccUserData[0]['customer_id']>0){

	$view_cart->assign("CONT_VAL","cart.php?act=step3");

	} else {

	$view_cart->assign("CONT_VAL","cart.php?act=reg");

	}

////////////////////////////////////////////////




then



in includes/boxes/shoppingcart.inc.php around line 142 replace


if($ccUserData[0]['customer_id']>0){

$box_content->assign("CART_STEP","step2");

} else {

$box_content->assign("CART_STEP","step1");

}




with




/////////////////////////////////////////////////

//reversed checkout process 5.4.2005 

//visitors can view cart without logging in



if($ccUserData[0]['customer_id']>0){

$box_content->assign("CART_STEP","step3");

} else {

$box_content->assign("CART_STEP","step2");

}

/////////////////////////////////////////////////

Link to comment
Share on other sites

Is there ne way at all you can have cubecart so it isnt necessary to register an account and that you just go straight to the address page.

Obviously all the data needs to be kept but i dont want to have to make people register and then login..

HELP!!!

Last thing I heard was that this feature is going to standard in CC3; optional registration.

Link to comment
Share on other sites

hi there ..

i also did this type of setting and its working gr8.. but i did some changes.. because i dont want to open registration page after view after shoping cart stats , i want this type of system like , when customer buy product and then click continew and then open shoping cart details and after that when customer click continew then i dont want to open registration page but i want to open login user or new user registration.. so i did some changes , see this code i use

in includes/content/cart.inc.php around line 133 replace

CODE

if($_GET['act']=="step2"){

$view_cart->assign("CLASS_STEP2","class='txtcartProgressCurrent'");

$view_cart->assign("CONT_VAL","cart.php?act=step3");

with

CODE

if($_GET['act']=="step2"){

$view_cart->assign("CLASS_STEP2","class='txtcartProgressCurrent'");

//////////////////////////////////////////////////

//reversed checkout process 5.4.2005

//added redirect to step 3 if registered or directly to registration if not

if($ccUserData[0]['customer_id']>0){

$view_cart->assign("CONT_VAL","cart.php?act=step3");

} else {

$view_cart->assign("CONT_VAL","cart.php?act=step1");

}

////////////////////////////////////////////////

then

in includes/boxes/shoppingcart.inc.php around line 142 replace

CODE

if($ccUserData[0]['customer_id']>0){

$box_content->assign("CART_STEP","step2");

} else {

$box_content->assign("CART_STEP","step1");

}

with

CODE

/////////////////////////////////////////////////

//reversed checkout process 5.4.2005

//visitors can view cart without logging in

if($ccUserData[0]['customer_id']>0){

$box_content->assign("CART_STEP","step3");

} else {

$box_content->assign("CART_STEP","step2");

}

/////////////////////////////////////////////////

enjoy..... :whistle:

Link to comment
Share on other sites

Guest ufa57

Could someone tell me if I'm missing something here? I'm using CC version 2.0.6. and I have no includes folder or boxes folder let alone a content folder.

According to these codes they were written for CC 2 version. :unsure:

Link to comment
Share on other sites

Guest russellarmand

Last thing I heard was that this feature is going to standard in CC3; optional registration.

Any idea when to expect the next release? (Really looking forward to it, this app is great.)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...