All products

Model product variants with AI

Decide what a customer buys, assign each sellable unit a SKU and check the catalogue structure before building an import.

Model product variants with AI by tracing a sale through the catalogue. Suppose the last green mug sells while six white mugs remain. Which record should lose a unit? The product-catalog-modeling skill starts from that practical question and helps organise the parent product, selectable options and stock records.

A descriptive attribute need not create a variant. Two mugs might share the same capacity even though customers must choose a colour. A small planning file lets you test those distinctions before writing an importer or touching shop stock.

What it does

  • Give each purchasable unit a catalogue-wide unique SKU.
  • Separate shared attributes from the options customers choose.
  • Identify two variant records with the same combination.
  • Place price and stock on the appropriate sellable record.
  • Distinguish simple, variable, grouped and externally sold products.

Install and use

  1. Provide authorised sample records and the options your shop offers. The local catalogue checker needs Node 20 or later.
  2. Ask, “Map these mugs by colour. Show which record owns the price and stock, and flag any two examples using the same SKU.”
  3. Correct the planning model, then map it to the shop's import format. Check how the importer handles a variant that disappeared from the new catalogue.

FAQ

Source

Made by Naser Sadrmanesh. Original skill: product-catalog-modeling, published on GitHub under the MIT licence.

View on GitHub