I need to transfer all my records from OpenCart to WooCommerce powered WordPress site. I used custom query to insert the image urls from opencart db to wp_posts as attachment and guid as the URL of the image, along with post_parent being the product id for that particular image. While the listings show in Media, it still does not load show images and also does not appear on Featured Image box of related products. But if I copy the url from Media manager and open it in new tab. The image shows up just fine. What could be the reason?
Also is there any other way to transfer OpenCart data to WooCommerce? Any help would be appreciated.
Regards
post/post_id
?_thumbnail_id
with the image's ID.