OC version. If you're referring to guest customers that should have a selected first name field, I would not suggest that approach to be used since customers do have the right to modify their billing and shipping information that can differ with their customer's account when logged in to their account.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
OC 3.0.3.2
I just want it selected so that customer can just start typing their first name without having to manually click on the first name field before they can start typing. Its no different than going to STEP-2 and clicking "Tab" button on your keyboard so the cursor moves over into the first name field
It would just speed up checkout, I don't see how it could do any harm
PS I read somewhere adding "autofocus" into the input tag would do this but I haven't had luck (maybe I'm doing it to the wrong file). Like this:
.
I just want it selected so that customer can just start typing their first name without having to manually click on the first name field before they can start typing. Its no different than going to STEP-2 and clicking "Tab" button on your keyboard so the cursor moves over into the first name field
It would just speed up checkout, I don't see how it could do any harm
PS I read somewhere adding "autofocus" into the input tag would do this but I haven't had luck (maybe I'm doing it to the wrong file). Like this:
Code: Select all
<input name="q" autofocus />
~ OC 3.0.3.2 and OCmods only ~
You're talking about the pointer. By doing that, however, it would also encourage bots to autofill the forms (even though they can already do it without the autofocus). This free extension could probably shed some light with some modifications on how to achieve this: https://www.opencart.com/index.php?rout ... n_id=37437 .supak111 wrote: ↑Wed May 22, 2024 5:50 amOC 3.0.3.2
I just want it selected so that customer can just start typing their first name without having to manually click on the first name field before they can start typing. Its no different than going to STEP-2 and clicking "Tab" button on your keyboard so the cursor moves over into the first name field
It would just speed up checkout, I don't see how it could do any harm
PS I read somewhere adding "autofocus" into the input tag would do this but I haven't had luck (maybe I'm doing it to the wrong file). Like this:
.Code: Select all
<input name="q" autofocus />
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Yea thats what I thought I had to do, just an add "autofocus" to the end of <input> tag but I can't seem to get it to work. Im probably adding it to the wrong file.
What file should it be added to so that it works on "Guest" checkout?
Thanks for the help btw ツ
.
What file should it be added to so that it works on "Guest" checkout?
Thanks for the help btw ツ
.
~ OC 3.0.3.2 and OCmods only ~
I would suggest using a One Page Checkout instead: https://www.antropy.co.uk/blog/whats-th ... -opencart/
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Who is online
Users browsing this forum: No registered users and 8 guests