OfferItem

Table-name: b2b_offer_item

Plugin

Offer Function for Sales Agents

Table columns

Field
Class
Type
Is required

id

IdField

binary

true

offerId

FkField

binary

true

productid

FkField

binary

false

label

StringField

varchar

false

description

StringField

varchar

false

quantity

FloatField

double

false

unitPrice

FloatField

double

false

totalPrice

FloatField

double

false

price

CalulatedPriceField

json

false

payload

JsonField

json

false

priceDefinition

PriceDefinitionField

json

false

type

StringField

varchar

true

stackable

BoolField

tinyint

false

removeable

BoolField

tinyint

false

good

BoolField

tinyint

false

optional

BoolField

tinyint

false

position

Intfield

int

false

discount

FloatField

double

false

comment

LongTextField

text

false

customFields

CustomFields

json

false

updatedAt

UpdatedAtField

Datetime

false

createdAt

CreatedAtField

Datetime

true

Associations

Field
Entity
Class

product

SalesChannelProductEntity

OneToOneAssociationField

offer

OfferEntity

ManyToOneAssociationField