Skip to main content
The Offer module owns two data models: Offer and OfferCondition. Prices, inventory, the store, and catalog records aren’t columns on these models. They attach through module links.

Offer

A store’s listing of one master product variant. Table offer, id prefix offer. OfferDTO also has offer_ids, the list of offer ids in a group_by_seller group. It isn’t a model field.

Offer relations

The offer has one relation inside the module:
  • condition: belongs to one OfferCondition, nullable

Offer indexes

Every index applies only to rows where deleted_at IS NULL:

OfferCondition

A physical condition an offer can be listed under, such as new or refurbished. Operators manage the list. Id prefix ofcond.

OfferCondition relations

The condition has one relation inside the module:
  • offers: has many Offer records, mapped by condition
The index IDX_offer_condition_code_unique keeps code unique while deleted_at IS NULL.