Composite products are a useful way to bundle multiple products into one sellable unit. You can also use these for selling fractional quantities; for example, a glass of wine as a percentage of a bottle. Just like standard products, you can import composite products through CSV file into your Vend account. The following process will show you how:
Setting up the CSV file
In this example, we're setting up a Glass of Wine. Firstly, add the composite product to the CSV file; the parts that make up this product will have the same handle and sku as this (this is what identifies it as a composite).
Note: When importing a composite product, you need to ensure that the products that make up the composite are already added to your Vend account. This can be done in the same CSV file that you use to setup your composite product; however you need to make sure these are above the composite product in the CSV, to make sure that these are imported first.
Now you need to add the components and the quantity that will make up the composite product. When you add this, remember to make sure that the handle and the sku are the same as the composite.
handle: This is the handle of the composite product - this will be the same for both the composite product and the parts
sku: This is the handle of the composite product - this will be the same for both the composite product and the parts
composite_handle: This is the handle of the component part
composite_sku: This is the sku of the component part
composite_quantity: This is the amount of the component part which is in the composite product. This could be a full number (for example, 3 pairs of socks to make up a pack), or it could be a fractional quantity (like 0.2 of a Wine Bottle, meaning it is a percentage of the wine bottle product).
retail_price: This is the retail price of the composite
tax_name: This is the tax that will be applied to the composite
When you import this CSV file, the imported composite product should appear as normal.