Page 1 of 1

How to disable the mandatory use of the terms and condition

Posted: 04 May 2021, 14:03
by ArthurHenrique
Hello, I need to make some changes in my project and I have been troubles, one of this changes is disable the check of the terms and conditions. I need to disable the mandatory use of the services of payement and delivery too.
Can somebody help me?

Enviroment:
Windows 10
PHP = 7.2
Laravel = 6.0
Aimeos = 2020.10

Re: How to disable the mandatory use of the terms and condition

Posted: 05 May 2021, 05:40
by aimeos
ArthurHenrique wrote: 04 May 2021, 14:03 Hello, I need to make some changes in my project and I have been troubles, one of this changes is disable the check of the terms and conditions.
The easiest way is to change the input to type="hidden" and always set value="1" here:
https://github.com/aimeos/ai-client-htm ... #L252-L255
ArthurHenrique wrote: 04 May 2021, 14:03 I need to disable the mandatory use of the services of payement and delivery too.
Disable the ServicesAvailable basket plugin in the Plugin panel of the admin backend. Then, no check for delivery or payment services will occur.