Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
I have multiple images assigned to a product. I edit an image and hit update. The order of the images gets all messed up. |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
I haven't tested this but looking at the code I think the following change should fix it: Open the \BVAdmin\Catalog\Products_Edit_Images.aspx.vb file and find the Protected Sub btnUpdate_Click function (line 223 on my version). Add the following two lines of code: Dim oldimage As Catalog.ProductImage = Catalog.ProductImage.FindByBvin(pi.Bvin) pi.SortOrder = oldimage.SortOrder Just before the: If Catalog.ProductImage.Update(pi) = True Then line Regards, Corneliu. |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
|
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
:) Did that actually work? |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
I clicked a few time, hit update, worked. clicked a few times, made some changes, hit update, worked. |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.