HomeHome Product Discus... Product Discus...SmithCartSmithCartConditional variant error when viewing the product in the shopping cart Conditional variant error when viewing the product in the shopping cart
Previous
 
Next
New Post
11/14/2011 3:31 PM
 

As stated in a old thread I am trying to get a variant structure to work so that someone can choose a state then a listing of counties from the state.   V4.7 fixed most of the problem.   Now I can create the variant structure the properly show and hide the correct options but when its added to the cart I get every variant option and the first choice in the list.  

i.e. if I enter chose the state of Maine and the county York and click add to cart I get:

County Totals Data Files, U.S. States=Maine, Alaska=Aleutians Islands , Alabama = Autauga County , Arkansas= Arkansas County , Arizona= Apache County , California= Alameda County , Colorado= Adams County , Connecticut= Fairfield County , District of Columbia = District of Columbia , Delaware= Kent County , Florida= Alachua County , Georgia= Appling County , Hawaii= Hawaii County , Iowa= Adair County , Idaho= Ada County , Illinois= Adams County , Indiana= Adams County , Kansas= Allen County , Kentucky= Adair County , Louisiana= Acadia Parish , Massachusetts= Barnstable County , Maryland= Allegany County , Maine= York County , Michigan= Alcona County , Minnesota= Aitkin County , Missouri= Adair County , Mississippi= Adams County , Montana= Beaverhead County , North Carolina= Alamance County , North Dakota= Adams County , Nebraska= Adams County , New Hampshire= Belknap County , New Jersey= Atlantic County , New Mexico= Bernalillo County , Nevada= Churchill County , New York= Albany County , Ohio= Adams County , Oklahoma= Adair County , Oregon= Baker County , Pennsylvania= Adams County , Rhode Island= Bristol County , South Carolina= Abbeville County , South Dakota= Aurora County , Tennessee= Anderson County , Texas= Anderson County , Utah= Beaver County , Virginia= Accomack County , Vermont= Addison County , Washington= Adams County , Wisconsin= Adams County , West Virginia= Barbour County , Wyoming= Albany County

Which is every state and the first listed county in the state except the choice of york.   Is there any way to supress the non chosen fields?

i.e.  County Totals Data Files, U.S. States=Maine= York County

 
New Post
11/14/2011 5:28 PM
 
Hi Ambrose,

I ave been able to reproduce the behavior you described above. Seems that the Cart screen is displaying all variant options from the 2nd selection. I will send this into programming and postback with an update.

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartConditional variant error when viewing the product in the shopping cart Conditional variant error when viewing the product in the shopping cart