Support is online

product Image ordering doesn't work sometimes! #7812

Open ptrouw opened this topic Thursday, 12 November 2015 · 2 replies
Author

Hey Roland,

If I use the product image ordering and it works fine the first time. But I have to re-run the import script again, with an additional picture, which has to come 2nd. But there are already 4 pictures. This new picture is added but not in the right order, it seems the ordering of the existing images isn't changed.
In the log file, I can only see 1 entry of the ordering, that is the new picture order, but not an update to the old ordering with on the existing pictures.

How can I force reordering?

I saw the option "Delete image relations" but I am scared to use this one!

Support

Hello,

That the image order is not updated is because this option was added later and before this option existed, adding a relation that already existed wasn't necessary.

Attached is a patch file that will update an existing image relation if found.

I saw the option "Delete image relations" but I am scared to use this one!

It is actually enabled by default. If you read the help text, it will tell you what it does. It is used to clean up all the relations, so only the relations you import will exist.

Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

Works great, thank you

Log in to reply to this topic.