- Posts: 2
- Thank you received: 0
login and create a new account.
- alexjoomla
-
Topic Author
- Offline
Less
More
13 years 3 months ago #113361
by alexjoomla
login and create a new account. was created by alexjoomla
Hi,
On Checkout Page, there are 2 form : Login and create a new account. New customers can register by from "a new account".
I want the purchase process to be as easy at possible.
So I want to have a checkout with registration but without address on first step, like Joomla login with basic details :
They receive an activation link by the email, and they activate their account by clicking on the activation link... They arrive again on checkout page and they are now connected on their account (but in their account, there are not yet their adress.)
and they click on "Next" button : that popup window is display with a form adress :

How I can make this ? :ohmy:
Can you help me ? :dry:
Here is our setup in checkout workflow :
+
|Cart
+
+
|Login
+
+
|Address
|Shipping
+
+
|Coupon
|Fields
|Status
+
+
|Cart
+
+
|Payment
+
I would very much appreciate some help with this.
Thanks
On Checkout Page, there are 2 form : Login and create a new account. New customers can register by from "a new account".
I want the purchase process to be as easy at possible.
:blush:Name ; Username ; Password ; Email Address...
They receive an activation link by the email, and they activate their account by clicking on the activation link... They arrive again on checkout page and they are now connected on their account (but in their account, there are not yet their adress.)
and they click on "Next" button : that popup window is display with a form adress :
So the new customers can add their adress.Title ; First name ; Last name ; Address ; Post code ; City ; Telephone ; State ; Country...
How I can make this ? :ohmy:
Can you help me ? :dry:
Here is our setup in checkout workflow :
+
|Cart
+
+
|Login
+
+
|Address
|Shipping
+
+
|Coupon
|Fields
|Status
+
+
|Cart
+
+
|Payment
+
I would very much appreciate some help with this.
Thanks
Please Log in or Create an account to join the conversation.
13 years 3 months ago #113419
by nicolas
Replied by nicolas on topic login and create a new account.
You need to do :
1. edit the cart view file of the checkout view via the menu Display>Views and add such code at the end:
<?php $user= JFactory::getUser();
if($this->step==0 && $user->guest){
$this->nextButton=false; echo '<a href=" mywesbite.com/my_joomla_registration_page ">Next</a>';
} ?>
That will let the user go to the joomla registration form after clicking on next on the first step of the checkout.
Then, after the registration in Joomla, when the user goes back to the checkout while being logged in, he will be prompted with the address popup like you want.
1. edit the cart view file of the checkout view via the menu Display>Views and add such code at the end:
<?php $user= JFactory::getUser();
if($this->step==0 && $user->guest){
$this->nextButton=false; echo '<a href=" mywesbite.com/my_joomla_registration_page ">Next</a>';
} ?>
That will let the user go to the joomla registration form after clicking on next on the first step of the checkout.
Then, after the registration in Joomla, when the user goes back to the checkout while being logged in, he will be prompted with the address popup like you want.
Please Log in or Create an account to join the conversation.
- alexjoomla
-
Topic Author
- Offline
Less
More
- Posts: 2
- Thank you received: 0
13 years 3 months ago #113490
by alexjoomla
Replied by alexjoomla on topic login and create a new account.
Thank you very much Nicolas
It's great!
It's great!
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds