Add ability to force stock item value

Fixes #3293
Fixes #3691