XML Receipt and Conditions


J

jet328

I wanted to make a small adjustment to the receipt when a certain
condition is met.
If a particular word (eg. family) is typed into the comment on an item
I wanted something slightly different to happen to the receipt

I've just about got it, just stuck on the condition tag

<IF>
<CONDITION>len(Entry.Comment)</CONDITION>
<THEN>

I can get it using len but this makes it happen for any word, is there
anyway I can make it so that it is more specific ie Entry.Comment
contains '%family%'
 
Ad

Advertisements

M

Matt Hurst

try
<IF>
<CONDITION>Entry.Comment like '%family%'</CONDITION>
<THEN>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Receipt - Conditional XML 1
Help with Receipt xml <CONDITION> statement 3
XML <IF> condition 1
Receipt XML 4
xml receipt modification 1
Receipt XML - Jeff 1
Line# in XML receipt 2
xml Receipt help 2

Top