Components and Packages are typically used for Hospitality (however they are not restricted to hospitality) and are designed to be able to create containers of products (Packages) which start with a set list of products (components) which can be modified on the sell screen.
Packages are different to Basket Products in the respect that they can be modified during the sale whereas Basket Products contain a fixed set of products. Packages also have dynamic costs calculated at the time of the sale. We would suggest using Basket Products where available except in cases where you need to modify the container during the sale.
Packages can contain as many components (but no other product type) as you wish and a component can belong to as many packages as you like.
Components are also able to be sold individually without the Package (as if they were a normal product).
Components and Packages can be confusing to wrap your head around to start off with, so let's work with a real life example. You own Milliways, a fantastic restaurant at the end of the Universe which sells a wide variety of meals, including a delicious burger. Typically this burger is made using a bun, patty, lettuce, tomato, cheese and sauce, when we set this up in Shopfront the product's will look like:
Components: Bun, Patty, Lettuce, Tomato, Cheese, Sauce
A new customer comes in the door, Marvin. Marvin would like the burger but would also like to add some onion to the burger. So you ring up the burger on the sell screen and then you simply add onion using the search bar, this changes the burger to contain the following components:
You complete the sale and serve Marvin his delicious Burger with extra Onions.
Enabling Components and Packages
- Select the Menu icon
- Select Setup
- Select General
- Select Company
- Toggle to turn on Use Components and Packages
- Select Save Settings
Creating Components is very similar to creating a General Product, except instead of selecting New General Product, you should select New Component. This will present you with a similar screen, except with one additional tab titled Packages.
The Packages tab shows which packages this component is current a part of and any modifier prices that might be set (increasing or decreasing the price of the package when this component is added or removed).
Creating Packages is also very similar to creating a General Product, except instead of selecting New General Product, you should select New Package. This will present you with a similar screen, except with one additional tab titled Components.
The Components tab shows which components are the default components for the package. You can also set modifier prices in this tab (increasing or decreasing the price of the package when this component is added or removed).