• Resolved thilo72

    (@thilo72)


    I have uploaded product images via the standard media import tool first. Then I downloaded the relevant products export list using your plugin, added the URLs and tags for the product images and uploaded it again. Each product should now show a featured product picture and one picture in the gallery, each picture having a caption, a title, a name and a description. However, the products only show the first picture as product image, no picture in the gallery. And the product pictures have only caption and title but no description. Here is the CSV I had created and used for upload. I had double-checked that the picture URLs are correct.

    ID;sku;images
    13451;HD102803;https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102803-1.jpg ! alt : Kraken Holzdeko naturbelassen ! title : Kraken Holzdeko naturbelassen ! desc : Kraken Holzdeko naturbelassen, H?he 3 cm, Breite 3 cm, Dicke 2 mm, 3 Stück. Perfekt für DIY-Bastelprojekte, z.B. Karten, Explosionsboxen o.?. ! caption : Kraken Holzdeko naturbelassen | https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102803-2.jpg ! alt : Kraken Holzdeko naturbelassen in Organza-S?ckchen ! title : Kraken Holzdeko naturbelassen in Organza-S?ckchen ! desc : Kraken Holzdeko naturbelassen, H?he 3 cm, Breite 3 cm, Dicke 2 mm, 3 Stück. Perfekt für DIY-Bastelprojekte, z.B. Karten, Explosionsboxen o.?. ! caption : Kraken Holzdeko naturbelassen in Organza-S?ckchen

    I’m showing only the first product since all the other 10 products are very similar. Also: I used semicolon in the selection screen, disregarded SKU for import and asked to only update products and not to import new products.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @thilo72,

    Thanks for getting in touch.

    The issue you are facing with the import is that the image data contains comma symbols, and the plugin considers the data after the comma symbol as an image URL. Could you please copy the code snippet from here and add it to the active theme’s functions.php file on your site and check if the image import is working or not?

    Thread Starter thilo72

    (@thilo72)

    Hi! Thank you, the plugin improved the situation. There is still problems, though.
    1) all spaces are ignored in alt, title, label and description
    2) WC still considers the images not linked

    How can I solve that?

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @thilo72,

    We have made a small update to the code snippet. Can you please try copying the latest code snippet from here and replacing the old snippet and check if the image metadata is imported properly?

    Regarding “WC still considers the images not linked”, could you please share a screenshot of the issue and the import log file?

    Thread Starter thilo72

    (@thilo72)

    In the image above you can see that WC considers those images not linked to products. Here is the log file:

    08-18-2023 @ 21:26:40 - ---[ New import started at 2023-08-18 19:26:40 ] PHP Memory: 256 MB, WP Memory: 40 MB
    08-18-2023 @ 21:26:40 - Preparing for import.
    08-18-2023 @ 21:26:40 - Row :1 - Parsing item.
    08-18-2023 @ 21:26:40 - Row :1 - Processing item.
    08-18-2023 @ 21:26:40 - Found simple product object. ID:13424
    08-18-2023 @ 21:26:40 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102201-1.jpg
    08-18-2023 @ 21:26:40 - Attachment ID:13925
    08-18-2023 @ 21:26:40 - Setting Gallery Images.
    08-18-2023 @ 21:26:40 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102201-2.jpg
    08-18-2023 @ 21:26:40 - Attachment ID:13926
    08-18-2023 @ 21:26:40 - Row :1 - Product updated successfully.
    08-18-2023 @ 21:26:40 - Row :2 - Parsing item.
    08-18-2023 @ 21:26:40 - Row :2 - Processing item.
    08-18-2023 @ 21:26:40 - Found simple product object. ID:13425
    08-18-2023 @ 21:26:40 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102202-1.jpg
    08-18-2023 @ 21:26:40 - Attachment ID:13927
    08-18-2023 @ 21:26:40 - Setting Gallery Images.
    08-18-2023 @ 21:26:40 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102202-2.jpg
    08-18-2023 @ 21:26:40 - Attachment ID:13928
    08-18-2023 @ 21:26:41 - Row :2 - Product updated successfully.
    08-18-2023 @ 21:26:41 - Row :3 - Parsing item.
    08-18-2023 @ 21:26:41 - Row :3 - Processing item.
    08-18-2023 @ 21:26:41 - Found simple product object. ID:13426
    08-18-2023 @ 21:26:41 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102203-1.jpg
    08-18-2023 @ 21:26:41 - Attachment ID:13929
    08-18-2023 @ 21:26:41 - Setting Gallery Images.
    08-18-2023 @ 21:26:41 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102203-2.jpg
    08-18-2023 @ 21:26:41 - Attachment ID:13930
    08-18-2023 @ 21:26:41 - Row :3 - Product updated successfully.
    08-18-2023 @ 21:26:41 - Row :4 - Parsing item.
    08-18-2023 @ 21:26:41 - Row :4 - Processing item.
    08-18-2023 @ 21:26:41 - Found simple product object. ID:13427
    08-18-2023 @ 21:26:41 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102204-1.jpg
    08-18-2023 @ 21:26:41 - Attachment ID:13931
    08-18-2023 @ 21:26:41 - Setting Gallery Images.
    08-18-2023 @ 21:26:41 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102204-2.jpg
    08-18-2023 @ 21:26:41 - Attachment ID:13932
    08-18-2023 @ 21:26:41 - Row :4 - Product updated successfully.
    08-18-2023 @ 21:26:41 - Row :5 - Parsing item.
    08-18-2023 @ 21:26:41 - Row :5 - Processing item.
    08-18-2023 @ 21:26:41 - Found simple product object. ID:13428
    08-18-2023 @ 21:26:41 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102205-1.jpg
    08-18-2023 @ 21:26:41 - Attachment ID:13933
    08-18-2023 @ 21:26:41 - Setting Gallery Images.
    08-18-2023 @ 21:26:41 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102205-2.jpg
    08-18-2023 @ 21:26:42 - Attachment ID:13934
    08-18-2023 @ 21:26:42 - Row :5 - Product updated successfully.
    08-18-2023 @ 21:26:42 - Row :6 - Parsing item.
    08-18-2023 @ 21:26:42 - Row :6 - Processing item.
    08-18-2023 @ 21:26:42 - Found simple product object. ID:13429
    08-18-2023 @ 21:26:42 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102206-1.jpg
    08-18-2023 @ 21:26:42 - Attachment ID:13935
    08-18-2023 @ 21:26:42 - Setting Gallery Images.
    08-18-2023 @ 21:26:42 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102206-2.jpg
    08-18-2023 @ 21:26:42 - Attachment ID:13936
    08-18-2023 @ 21:26:42 - Row :6 - Product updated successfully.
    08-18-2023 @ 21:26:42 - Row :7 - Parsing item.
    08-18-2023 @ 21:26:42 - Row :7 - Processing item.
    08-18-2023 @ 21:26:42 - Found simple product object. ID:13430
    08-18-2023 @ 21:26:42 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102207-1.jpg
    08-18-2023 @ 21:26:42 - Attachment ID:13937
    08-18-2023 @ 21:26:42 - Setting Gallery Images.
    08-18-2023 @ 21:26:42 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102207-2.jpg
    08-18-2023 @ 21:26:48 - URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102207-2.jpg Reason:Error getting remote image
    08-18-2023 @ 21:26:48 - Row :7 - Product updated successfully.
    08-18-2023 @ 21:26:48 - Row :8 - Parsing item.
    08-18-2023 @ 21:26:48 - Row :8 - Processing item.
    08-18-2023 @ 21:26:48 - Found simple product object. ID:13431
    08-18-2023 @ 21:26:48 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102208-1.jpg
    08-18-2023 @ 21:26:48 - Attachment ID:13938
    08-18-2023 @ 21:26:48 - Setting Gallery Images.
    08-18-2023 @ 21:26:48 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102208-2.jpg
    08-18-2023 @ 21:26:48 - Attachment ID:13939
    08-18-2023 @ 21:26:48 - Row :8 - Product updated successfully.
    08-18-2023 @ 21:26:48 - Row :9 - Parsing item.
    08-18-2023 @ 21:26:48 - Row :9 - Processing item.
    08-18-2023 @ 21:26:48 - Found simple product object. ID:13432
    08-18-2023 @ 21:26:48 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102209-1.jpg
    08-18-2023 @ 21:26:48 - Attachment ID:13940
    08-18-2023 @ 21:26:48 - Setting Gallery Images.
    08-18-2023 @ 21:26:48 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102209-2.jpg
    08-18-2023 @ 21:26:48 - Attachment ID:13941
    08-18-2023 @ 21:26:48 - Row :9 - Product updated successfully.
    08-18-2023 @ 21:26:48 - Row :10 - Parsing item.
    08-18-2023 @ 21:26:48 - Row :10 - Processing item.
    08-18-2023 @ 21:26:48 - Found simple product object. ID:13433
    08-18-2023 @ 21:26:48 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102210-1.jpg
    08-18-2023 @ 21:26:49 - Attachment ID:13942
    08-18-2023 @ 21:26:49 - Setting Gallery Images.
    08-18-2023 @ 21:26:49 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102210-2.jpg
    08-18-2023 @ 21:26:49 - Attachment ID:13943
    08-18-2023 @ 21:26:49 - Row :10 - Product updated successfully.
    08-18-2023 @ 21:26:51 - Preparing for import.
    08-18-2023 @ 21:26:51 - Row :11 - Parsing item.
    08-18-2023 @ 21:26:51 - Row :11 - Processing item.
    08-18-2023 @ 21:26:51 - Found simple product object. ID:13434
    08-18-2023 @ 21:26:51 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102211-1.jpg
    08-18-2023 @ 21:26:51 - Attachment ID:13944
    08-18-2023 @ 21:26:51 - Setting Gallery Images.
    08-18-2023 @ 21:26:51 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD102211-2.jpg
    08-18-2023 @ 21:26:51 - Attachment ID:13945
    08-18-2023 @ 21:26:51 - Row :11 - Product updated successfully.
    08-18-2023 @ 21:26:51 - Row :12 - Parsing item.
    08-18-2023 @ 21:26:51 - Row :12 - Processing item.
    08-18-2023 @ 21:26:51 - Found simple product object. ID:13465
    08-18-2023 @ 21:26:51 - Setting Featured Image. URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD103301-1.jpg
    08-18-2023 @ 21:26:56 - URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD103301-1.jpg Reason:Error getting remote image
    08-18-2023 @ 21:26:56 - Setting Gallery Images.
    08-18-2023 @ 21:26:56 - Image URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD103301-2.jpg
    08-18-2023 @ 21:27:01 - URL:https://www.fleurdekoer.de/wp-content/uploads/2023/08/HD103301-2.jpg Reason:Error getting remote image
    08-18-2023 @ 21:27:01 - Row :12 - Product updated successfully.
    08-18-2023 @ 21:27:01 - ---[ Import ended at 2023-08-18 19:27:01]---
    Thread Starter thilo72

    (@thilo72)

    Hi! I tried the new snippet right now and it worked. Thanks! For the other question I have submitted a message but it is held for moderation. I’m not sure whether you can see the screenshot image. If not, please provide me a method to send you the screenshot image.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi?@thilo72,

    We are unable to see the screenshot. Please try using any file sharing service like Imgur or Wetransfer to share the screenshot.

    Thread Starter thilo72

    (@thilo72)

    Here is the screenshot. I think now you can see it. Otherwise, download from here: https://www.fleurdekoer.de/download/2023-08-22-screenshot.png

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @thilo72,

    Could you please try opening those images and check if they are marked as linked on the image edit page? Also, could you please let us know if you are using any image related plugins on your site and share your system status report via support?

    Thread Starter thilo72

    (@thilo72)

    1. The concerned images are also not showing any link on the editing page.
    2. I am not aware of any image related plugins on my site.
    3. I have submitted the status report to your support system under ticket no 58423.
    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @thilo72,

    As mentioned in the support ticket, we checked the issue, and when manually adding images to existing products, they do not show as attached in the media library, even if they are added to the products. However, when creating a new product with an image, it does show as attached.

    It seems like this is how it works in WooCommerce since it occurs with manually created products too. Hence, we can assure you that the issue is not due to any bug in the plugin.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Linking images to products failure’ is closed to new replies.