Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jason Mackay 98 posts 149 karma points
    Sep 15, 2011 @ 15:28
    Jason Mackay
    0

    Adding a new field in Cart step 2

    Hi guys, trying to add a new field in to the step 2 of the cart a kind of gift message textbox, maybe it my lack of XSLT knowledge but cant find a way of connecting up to the Orders Report in Tea Commerce.

    Any ideas?

    Cheers

  • Rune Grønkjær 1372 posts 3103 karma points
    Sep 15, 2011 @ 15:40
    Rune Grønkjær
    1

    Hi Jason,

    First check and make sure the new order property have been added. You can do this in the firebug console by calling "TeaCommerce.getOrder()" and then inspecting the order.

    If it's not in there:

    1. Make sure it have been added to the JavaScript in the teaCommerce_Simple.js
    2. Remember to update the forms hidden field "UpdateOrderProperties" in the step 2 xslt

    If it's there you will easily be able to get the value in the teaCommerceAdminOrder.xslt and the teaCommerceEmailTemplate.xslt by getting: "$order/properties/nameOfProperty"

    That should do the trick for you. Otherwise feel free to ask again

    /Rune

  • Jason Mackay 98 posts 149 karma points
    Sep 15, 2011 @ 16:45
    Jason Mackay
    0

    That brilliant, got it now. Thanks very much for your detailed and quick reply.

    Jason

Please Sign in or register to post replies

Write your reply to:

Draft