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

Notification

Icon
Error

michaely
#1 Posted : Saturday, November 1, 2008 2:11:59 PM(UTC)
michaely

Rank: Member

Joined: 11/23/2005(UTC)
Posts: 15

Did a bit of searching for this issue, but couldn't track down a post relating to it.

I have a product (a print of a painting) with two variations (large print and small print). I created a product variation with these two options and set the prices accordingly in "Edit Product Variations".

The issue is that the one of the variations (large size print) is out of stock. I went into Inventory for the product and enabled inventory on the large item. Obviously since the product has 0 quantity and the inventory is being tracked it shows as out of stock. I've set the products to "show, but don't allow ordering" which means users can add it to their wishlist.

On the end-user product page, this is the way it works. The "out of stock" message appears when the "large" variation is picked and disappears when the "small" variation is picked. The "Add To Cart" button, however, is not reappearing when you flip between the two options.

Has anyone else encountered this issue? If so, is there a workaround? Or should I try to modify the code as required in this case.

Michael
michaely
#2 Posted : Wednesday, November 5, 2008 4:07:54 PM(UTC)
michaely

Rank: Member

Joined: 11/23/2005(UTC)
Posts: 15

Sort of came up with a solution for this myself.

File: BVModules\Controls\AddToCartButton.ascx.vb

CheckForBackOrder sub

Comment out:

Code:

If inv.Bvin <> String.Empty Then
...
End If


Leave the rest of the code inside the if uncommented. In testing a number of products inv.Bvin was ALWAYS an empty string, so I am not sure what situation would cause it to have a value.

Does anyone have any thoughts as to why this "if" statement is required?

TIA

Michael
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