Address Filler And Cc Auto Filler Not Working Completely

So I am a big user of password managers which also have address fillers and credit card fillers as well. I notice that when using this on my site there are issues at checkout:

  • For the name, now that First and Last name are combined in one box it only puts the last name in there. Is there a way to fix this? Thinking maybe it is a class issue but not sure on the fix.
  • Also when auto-filling out the credit card, it correctly does both first and last names along with the credit card number but leaves out the date and the CVV so you have to fill them in manually.

I use my password manager on sites all the time and it works perfectly about 90% of the time but am annoyed when I run across a site where I have to manually put stuff in. I know it's trivial but don't want to be one of those sites that annoys my customers during checkout due to something like this.

Still no fix.

Still no fix or response 2 years later. Noticed today during test checkout my credit card filler would fill in the expiration as the month spelled out and the 4 digit year instead of it filling in the month as numbers and the year as just the last two digits. Not sure why CS checkout classes can’t seem to figure it out as this autofill works fine on most other sites.

Hi!

What payment method did you use when this issue occurred?

As for the first name and the last name, you can split them by making the override of the design/themes/responsive/templates/views/checkout/components/profile_fields.tpl template. In this override copy the content of the default template, but replace this string:

{$name_field_names = ["firstname", "lastname", "s_firstname", "s_lastname", "b_firstname", "b_lastname"]}

with the following one:

{$name_field_names = []}

https://docs.cs-cart.com/latest/developer_guide/addons/hooking/tpl_hooks.html#how-to-override-a-template

Thanks for the reply. I was just using the Credit Card payment method at checkout when these issues occurred. I will looking into the field names issue and see if that corrects it.