Wocart

@wocart/storefront v3.1.0


@wocart/storefront / index / ProductVariantSchema

Variable: ProductVariantSchema

const ProductVariantSchema: 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.