@wocart/storefront / index / ProductVariantSchema
Variable: ProductVariantSchema
constProductVariantSchema:z.ZodObject<{compareAtPrice:z.ZodNullable<z.ZodNumber>;id:z.ZodString;imageId:z.ZodNullable<z.ZodString>;inventory:z.ZodNumber;isDefault:z.ZodBoolean;lowStockThreshold:z.ZodNumber;price:z.ZodNumber;sku:z.ZodNullable<z.ZodString>;variations:z.ZodRecord<z.ZodString,z.ZodString>; },z.core.$strip>
One active variant of a product, in the merchant's order; its selection in the client's language.