[**@wocart/storefront v3.1.0**](../../README)

***

[@wocart/storefront](../../README) / [index](../README) / ProductView

# Interface: ProductView

## Properties

### basePrice

> `readonly` **basePrice**: `number`

***

### comparePrice

> `readonly` **comparePrice**: `number`

***

### defaultVariant

> `readonly` **defaultVariant**: `object`

#### compareAtPrice?

> `optional` **compareAtPrice?**: `number`

#### id

> **id**: `string`

#### imageId?

> `optional` **imageId?**: `string`

#### inventory

> **inventory**: `number`

#### isDefault

> **isDefault**: `boolean`

#### lowStockThreshold

> **lowStockThreshold**: `number`

#### price

> **price**: `number`

#### sku?

> `optional` **sku?**: `string`

#### variations

> **variations**: `z.ZodRecord`\<`z.ZodString`, `z.ZodString`\>

***

### discountPct

> `readonly` **discountPct**: `number`

***

### hasDiscount

> `readonly` **hasDiscount**: `boolean`

***

### isLowStock

> `readonly` **isLowStock**: `boolean`

***

### isOutOfStock

> `readonly` **isOutOfStock**: `boolean`
