${Cartid} minus 1

You have a question or need an advice about how to do something? Ask it here!
Post Reply
Regulate
Posts: 10
Joined: 23 Jul 2020 12:10

${Cartid} minus 1

Post by Regulate » 23 Jul 2020 12:12

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.

User avatar
radio42
Site Admin
Posts: 6391
Joined: 05 Apr 2012 16:26

Re: ${Cartid} minus 1

Post by radio42 » 23 Jul 2020 12:19

Sure, take a look to the *[TOINT: ...
Example:

Code: Select all

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

Regulate
Posts: 10
Joined: 23 Jul 2020 12:10

Re: ${Cartid} minus 1

Post by Regulate » 23 Jul 2020 13:26

Damn Bernd, you really thought of everything. It works like a charm. Thank u very much :)

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests