Variants "Available" checkbox behavior issue

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Variants "Available" checkbox behavior issue

Post by AbleMods » Wed Nov 12, 2008 6:59 pm

During some testing with variants on a product, I've noticed the "available" checkbox is no longer respected.

Specific variants with the "Available" checkbox unchecked still render both in Swatch mode and dropdownlist mode. Tested this on AbleMods.com which is completely unmodified running AC7 Final SR1.

This behavior is different than SR3 - I was able to disable specific variant choices from rendering on the product page using this checkbox.

To reproduce this behavior, I created a new product with one Option "Color". The one option was given three choices "Red, Green, Blue". Then I hit Manage Variants and uncheck the Green choice Available checkbox. Green should no longer be available on the visitor site, yet it's still added as a choice in the dropdownlist control.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Variants "Available" checkbox behavior issue

Post by mazhar » Thu Nov 13, 2008 6:45 am

Enable the inventory tracking at variant level for the product and it will work.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Variants "Available" checkbox behavior issue

Post by AbleMods » Thu Nov 13, 2008 7:32 am

Nope. Enabled inventory tracking by variant, selected allow backorder and assigned all 3 variants a stock quantity of 5. De-selected one variant Available checkbox.

Still shows all 3.

Besides, variant inventory tracking shouldn't have anything to do with rendering or not rendering an available variant.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

kastnerd
Commodore (COMO)
Commodore (COMO)
Posts: 474
Joined: Wed Oct 22, 2008 9:17 am

Re: Variants "Available" checkbox behavior issue

Post by kastnerd » Thu Nov 13, 2008 7:46 am

wouldn't you want to turn off back orders?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Variants "Available" checkbox behavior issue

Post by mazhar » Thu Nov 13, 2008 7:56 am

Code: Select all

Nope. Enabled inventory tracking by variant, selected allow backorder and assigned all 3 variants a stock quantity of 5. De-selected one variant Available checkbox.

Still shows all 3.

Besides, variant inventory tracking shouldn't have anything to do with rendering or not rendering an available variant.
Yow allowed the backorder on your vairants that's why its not taking care of the available checkbox. If you enable the allowback order then it means that those variants are always available.

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Variants "Available" checkbox behavior issue

Post by AbleMods » Thu Nov 13, 2008 3:00 pm

mazhar wrote:Yow allowed the backorder on your vairants that's why its not taking care of the available checkbox. If you enable the allowback order then it means that those variants are always available.
I see it as a bug though.

A particular variants availability has nothing to do with its stock quantity or whether you accept backorders or not.

AC7 always builds a grid of all possible variant combinations. Often though some of those combinations do not result in a valid product. Since there's no way to delete a specific row of the variant grid, our only option is the "Available" checkbox.

The logic for variant availability is incorrect. It shouldn't be considering any stock-related details. Otherwise, Why have the checkbox in the first place?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Variants "Available" checkbox behavior issue

Post by jmestep » Thu Nov 13, 2008 6:22 pm

I agree that the check box should work independent of inventory. I think that if it is checked and the customer puts selects to purchase that, they are then given the message that it's not available. I think it shouldn't even show up on the product page if it's not checked not available, but if there is a stock limitation, then it should show up. Why should the customer have to put it into the basket to find out?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply