I would like to know if there is a list of equivalences between the tables of the EE3 and EE4 databases?
In EE3 we implemented a plugin that allowed us to generate thousands of codes and insert them in EVENTS_DISCOUNT_CODES_TABLE and EVENTS_DISCOUNT_REL_TABLE automatically using the fields coupon_code,coupon_code_price, use_percentage,coupon_code_description, wp_user,code_limit.
we would like to know what fields are equivalent in EE4
EE3 → EE4
coupon_code → _esp_promotion.PRO_code,
coupon_code_price → _esp_price.PRC_amount and _esp_promotion.PRC_ID,
use_percentage → no exact equivalent; use _esp_price_type,
coupon_code_description → _esp_price.PRC_description and _esp_promotion.PRC_ID,
wp_user → _esp_price.PRC_wp_user and _esp_promotion.PRC_ID,
code_limit wasn’t a field in EE3, but you could check out _esp_promotions.PRO_uses
esp_promotion.PRO_ID, and you’ll also give each promotion its own esp_price.PRC_ID
Viewing 3 reply threads
The support post ‘list of equivalences between the tables of databases EE3 and EE4.’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.