Skip to content

Add Order note textarea field to Magento one step checkout and Add/edit note from admin with AJAX

Notifications You must be signed in to change notification settings

vijayrami/Magelearn_OrderNote

Repository files navigation

Magelearn_OrderNote

Add Order note textarea field to Magento one step checkout and Add/edit note from admin with AJAX

Features

  • Add new field (textarea) in checkout.
  • Add custom validation (text length) for this new field.
  • Add new column in sales order grid page at admin.
  • Display this note at sales order view page info at admin.
  • give option to Add/edit note from admin.
  • Save note with AJAX from admin.
  • On Front end sales order view page display note to customer.

Checkout.png

Checkout.png

Screenshot-from-2021-07-14-14-44-17.png

Annotate-a-local-image-2.png

Annotate-a-local-image-3.png

Annotate-a-local-image-2.png

Referances:

https://webkul.com/blog/adding-additional-variables-in-window-checkoutconfig-on-magento-2-checkout-page/ https://devdocs.magento.com/guides/v2.4/ext-best-practices/tutorials/copy-fieldsets.html https://knockoutjs.com/documentation/extenders.html