Announcement

Collapse
No announcement yet.

Trying to Add Custom Fields to Printable Invoice Template

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

    Trying to Add Custom Fields to Printable Invoice Template

    I have set up basket custom fields which are saving as custom order fields to capture how a customer found us and if they need us to include a gift tag with the order. I would like to have that information print out on the Order Invoice so that all the information is together for us when we pull the order.

    The Names of the Fields are showing on the Invoice but obviously I have the coding set up incorrectly as it is not pulling the custom field information onto the page. I also set up the Debug feature but right now it is not catching any errors.

    Can anyone tell me where I am going wrong? Here is what I have:

    <mvt:item name="customfields" param="Read_Order(order_id, 'hear-about-us')" />
    Where Did you Hear About Us: &mvt:customfields;
    <br>
    <mvt:item name="customfields" param="Read_Order(order_id, 'gift-tag-message')" />
    Message for Gift Tag: &mvt:customfields;

    Thanks.

    #2
    Re: Trying to Add Custom Fields to Printable Invoice Template

    In the confirmation template we read our custom order like this:
    <mvt:item name="customfields" param="Read_Order(l.settings:order:id,'shipmentcarriers')" />
    Larry
    Larry
    Luce Kanun Web Design
    www.facebook.com/wajake41
    www.plus.google.com/116415026668025242914/posts?hl=en


    Comment


      #3
      Re: Trying to Add Custom Fields to Printable Invoice Template

      Thanks so much Larry!

      For some reason the asterisks didn't work but I just got it to work with this:

      <mvt:item name="customfields" param="Read_Order(l.settings:order:id,'hear-about-us')" />
      Where Did you Hear About Us: &mvt:customfields;
      <br>
      <mvt:item name="customfields" param="Read_Order(l.settings:order:id,'gift-tag-message')" />
      Message for Gift Tag: &mvt:customfields;

      Yes!!

      Thanks again.

      Susan

      Comment


        #4
        Re: Trying to Add Custom Fields to Printable Invoice Template

        Just double checked again and realized that it is pulling the "Hear About Us" response down a 2nd time so it is also listed in the Gift Tag Message. I am assuming that I need to add the 3rd parameter to code to get around that?

        Thanks again for any help!

        Susan

        Comment


          #5
          Re: Trying to Add Custom Fields to Printable Invoice Template

          Yes! That did it.

          Again, Larry thanks for the help!!

          Susan

          Comment

          Working...
          X