Hi Support,
I am getting one more issue in Auto generated Coupon. In M1 autogenerated coupon has no expiry date. but in m2 auto generated coupon has expiry date. that’s why my generated coupon is not working on M2.
Please follow below steps to found the issue.
- Go to Marketing > Catalog Price Rule
- Find the rule by Rule Id 2170.
- Go to Managed coupon codes. and you see Expiration date is showing in grid. and this date is the migration date. so the coupon is not working
Please check and let me know what should I do this.
Thanks
Dinesh
3 answers
Hi there,
Go to Managed coupon codes. and you see Expiration date is showing in grid. and this date is the migration date. so the coupon is not working
To handle for that case, I have created a backup file and added more tweak code in step #7 of our migration tool.
Now, please run the delta migration in the step #7 with the ‘update’ mode at your end:
php -f bin/ubdatamigration run --step=7 --mode=update;
Regards,
Mall.
Hi Mall,
Have you changed in code? if yes Please let me know in which file and what code you have changed. because I need to do these things on our main server also.
Thanks
Dinesh
Hi there,
Have you changed in code? if yes Please let me know in which file and what code you have changed. because I need to do these things on our main server also.
Yes, I have created the backup PHP file at: pub/ub-tool/protected/controllers/Step7Controller.php.bak
and added more tweak code in the PHP file at: pub/ub-tool/protected/controllers/Step7Controller.php
You can also compare that two PHP files to see the new tweak code at your end.
Regards,
Mall.