Page 1 of 1

${Cartid} minus 1

Posted: 23 Jul 2020 12:12
by Regulate
Hi Bernd or anyone who knows this :). Is it possible to do a calculation on the $cartid. I need the $cartid minus 1 value for programming an event.

Re: ${Cartid} minus 1

Posted: 23 Jul 2020 12:19
by radio42
Sure, take a look to the *[TOINT: ...
Example:

Code: Select all

*[TOINT:{${cartid}}:{add}:{-1}]

Re: ${Cartid} minus 1

Posted: 23 Jul 2020 13:26
by Regulate
Damn Bernd, you really thought of everything. It works like a charm. Thank u very much :)