How to disable the mandatory use of the terms and condition

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
ArthurHenrique
Posts: 18
Joined: 28 Jan 2021, 18:30

How to disable the mandatory use of the terms and condition

Post by ArthurHenrique » 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. 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

User avatar
aimeos
Administrator
Posts: 7889
Joined: 01 Jan 1970, 00:00

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

Post by aimeos » 05 May 2021, 05:40

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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply