Implemented Toggle Personal or Company Purchase

macuros

Customer
Hi Fillip!

I would like to suggest a toggle for the address form to purchase as a person or as a company.

To EU regulations for personal purchases, we only need a country and for purchasing as a company we need full name, address, VAT number, etc.

To add less confusion and to "not scare" normal users too much with some forms, I suggest a toggle. The default should be personal purchase with only one visible field - country. Maybe also a name (that can be anything). If someone needs an invoice as a company, they can click on a toggle and more fields open up that are required for companies.

Thank you.
 
Upvote 0
This suggestion has been implemented. Votes are no longer accepted.
@macuros this feature is now live @ this site, could you please check it out and let me know if you have any further feedback? Thanks!
 
This is great news Filip!

For personal "Business name" could be changed to "Your name" only, but it is not a big deal. I can change the phrase.

1725525345003.webp

Is the "None" for country always as default? Country selection is required for my business and I would rather not have the "None" option at all.


For business form:

1725525526679.webp

I just changed 4 address lines to this:

1725525566810.webp

That way I encourage users to fill the ZIP code and city too as I need it for the invoice. 4th address field I changed to an e-mail address because some users have different business email and are not registered with it.

If this field is possible to add, I would be grateful. Otherwise, I like the change. Thank you.
 
I’ll see if I can make it blank by default instead of None.

Re. The form; you’ll be able to edit the template and remove rowclass="js-businessOnly" from either of the four address fields.
 
The reason why I can’t use more specific phrases for the four fields is that for example not every country uses zip codes. Not just talking about the “zip code” vs “postal code” phrasing, but Ireland straight up does not use any kind of code like that at all.

Instead, you have to specify the county as the initial routing destination.

Those phrases won’t change so you won’t need to reapply your customisations :)
 
OK, thank you for the explanation.

Now I just need to wait for one developer to update his add-on, so I can upgrade to XF 2.3 and test this. Or I'll just find another way and remove those add-ons.

Thank you Filip!
 
No, it’s 2.3 only. I don’t have the bandwidth to implement backwards compatibility, sorry.
 
Back
Top