- Posts: 1195
- Thank you received: 13
Custom layout of Login/Register checkout step
10 years 6 months ago #239795
by verzevoul
Custom layout of Login/Register checkout step was created by verzevoul
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5
Hello!
Is there any way to change the layout of Login/Register step of the checkout and make it look like in the screenshot? or something close to that!
Do i have to edit a view file? The right box has a button that is supposed to redirect the user to the registration form.
I would also like to add a background image at that step.
Thank you in advance
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.5
Hello!
Is there any way to change the layout of Login/Register step of the checkout and make it look like in the screenshot? or something close to that!
Do i have to edit a view file? The right box has a button that is supposed to redirect the user to the registration form.
I would also like to add a background image at that step.
Thank you in advance
Please Log in or Create an account to join the conversation.
10 years 6 months ago #239805
by nicolas
Replied by nicolas on topic Custom layout of Login/Register checkout step
Hi,
Edit the file "login" of the view "checkout" and change the line:
echo hikashop_getLayout('user','registration',$params,$js);
to:
echo '<a href="link to the registration form page on your website">Register</a>
and that will display a link to the registration form instead of the registration form.
The background can be added in that same view file.
Edit the file "login" of the view "checkout" and change the line:
echo hikashop_getLayout('user','registration',$params,$js);
to:
echo '<a href="link to the registration form page on your website">Register</a>
and that will display a link to the registration form instead of the registration form.
The background can be added in that same view file.
The following user(s) said Thank You: verzevoul
Please Log in or Create an account to join the conversation.
10 years 6 months ago #239893
by verzevoul
Replied by verzevoul on topic Custom layout of Login/Register checkout step
Thank you nicolas, i changed the line like you said but something went wrong, see the screenshot.
Please Log in or Create an account to join the conversation.
10 years 6 months ago #239897
by nicolas
Replied by nicolas on topic Custom layout of Login/Register checkout step
Hi,
Sorry, I made a typo:
Sorry, I made a typo:
Code:
echo '<a href="link to the registration form page on your website">Register</a>';
The following user(s) said Thank You: verzevoul
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds