Menu Close
    Hire us Request quote Reading list Switch to dark mode
    lockdownWebkulUp

    Add custom comment programmatically to order in Magento 2

    In this Article, I am going to explain how to add the custom comment in Order.
    Some time, we have a need to add note to order so that we can not miss any thing for the particular order.
    So this is the simplest solution to add note for order in the form of comments.


    Note : self::ORDER_CUSTOM_COMMENT_TEXT, self::ORDER_ID,  I have used these constant variables but you can pass the dynamic value for both orderId and comment message.

    . . .
    Subscribe Articles

    Just enter your email below to subscribe and receive weekly updates about the most interesting similar articles.

    You need to accept conditions to receive letters.
    You've Subscribed!

    Share article via

    . . .

    . . .

    Comment

    Add Your Comment

    Be the first to comment.

    Back to Top
    css.php
    Hire Us!
    Brief us about your requirements and we'll get back to you.
    Woo! Hooy!
    We have just recieved your project brief and our expert will contact you shortly.
    Send Again
    Close