Multi Basket
Enables customers to create and manage multiple virtual baskets at the same time. Facilitates better basket organization.
Installation Method
You can use the following command to install the extension with the latest plugins:
npx @akinon/projectzero@latest --plugins
Props
Prop
Type
Required
Description
BasketItem
JSX.Element
Yes
Product component displayed in the basket.
Setting the Visibility of Multi Basket
File Path:
settings.js file
module.exports = {
// other settings
plugins: {
// other plugin settings
multiBasket: true
}
};
Usage Examples
File Path:
views/basket/basket-content.tsx
Default Usage
import { BasketItem } from '@theme/views/basket';
<PluginModule
component={Component.MultiBasket}
props={{
BasketItem
}}
/>
Last updated
Was this helpful?