WP Automatic plugin can import from AliExpress to WordPress posts or WooCommerce products.
The plugin can also generate the affiliate links automatically but firstly, one should add the required AliExpress cookie value to the plugin settings page.
Here shows the way to get it easily
1- If you did not apply for affiliate account, please apply here
2- After the application done and also it got approved, you need to visit the link generation page here and make sure that you are logged in already.
3- After the visiting the page, Right click on any part of the page and choose “Inspect”.
4- Click on the “Application” tab then from the left, choose “Cookies”.
5- Look for the cookie named “xman_t”, click its value and copy the value.