At Jewely / Flippad, the PIM, the central product database, serves several jewellers and watch retailers. They often sell the same brands, but on different CMSs and with different sales rules. We had to decide what the PIM stores, and what each shop does with that data.
On the way in: format once
Product data comes from the brands, each in its own format. I wrote the Python scraping and enrichment scripts that collect it and bring it into the PIM's format: references, attributes, materials, images, videos. This work happens once, on the way in.
In the PIM: raw, shared values
The key decision was to keep raw values in the PIM, shared by every client, before any shop-specific transformation.
The same watch can be sold by several houses. If the PIM stored one shop's version, with its vocabulary, its publishing rules and its way of splitting attributes, every other shop would first have to undo it. Each shop can adapt neutral data without undoing anything.
On the way out: one adaptation layer per client
Each client has its own layer between the PIM and its shop. That layer converts the shared data to its CMS's format and applies the client's sales rules.
- The pre-owned watch shop (Laravel CMS). The watches are pre-owned and unique. A piece only goes online with at least three professional photos. The size comes from the watch data, or failing that from the stock entry. Materials are split between case and bracelet. The year of the piece is kept.
- The jeweller (Laravel CMS). A product goes online as soon as it has images. Prices are updated from the PIM.
- The PrestaShop house. Prices and stock come from the Odeis ERP. A product missing from the shop is created inactive, then completed in Jewely before it goes online. Sizes become PrestaShop product variants.
- La maison sous WooCommerce. The same data arrives in WordPress, in WooCommerce's format.
Google Merchant Center and the Meta catalog (Facebook and Instagram) are then generated from each shop, with data that is already adapted.
The cost of this choice
It takes one adaptation layer per client, to write and to maintain. In return, a client's own logic stays in its layer and does not spill over onto the others.
Enrichment done in the PIM benefits every shop. Adding a client means writing its adaptation layer, without touching the shared data.
The full flow, including the PrestaShop price incident, is in the case study Product-data flows between ERP, PIM and shops.