Guest unbeaten Posted May 4, 2005 Share Posted May 4, 2005 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!!! Quote Link to comment Share on other sites More sharing options...
Guest jbdancer Posted May 4, 2005 Share Posted May 4, 2005 HI , think that saztar has a mod for that for CC2 maybe he has one allready for CC3 , best thing is to contact him Quote Link to comment Share on other sites More sharing options...
Guest Posted May 4, 2005 Share Posted May 4, 2005 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"); } ///////////////////////////////////////////////// Quote Link to comment Share on other sites More sharing options...
Guest russellarmand Posted May 11, 2005 Share Posted May 11, 2005 TOTALLY worked for me. Thanks, I really need this. :whistle: Quote Link to comment Share on other sites More sharing options...
Guest Posted May 11, 2005 Share Posted May 11, 2005 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. Quote Link to comment Share on other sites More sharing options...
Guest gul Posted May 12, 2005 Share Posted May 12, 2005 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: Quote Link to comment Share on other sites More sharing options...
Guest ufa57 Posted May 13, 2005 Share Posted May 13, 2005 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: Quote Link to comment Share on other sites More sharing options...
Guest russellarmand Posted May 14, 2005 Share Posted May 14, 2005 This post is located in the v3 boards, not v2 -- probably won't work for you. Quote Link to comment Share on other sites More sharing options...
Guest russellarmand Posted May 14, 2005 Share Posted May 14, 2005 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.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.