Last Updated 7 years ago

How to import a product supplier?

If you use the Suppliers option in PrestaShop, where suppliers offer the same product but with a different supplier product code and/or product price, read this entry.

A product in PrestaShop can have multiple suppliers. Each supplier can provide its own price and its own product code. Our importer allows full import and update of data including suppliers.

During import, in the field mapping step, you can match several supplier data sets (the file may contain several suppliers). One supplier data set should contain:

  • Supplier ID
  • Supplier name
  • Product code for the supplier
  • Net price at this supplier
If you want to import several suppliers, each of them must have a complete data set. If you don't have these values in the file, use custom values, creating your own data - the "Custom values" tab in the Mapping step. These values can be empty.

The import process through the module works as follows (how the module works from a technical point of view):

1. The module compiles the next supplier data set based on the matched data (Supplier ID, Supplier name, Product code for the supplier, Net price at this supplier)

2. The module looks up the supplier based on the matched supplier product code or supplier ID:

  • 2.1. If the importer does not find the supplier ID in your store, but the data set has a supplier name, it creates a new supplier.
  • 2.2. If the importer does not find the supplier and the data set has no supplier name, it skips this data set and goes to step 4.
3. The module assigns the product to the supplier, along with the price and code, if found in the given data set.

4. The module returns to step 1 if there are more data sets.

If you want to create a link between a product and a supplier, and optionally update the supplier product code or net price, you must have at least one of the following data sets during product import (listed by the module's supplier lookup priority):

1. Supplier ID (supplier must exist) + optionally net price and supplier product code

2. Supplier product code (link must exist) + optionally net price

3. Supplier name (supplier will be created if it doesn't exist) + optionally net price and supplier product code

Please Wait!

Please wait... it will take a second!

Kliknij by skopiować