Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2497 by obayesshelton
11 Feb 2016, 16:53
Hi,

Very simple one but what is the input name for the comment field in the order, I won't user to be able to input something on the checkout

Thanks
Oli
#2498 by aimeos
11 Feb 2016, 17:03
obayesshelton wrote:Very simple one but what is the input name for the comment field in the order, I won't user to be able to input something on the checkout


Currently, there's none in the checkout. We will add this possibility later and then it must be enabled explicitly.
#2501 by obayesshelton
11 Feb 2016, 17:37
Hey,

I just need to put an account number for an external service inside the users order.

I was going to use company name but I noticed that is not storing, is there an issue with that?

Oli
#2503 by aimeos
11 Feb 2016, 20:55
obayesshelton wrote:I just need to put an account number for an external service inside the users order.
I was going to use company name but I noticed that is not storing, is there an issue with that?


You should not reuse existing fields for different things, especially as adding custom fields is pretty simple.

Create a service provider decorator where you can define the required fields:
https://aimeos.org/docs/Developers/Library/Service/Define_configuration

Afterwards, add it to your delivery service provider entry and the fields will be automatically added to the delivery option where the customer can enter their additional data: https://aimeos.org/docs/User_Manual/Administration_Interface/Service_decorators#Usage

The data is stored as an order base service attribute item in the database where you can work with it.