Jump to content
thirty bees forum

Is it possible to add or remove fields in the instant order form?


Recommended Posts

Posted

Hello friends, question, I am using version 1.5.1 and the niara theme

In 5-step authentication, in the second login step, when choosing instant order, is it possible to add or remove fields?

In the clients > clients section, in the "establish required fields" part, I only get two options "newsletter" and "optin".
On the other hand, in clients > addresses, if there is the option to establish some fields as mandatory such as the ID, however, when selecting it, in the second step of authentication the ID field does not appear, and when filling out the other data in the instant order and give confirmation, it says that the ID field must be filled out.

Thank you so much.

  • 5 months later...
Posted (edited)

 

customers > addresses > required fields

I didn't know this option existed!
Trying "select all" first might be required before choosing required fields. Maybe it helps to make fields required and then not required to make sure defaults are cleared.
advanced parameters > performance > clear cache might help.
You could clear the cache on cloudflare as well if you use it, or there is a module to combine both.

You could experiment on a test site with the localization options
localization > countries > select all
localization > tax


remove fields with css
You can make a lot of the site not show by putting css into
backoffice>preferences>custom code>css such as
#phone {display: none;}
Some fields are easier to remove this way than others; it depends how specific the css code is. It applies to all countries.

The link is to a longer post about a one page checkout. It does not answer your question about a validation error, but it does give examples of how to make fields not show. 

About changing validation on the server: I don't know how
You can see the kind of files you'd have to change here for the forms themselves:
https://github.com/thirtybees/niara/tree/01412c66f124f0040214cf44371cea306fe326b1

This is a post about phone number validation which gives an idea of other files and changes you'd need to make

You can edit files on a test site on your server from cpanel > file manager, or there is a free module from a site called DH42 that lets you edit them from the back office:
https://dh42.com/prestashop-modules/prestashop-editor-module/

Sorry I don't really know the answer to that bit of the question.

https://store.getdatakick.com/en/modules/chex-one-page-checkout is a paid-for checkout module from the person who maintains Thirtybees so it ought to be reliable.

Edited by veganline

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...