Hi
Is there a way that I can print more than one Promo message at the same time?
I have a message that I want to print on all days of the week and another message that I want to print only from Tuesday through to Sunday.
How do I get both messages to print on the invoice at the same time?
Gerry
Print multiple promotions
Re: Print multiple promotions
The only way to get more than one is by using enhanced graphical receipts. Put the %pr (promo message) variable in your script 2 times to get 2 different promo messages.
On Mondays you will end up with 2 of the same message unless you setup another promo message (even a blank one with ---- or something) to run only on Monday since your receipt will want at least 2 different ones for each day of the week in your case.
Scott
On Mondays you will end up with 2 of the same message unless you setup another promo message (even a blank one with ---- or something) to run only on Monday since your receipt will want at least 2 different ones for each day of the week in your case.
Scott
-
- Active Member
- Posts: 30
- Joined: Mon Aug 22, 2016 4:51 pm
Re: Print multiple promotions
Thank you very much Scott.
this is wonderful.
this is wonderful.
-
- Active Member
- Posts: 30
- Joined: Mon Aug 22, 2016 4:51 pm
Re: Print multiple promotions
Hi Scott
When I put the %pr variable twice, I am getting the same promo message printing twice.
Maybe I am missing something?
Gerald
When I put the %pr variable twice, I am getting the same promo message printing twice.
Maybe I am missing something?
Gerald
Re: Print multiple promotions
Hmmm, it should make two separate calls getting two different results. I will have to try this when I get back into the office.
Scott
Scott
-
- Active Member
- Posts: 30
- Joined: Mon Aug 22, 2016 4:51 pm
Re: Print multiple promotions
Hi
Did you try it? Can you advise me on how to do it properly?
Did you try it? Can you advise me on how to do it properly?
Re: Print multiple promotions
I tried it here, and it does the same thing. I investigated the script code processor, and this is the expected behavior after looking through it's design. It replaces ALL instances of specific variables with the current data at one shot. Therefore they will all be the same. The script interpreter was designed that way for increased performance. There is no way to get 2 different messages since this is the case.
In the future a 2nd promo variable could be added like %pr2 or something similar, allowing for a different message than %pr.
I will see about doing this in the next update.
Scott
In the future a 2nd promo variable could be added like %pr2 or something similar, allowing for a different message than %pr.
I will see about doing this in the next update.
Scott
-
- Active Member
- Posts: 30
- Joined: Mon Aug 22, 2016 4:51 pm
Re: Print multiple promotions
Hi Scott
Thanks for the update
Thanks for the update