Product seller
Since the catalog is shared, Mercur needs a way to say which stores may sell a given master product. That’s the product–seller allowlist: a many-to-many link between Medusa’sProduct and Mercur’s Seller, stored in the
product_seller table.
sellers list only if it has been allowlisted.
Being on the allowlist is what lets a store create an
offer against the master product. Without it, the
store cannot list that product for sale.
The allowlist link is created automatically for the submitting store when a
product is created with
seller_ids, and managed afterwards with
linkSellersToProductWorkflow. See
Allowlist stores.Category allowlist
Product categories carry the same pattern through thecategory_seller link. It
is a many-to-many association between ProductCategory and Seller that scopes
which categories a store is associated with. Manage it with
linkSellersToProductCategoryWorkflow.