Help with TICKET ORDER COUNT EXP

Guys, trying to finish my POINT REWARD SYSTEM, and the only missing part is to print how many point the client earnd in the current ticket.

How to do that?, well, I have a State that tells me wich product earns points, POINTS, and I need to count how many orders do have that State.

I use

{TICKET ORDER COUNT EXP:(OS.Promotion=POINTS)}

but does not seem to work.

Need help here!! LOL

Thanks!!!

G.


Dont think this needs to be in beta section :smile:

Anyway, are you sure its the EXP: tag you need?

Well, I am lost at this point need help…

I need to count the orders that have a Promotion State = Points

Thanks!!!

g.

So maybe order’s Promotion state is not POINTS. Can you show us the rule that updates the promotion state?

This is the Rule:

Thanks!!
G.

Should we start a competition?

Hint: You’re setting state as Points and calling it as POINTS inside tag.

2 Likes

Well… look… you can give right now a WINNER BADGE…

:weary:

I am lost… compeltely lost…

help!!!

Thnaks!!!

g.

It is case-sensitive @gerlandog.

You set the State to Points, but you check/filter on POINTS.

1 Like

ok, thanks!!!

Its working now as a message in close ticket…

but its still not working in the ticket template…

Am I using it wrong?

Thanks!!!

G.

Are you certain it isn’t working?

The line you highlighted in the Template, does not match the line you highlighted on the Preview…

1 Like

See, thats why I need you guys…
I am trying to figure out why is giving me 5 points, and I am working on the 2 points line… I am all messed up…

I am really sorry…

THANK YOU ALL!!!

G.