• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Matt@9BallDesign
#1 Posted : Monday, February 4, 2008 3:50:51 PM(UTC)
Matt@9BallDesign

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.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative & Builder's Hardware

------------------------------------------------
CorneliuTusnea
#2 Posted : Monday, February 4, 2008 9:50:02 PM(UTC)
CorneliuTusnea

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.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Matt@9BallDesign
#3 Posted : Monday, February 4, 2008 11:15:37 PM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

You're the man C!
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative & Builder's Hardware

------------------------------------------------
CorneliuTusnea
#4 Posted : Tuesday, February 5, 2008 5:18:02 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

:) Did that actually work?
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

Matt@9BallDesign
#5 Posted : Tuesday, February 5, 2008 9:12:17 AM(UTC)
Matt@9BallDesign

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.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative & Builder's Hardware

------------------------------------------------
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.

©2024 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012