form input name for comment

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!
obayesshelton
Posts: 21
Joined: 12 Oct 2015, 12:31

form input name for comment

Post 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

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

Re: form input name for comment

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

obayesshelton
Posts: 21
Joined: 12 Oct 2015, 12:31

Re: form input name for comment

Post by obayesshelton » 11 Feb 2016, 17:09

Is there any way to add something to the order similar to how you do with the delivery by creating a MShop_Service_Provider_Decorator ?

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

Re: form input name for comment

Post by aimeos » 11 Feb 2016, 17:10

What do you exactly need?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

obayesshelton
Posts: 21
Joined: 12 Oct 2015, 12:31

Re: form input name for comment

Post 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

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

Re: form input name for comment

Post 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/Libr ... figuration

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/Adm ... tors#Usage

The data is stored as an order base service attribute item in the database where you can work with it.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply