No announcement yet.

Note Section for Customers at Checkout

  • Filter
  • Time
  • Show
Clear All
new posts

    Note Section for Customers at Checkout

    Is there a way to add a note section for customers to add a note at checkout? Thanks!
    Semper Fi,

    Robert Perry

    What ReadyTheme are you using? Delivery notes are built into Shadows (and other themes). Anyway, it's not too hard to implement. Are you a developer?



      I recommend reading into custom fields here:

      You need to create a new custom field by navigating to utilities > custom fields.
      Create a custom field with:
      Code: order_instructions
      Name: Up to you
      Field Type: Text Area
      Type: Order

      On page OCST place the following code where you want to display the text area (note you may have to update the classes depending on your theme):
      <mvt:item name="customfields" param="Read_Basket('order_instructions', g.order_instructions)" />
      <label class="c-form-label c-heading-delta u-text-bold" for="order_instructions" title="Delivery Notes">Comments / Shipping Instructions <span class="c-heading--subheading">(Optional)</span></label>
      <textarea id="order_instructions" class="c-form-input c-form-input--long" name="order_instructions">&mvte:global:order_instr uctions;</textarea>

      On OPAY:
      <mvt:if expr="NOT ISNULL g.order_instructions">
      <mvt:item name="customfields" param="Write_Basket('order_instructions', g.order_instructions)"/>
      <mvt:item name="customfields" param="Read_Basket('order_instructions', g.order_instructions)"/>

      On INVC :
      <mvt:item name="customfields" param="Read_Basket('order_instructions', l.settings:order_instructions)" />
      <mvt:item name="customfields" param="Write_Order(l.settings:order:id, 'order_notes', l.settings:order_instructions)" />
      <mvt:if expr="l.settings:order_instructions">
      <li class="o-list-block__item">
      <p class="c-heading-delta u-text-bold">Delivery Notes</p>
      <hr class="c-keyline">
      <p class="u-font-small u-color-gray-40">

      On your template based batch report (or wherever you intend on displaying the custom field):
      <mvt:item name="customfields" param="Read_Order(l.settings:order:id, 'order_instructions', g.order_instructions)" />

      You'll also be able to view notes while viewing orders in the admin under custom fields.

      Hope that helps!


        Thanks a lot Ryan!!! My Theme is Old!!!! From around 2002. I appreciate the code and will check out that link!
        Semper Fi,

        Robert Perry


          at that date, i'd first check to see if the custom fields module is even there

          Custom Fields

          Bruce Golub
          Phosphor Media - "Your Success is our Business"

          Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook