2
Right now there is not a way that values can be set with default values on an MPOS form. For instance, the first name, last name, and customer group are required fields on the 'new customer' form. It would be great if there was a way to set these values to a 'default' value through code, so that the customer creation process could be done faster. Right now we do not have access to setting the values on these controls.
STATUS DETAILS
Under Review
Ideas Administrator

Thank you for the product suggestion! We will continue to monitor this idea and the votes to determine if it will be given a position in our backlog.  -Holly Haines, Principal Program Manager

Comments

P

Hi Peter,

It is possible to set the default values via POS extension:
1) Create custom control for 'Customer add/edit' view
2) This control can have completely empty HTML design - so it will not influence on customer form design
3) Inside control typescript class (that handles business logic, inherited from CustomerAddEditCustomControlBase), - add logic to set default values to Customer object (for example, in onReady method)

Regarding customer group: it should be taken from default store customer by standard, so you can use this customer settings to populate it.

Category: Extensibility/SDK