2

I want to add 'Notes' textarea for adding addtional message by customer while placing the order.

I have added additional textarea in 'Order types' page (/admin/commerce/config/order-types/default/edit/fields). It is displaying in order page but not in checkout page.

Example: Customer is placing an order for Toys and they want to add message saying 'Please deliver in 2 days..'

Edit: I have seen same question in Drupal 7. But there is no 'Commerce Fieldgroup Panes' module in Drupal 8.

1

You will need to write a custom checkout pane plugin, I'm afraid.

Docs here: https://docs.drupalcommerce.org/commerce2/developer-guide/checkout/create-custom-checkout-pane

1
  • I'm able to add the textarea using using '$pane_form['customer_message'] = array( '#type' => 'textarea', '#title' => t('Customer Message:'), );' and not sure where it is storing and how I can get this message into order page.
    – shanidkv
    Dec 11 '17 at 17:18
-1

You can add custom fields using profile > Customer by following path.

/admin/config/people/profiles/manage/customer/fields

You must have installed Profile module also with Commerce 2

This site is temporarily in read only mode and not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .