Update variant quantity logic

Added check for quantity exists in hasChildVariants helper

Started on after.update collection hook (commented out in this commit)