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.
In Themes
Wednesday, May 10 2017, 12:43 PM
Share this post:

Accepted Answer

Friday, May 12 2017, 01:10 AM - #Permalink
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
The reply is currently minimized Show
Responses (2)
  • Accepted Answer

    Friday, May 12 2017, 01:37 PM - #Permalink
    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. ;)
    Like
    2
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 12 2017, 01:30 PM - #Permalink
    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!
    The reply is currently minimized Show
Your Reply