@cromwell/plugin-product-showcase

2.0.0-alpha.0 • Public • Published

Product showcase plugin for Cromwell CMS

Adds a carousel with products. On a product page it will fetch products from same categories, on other pages - most recent products.

Relies on shared product card component. To register, for example add this code in custom app:

import { registerSharedComponent } from '@cromwell/core';
import { MuiProductCard } from '@cromwell/toolkit-commerce';

registerSharedComponent(ESharedComponentNames.ProductCard, MuiProductCard);

export default function App() {
  /* ... */
}

Readme

Keywords

none

Package Sidebar

Install

npm i @cromwell/plugin-product-showcase

Weekly Downloads

7

Version

2.0.0-alpha.0

License

MIT

Unpacked Size

23.7 kB

Total Files

11

Last publish

Collaborators

  • elrix