I thought that i could simply remove the "required" attribute from the address.tpl file but that did not work.
Does anyone know how i can remove the required options?
Why i need it like that
In my shop i won't send the products at the beginning but simply deliver them. For this i do not need to know tha customer's address, company, fax etc.
Workaround i will try
I could create hidden inputs with prefilled values, so that the checkout process works fine. And if necessary i could alter the customer's address details later manually.
Would you say that this could be a solution?
Hugs and greetings from this corner of the planet.
Does anyone know how i can remove the required options?
Why i need it like that
In my shop i won't send the products at the beginning but simply deliver them. For this i do not need to know tha customer's address, company, fax etc.
Workaround i will try
I could create hidden inputs with prefilled values, so that the checkout process works fine. And if necessary i could alter the customer's address details later manually.
Would you say that this could be a solution?
Hugs and greetings from this corner of the planet.
In Themes
Share this post:
Accepted Answer
You could override the validateFields function in the controller files, using vQmod or OCmod:
https://arastta.org/docs/developers/modification-system
Edit! You should btw also take a look at and test the 'Requires Shipping' option on products:
https://arastta.org/docs/user-manual/catalog/products/data
https://arastta.org/docs/developers/modification-system
Edit! You should btw also take a look at and test the 'Requires Shipping' option on products:
https://arastta.org/docs/user-manual/catalog/products/data
Responses (2)
-
Accepted Answer
I remember that i struggled with this while trying out every open source ecommerce system available that i could install on my host.
When i saw that Arastta had the "custom fields" function, i had ears in my eyes
I know that billing and shipping in 99% of the cases seem necessary, but wouldn't that some kind of nice feature to have these forms totally customizable through the "custom fields" option ?
For example, keep required the name, family name and email. Anything else MUST be set via the custom fields.
Just a question from a noob
Thanks again for your tip and support! -
Accepted Answer
The problem is that such a change would break compatibility to a lot of OC extensions, but I agree:
https://arastta.org/ideas/idea/21-customer-fields-to-remove-or-hide-per-customer-group
Maybe it can be done in Arastta 2.0, saying goodbye to OC.
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »