If the Scripted Item is a Matrix Item, the parameter "Use Matrix Code" will be available on the Scripted Item screen. If this parameter is enabled, Keystroke will use the Matrix Code from the Scripted Item to automatically select any additional matrix items added via the script (as long as they have the same Matrix Table as the Scripted Item).
For example:
If a Small Blue Sweat Suit was sold, and the script was set to tag-along a Sweat Shirt and Sweat Pants, Keystroke will automatically select the Small Blue matrix item for both the pants and shirt. However, if this parameter is disabled, or if one of the items added did not use the same matrix table, Keystroke will prompt for which matrix item is to be added/tagged-along with the main item.
ITEM SELECTED: SMALL BLUE SWEAT SUIT - Matrix Table: S
TAG-ALONG: SMALL BLUE SWEAT SHIRT - Matrix Table: S
TAG-ALONG: SMALL BLUE SWEAT PANTS Matrix Table: S
See:
Scripts Contents