Guest Posted March 26, 2006 Posted March 26, 2006 Hi there, When I go to purchase a product and I have to create an account, how do I avoid the create_account_success.php page and go straight on to checkout_shipping? Also does anyone know how to add a voucher from create account straight in to the shopping basket so as the user doesn't have to physically add it / redeem it? Thanks, ally
Guest Posted March 26, 2006 Posted March 26, 2006 you could check at the beginning of create_account_success.php if there're products in the shopping cart and if so do a redirect to checkout_shipping.php. See how the later redirects to the shopping cart for an example. for the voucher depends what contribution you have installed.
Guest Posted March 26, 2006 Posted March 26, 2006 you could check at the beginning of create_account_success.php if there're products in the shopping cart and if so do a redirect to checkout_shipping.php. See how the later redirects to the shopping cart for an example. Briallant, thanks, will have a go at this later tonight but makes perfect sense, thanks for the voucher depends what contribution you have installed. Have been having more bother with this one, It is Credit Class and Gift Voucher 5.14 That I have installed. Appreciate any further help Thanks, ally
Guest Posted March 26, 2006 Posted March 26, 2006 ok, then you do not add the voucher to the shopping basket because it's not a product. You could register a session only for new accounts and when you go through the checkout process you check the session instead of the voucher identifier. The variable posted that you need to maintain for new accounts is the cot_gv.
Guest Posted March 26, 2006 Posted March 26, 2006 ok, thanks, doesnt make much sense just now but hopefully when I get fully imersed in it mid week it again it will make more sense, thanks for your help, ally
Recommended Posts
Archived
This topic is now archived and is closed to further replies.