3 weeks ago on January 28, 2025 at 10:03 pm
Hello,
I am using the Import WP Pro plugin with WooCommerce integration, and I would like to import product images directly onto my WordPress – Rehub – WooCommerce site from external URLs.
Here is an example of an image URL I would like to import:
https://contents.mediadecathlon.com/m10313584/k$fe3d61b05ba853a71eba363ff1051152/sq/08d7a446-7ffe-4411-bc46-be23ebccb2be_c4.jpg?format=auto&f=800×0
Issues Encountered:
1.Importing into the Media Library
- I tried mapping the image URL to the _wp_attached_file field in Attachments, but it did not work.
- Could you confirm if it is possible to import images directly from a URL into the WordPress media library using Import WP Pro?
- If so, which field should be used to ensure WordPress downloads the image and properly adds it to the media library?
2.Importing a WooCommerce Product Image
- My goal is to not only import the image into the media library but also automatically assign it as the featured image for a WooCommerce product.
- What is the correct way to map the image URL to the WooCommerce product image using Import WP Pro?
- Should I use a different field instead of
_wp_attached_file
for WooCommerce?
Thank you in advance for your help!
Best regards,