Fix for variation stock defaulting to 0 and documentation.