Sorry, we don't support your browser.  Install a modern browser

Amount variable in product delivery commands#11

S

When a customer purchases multiple of an item, lets say 10 supply drops in Rust, instead of having it deliver 1 supply drop 10 times, we could pass in that 10 variable to the command and have it deliver 10 supply drops in one command.

Example, this needs to run ten times:

inventory.giveall supply.drop 1

Or run this one time:

inventory.giveall supply.drop {order.quantity}
10 months ago
Changed the status to
Planned
10 months ago

You can actually already acheive this with custom variables but in the future we do have a much easier way to do this planned.

10 months ago
S

Thanks for the info, yeah I guess I was hoping for not a template altering option where it could grab the quantity in the line item and pass that along to the command.

I didn’t realize custom variables did this however and will look into incorporating it! Thanks again!

10 months ago