Announcement

Collapse
No announcement yet.

Automatically add order note for specific customer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Automatically add order note for specific customer

    Is there any way to add a note to an order for a specific customer? The store needs to include special instructions that would apply to this one customer (perhaps more later down the road). They don't want to go into the admin to add the note manually. It just needs to automatically be inserted whenever the customer places the order to be included in the Printable Invoice.

    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    One of the actions you can do as part of Order Workflows is add a note to an order. So you could setup a workflow with the condition to check if the order:cust_id EQ X so it only adds it if the customer places an order.

    But if the note is the same and they only need it to display on the printable invoice you likely can just hard code the message on that template wrapped in a conditional for the customer id/login.
    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]
    https://www.miva.com

    Comment


      #3
      Originally posted by Brennan View Post
      One of the actions you can do as part of Order Workflows is add a note to an order. So you could setup a workflow with the condition to check if the order:cust_id EQ X so it only adds it if the customer places an order.

      But if the note is the same and they only need it to display on the printable invoice you likely can just hard code the message on that template wrapped in a conditional for the customer id/login.
      Thanks - it may get complicated. It may wind up being more than one customer and each having their own message that would need to be injected. Could it be pulled from the Notes in the Customer > Notes?
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


        #4
        You could use a custom customer field, a checkbox, that enables the note on a per customer basis. So using Brennan's suggestion wrap up the note function, the pseudo code on the invoice for example:
        If customer is Note-Enabled, then addNote to the order, or to a custom order field.
        Then you could render this content where ever needed.

        Scott
        Need to offer Shipping Insurance?
        Interactive Design Solutions https://www.myids.net
        MivaMerchant Business Partner | Certified MivaMerchant Web Developer
        Competitive Rates, Custom Modules and Integrations, Store Integration
        AutoBaskets|Advanced Waitlist Integration|Ask about Shipping Insurance Integration
        My T-shirt Collection is mostly MivaCon T-shirts!!

        Comment


          #5
          Originally posted by ids View Post
          You could use a custom customer field, a checkbox, that enables the note on a per customer basis. So using Brennan's suggestion wrap up the note function, the pseudo code on the invoice for example:
          If customer is Note-Enabled, then addNote to the order, or to a custom order field.
          Then you could render this content where ever needed.

          Scott
          I've created a Custom Customer Field, I added the message for the customer that will need to display with every order the customer makes. How do I get that content to display on the printable invoice? I'm thinking I'm not grasping all the pieces needed to pull this info in. The token list isn't helping me.
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment

          Working...
          X