Forum

The forum is a free service supported by community members. Please consider opening a support ticket if you need timely help.

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 27 Sep 2022 12:56 PM by  Steve L
CUSTOM SHIPPING RULE
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages


Basic Member


Posts:120
Basic Member


--
16 Sep 2022 02:10 PM

    For the template above there is a test for county code. I need a check for post code.

    What is the XSL code for a post code that starts wtih BT

    i've tried ShippingPostalCode in place of shippingCountryCode

    But it does not work. Please help.

    Thank-you

    0


    Veteran Member


    Posts:2951
    Veteran Member


    --
    27 Sep 2022 12:56 PM

    Have you tried?

    <xsl:if test="starts-with(upper-case(/in/salesOrder/shippingPostalCode), 'BT')"> ... </xsl:if>

    0
    You are not authorized to post a reply.