Inhalte aufrufen

Profilbild

ImportProfiles: Thumbnails not created


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
6 Antworten zu diesem Thema

#1 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 16 April 2020 - 14:45

When i use the ImportProfiles to import a product image then it will only show a image at the product page but not in the search or category --> productoverview. I is correct that thumbnails are not created by the ImportProfiles function?
 
What i noticed is that the API endpoint /api/{version}/Uploads/ProductImages does create(after a while) the required thumbnails
 
However for me to use this /api/{version}/Uploads/ProductImages endpoint i need two things:

  • This issue to be released: https://github.com/s...NET/issues/1792
  • How to delete all imported images that are now "faulty"? Because i noticed for the /api/{version}/Uploads/ProductImages to work correctly i have to manually delete the pictures in the product page and then run the API. For 1000+ products that's alot of work.


#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 16 April 2020 - 15:39

Maybe a small bug that has been fixed in the meantime. Please clear cache (backend > gear icon in top right corner > Clear cache) or call following URL if it does not help: ~/Admin/Product/FixProductMainPictureIds

Marcus Gesing

Smartstore AG


#3 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 16 April 2020 - 15:44

Ah, good to know this was a small bug. Clearing cache didn't helped what did helpen was ~/Admin/Product/FixProductMainPictureIds the response was: Fixed1141 ids.

 

I which release is this fixed, and do i have to call that URL after each import?



#4 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 16 April 2020 - 15:46

In version 4.0. Probably come in a few weeks.


Marcus Gesing

Smartstore AG


#5 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 17 April 2020 - 06:48

Alright, until then i have to call the URL after each import, right?



#6 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3801 Beiträge

Geschrieben: 17 April 2020 - 12:25

If you observe this problem at your shop, then you can solve it this way.


Marcus Gesing

Smartstore AG


#7 TripleNico

TripleNico

    Advanced Member

  • Members
  • PunktPunktPunkt
  • 124 Beiträge

Geschrieben: 17 April 2020 - 12:57

I looked at the code from FixProductMainPictureIds and recreated it in our application so it gets called once in a while.