CaQuickAddProduct
A summary of a product with a buy button
SASS-path: ./styles/components/atoms/ca-quick-add-product.scss
Props
| Name | Description | Type | Required | Default |
|---|---|---|---|---|
| product | The product data | Object | true | - |
| useProductCard | Product card design option | Boolean | false | false |
Methods
| Method | Description | Parameters |
|---|---|---|
| add | Add to cart if skuId is present, otherwise go to product | - |
Computed
| Computed | Type | Description | From Store |
|---|---|---|---|
| skuId | String | The current skuId if only one, otherwise empty string | No |
MixIns
| MixIn |
|---|
| MixAddToCart |