{
"query_block": {
"select_id": 1,
"table": {
"table_name": "storefronts_promotions",
"access_type": "system",
"possible_keys": ["PRIMARY", "idx_storefront_id"],
"rows": 0,
"filtered": 0,
"const_row_not_found": true
},
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_promotions.stop_other_rules desc, cscart_promotions.priority",
"table": {
"table_name": "cscart_promotions",
"access_type": "ALL",
"rows": 6,
"filtered": 100,
"attached_condition": "if(cscart_promotions.from_date,cscart_promotions.from_date <= 1748107342,1) and if(cscart_promotions.to_date,cscart_promotions.to_date >= 1748107342,1) and cscart_promotions.`status` in ('A','H') and cscart_promotions.zone = 'catalog'"
}
}
},
"table": {
"table_name": "cscart_promotion_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["promotion_id", "lang_code"],
"ref": ["cscart_dev.cscart_promotions.promotion_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_promotion_descriptions.lang_code = 'ja')"
}
}
}
promotion_id | company_id | conditions | bonuses | to_date | from_date | priority | stop | stop_other_rules | zone | conditions_hash | status | number_of_usages | users_conditions_hash | name | detailed_description | short_description |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3 | 0 | a:3:{s:3:"set";s:3:"all";s:9:"set_value";s:1:"1";s:10:"conditions";a:1:{i:2;a:3:{s:8:"operator";s:2:"in";s:9:"condition";s:8:"products";s:5:"value";s:4:"2922";}}} | a:1:{i:1;a:3:{s:5:"bonus";s:16:"product_discount";s:14:"discount_bonus";s:13:"by_percentage";s:14:"discount_value";s:2:"10";}} | 0 | 0 | 0 | N | N | catalog | products=2922 | A | 2 | 商品10% |