Task examples:
Instructions:
-
Insert codes that was in file to the database table wp_promocodes
-
There are 2 tables of the relations wp_promocode_post / wp_2_promocode_post for german and french versions. You need to fill these tables with relevant promocodes and post ids. Sql example:
INSERT INTO wp_promocode_post (promocode_id, post_id)
SELECT wp_promocodes.id, 2
FROM wp_promocodes
ORDER BY wp_promocodes.id DESC
LIMIT 4000;
3. Condition should be modified in the save_db file / 90 row. (in future after refactor this step can be skipped)
For testing on stage firstly you need to add 2 contests (with coupons) for each version of site and then do above instruction.
Leave a Reply
You must be logged in to post a comment.