add :product_id and :lock_version to the variant attributes list. [Fixes