📦 Magento_Catalog · engine innodb
catalog_product_entity_tier_price
Catalog Product Tier Price Attribute Backend Table
Neighbourhood (1-hop foreign-key graph — showing 3 of 3)
flowchart LR c["catalog_product_entity_tier_price"]:::center n0["customer_group"] click n0 "/schema/table/customer_group" n0 -- customer_group_id --> c n1["catalog_product_entity"] click n1 "/schema/table/catalog_product_entity" n1 -- entity_id --> c n2["store_website"] click n2 "/schema/table/store_website" n2 -- website_id --> c click c "/schema/table/catalog_product_entity_tier_price" classDef center fill:#eef2ff,stroke:#6366f1,color:#3730a3,stroke-width:1.5px
Click a node to jump to that table.
Related tables (3)
Columns (8)
| Name | Type | Null | Default | Comment |
|---|---|---|---|---|
| value_id PK | int | no | Value ID | |
| entity_id | int unsigned | no | 0 | Entity ID |
| all_groups | smallint unsigned | no | 1 | Is Applicable To All Customer Groups |
| customer_group_id | int unsigned | no | 0 | Customer Group ID |
| qty | decimal | no | 1 | QTY |
| value | decimal | no | 0 | Value |
| website_id | smallint unsigned | no | Website ID | |
| percentage_value | decimal | yes | Percentage value |
Keys & indexes
Primary key: value_id
Unique
- UNQ_E8AB433B9ACB00343ABB312AD2FAB087 (entity_id, all_groups, customer_group_id, qty, website_id)
Indexes
- CATALOG_PRODUCT_ENTITY_TIER_PRICE_CUSTOMER_GROUP_ID (customer_group_id) btree
- CATALOG_PRODUCT_ENTITY_TIER_PRICE_WEBSITE_ID (website_id) btree
References (3)
- customer_group_id → customer_group .customer_group_id (on delete CASCADE)
- entity_id → catalog_product_entity .entity_id (on delete CASCADE)
- website_id → store_website .website_id (on delete CASCADE)