Closed bartervg closed 3 years ago
Surprisingly, the addItem() method public function addItem($side, $item_info)
didn't have a quantity parameter. $quantity = 1 was hard coded except for trading cards, gems, and refined metal, which were set to 0. Now, the quantity values are passed in from the countered offer.
TODO: required and combo values should be passed in also, if / when these become fully implemented.
TODO: required and combo values should be passed in also, if / when these become fully implemented.
What problem does this feature address?
When countering an offer, the quantities default to 1 regardless of the original quantities.
Describe a solution
Examples of similar features
Quantity is easily overlooked and this is a source of disputes. The counter should be identical to the original until edited.