HomeHome Product Discus... Product Discus...SmithCartSmithCartProblem with conditional variants Problem with conditional variants
Previous
 
Next
New Post
10/7/2011 3:14 PM
 

I am working on a new dnn 6.0 site with Smith cart installed,  I am trying to make a simple drop down conditional variant where I have a list of states, and once the states is chosen, a county list appears with the counties for that state.

After playing around with the variants I think I know how it should work, Am I correct in thinking the below table should give me a list where 1. if colorado is chosen a text box will appear showing the county of weld, or 2. if Alaska is chosen a county list showing a Cold Place is displayed?

Group Name Help URL Hide    
State   No Edit Delete
Alaska   Yes Edit Delete
Colorado   Yes Edit Delete
SortOrder Variant Group Sku Variant Name Display Type Required Qty On Hand Variant Image Price Adj Weight Adj Conditional Group Select    
1 State   Colorado DropdownList 100000000   0.00 0 Colorado Edit Delete
2 State   Alaska DropdownList 100000000   0.00 0 Alaska Edit Delete
3 Alaska   A Cold Place DropdownList 100000000   0.00 0   Edit Delete
4 Colorado   Weld DropdownList 100000000   0.00 0   Edit Delete

if so please check out http://mig-inc.com/OrderOnline.aspx,  as this setup will only show a dropdown list of the state: and the drop down for colorado counties, regardless if alaska is checked.  

 

Any ideas?

 
New Post
10/7/2011 3:59 PM
 

Hello,

I have a working example for you using your setup on one of our test portals here: http://www21.smith-consulting.com/Pro.... I have emailed you the login credentials to review the configuration of the variants and conditional variants.


Thanks

 
New Post
10/12/2011 12:19 PM
 

I am sorry but this is still not working, I can make it work only if any branch such as states or counties only has one choice that can lead to another choice,  The second you add to fields that have choices the system breaks.  i.e. if you put a list of states under the Canada the system doesn't work anymore and you get nonsense choices. To prove this I added a single county choice in the Nevada counties group on your test site and the drop downs are not working anymore.  

 

So this example that you made works just fine,   

 

SortOrder Variant Group Sku Variant Name Display Type Required Qty On Hand Variant Image Price Adj Weight Adj Conditional Group Select    
1 Country 852 Canada DropdownList 9999999   0.00 0   Edit Delete
1 Country 321 U.S. DropdownList 9999999   0.00 0 U.S. States Edit Delete
3 U.S. States 123 California DropdownList 9999999   0.00 0 CA Counties Edit Delete
3 U.S. States 741 Nevada DropdownList 9999999   0.00 0 Nevada Counties Edit Delete
4 CA Counties 963 Orange County DropdownList 9999999   0.00 0   Edit Delete

 

But this example where I added dropdown list for Nevada Counties does not.   The Nevada county will always show up regardless of the variant groups hidden tag is set yes or no.  

 

SortOrder Variant Group Sku Variant Name Display Type Required Qty On Hand Variant Image Price Adj Weight Adj Conditional Group Select    
1 Country 852 Canada DropdownList 9999999   0.00 0   Edit Delete
1 Country 321 U.S. DropdownList 9999999   0.00 0 U.S. States Edit Delete
3 U.S. States 123 California DropdownList 9999999   0.00 0 CA Counties Edit Delete
3 U.S. States 741 Nevada DropdownList 9999999   0.00 0 Nevada Counties Edit Delete
4 CA Counties 963 Orange County DropdownList 9999999   0.00 0   Edit Delete
5 Nevada Counties 898 Smith County DropdownList 999999999   0.00 0   Edit Delete

 
New Post
10/13/2011 12:35 PM
 

Is there a way to mark is as unresolved?  

 
New Post
10/13/2011 4:56 PM
 
Hi Ambrose,

We have determined that there is an issue with the Hide option when using conditional variants. This issue is currently being researched by programming and I will postback as soon as an update is available. Thank you for your feedback!

Thanks,
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartProblem with conditional variants Problem with conditional variants