Product Listing Price
amerta / amerta/theme/components/ProductPrice / ProductListingPrice
Function: ProductListingPrice()
ProductListingPrice(
__namedParameters):Element|null
Defined in: amerta/theme/components/ProductPrice/index.tsx:8
Parameters
| Parameter | Type |
| ------ | ------ |
| __namedParameters | { product: Product; selectedVariant?: { barcode?: string | null; height?: number | null; id?: string | null; image?: string | ProductMedia | null; length?: number | null; price: number; quantity?: number | null; requires_shipping?: boolean | null; salePrice?: number | null; sku?: string | null; stockStatus?: "in_stock" | "out_of_stock" | "on_backorder" | null; trackInventory?: boolean | null; variant: {[k: string]: {[k: string]: unknown; name: string; value: string; }; }; weight?: number | null; width?: number | null; } | null; } |
| __namedParameters.product | Product |
| __namedParameters.selectedVariant? | { barcode?: string | null; height?: number | null; id?: string | null; image?: string | ProductMedia | null; length?: number | null; price: number; quantity?: number | null; requires_shipping?: boolean | null; salePrice?: number | null; sku?: string | null; stockStatus?: "in_stock" | "out_of_stock" | "on_backorder" | null; trackInventory?: boolean | null; variant: {[k: string]: {[k: string]: unknown; name: string; value: string; }; }; weight?: number | null; width?: number | null; } | null |
Returns
Element | null