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

Notification

Icon
Error

jacobkdavis
#1 Posted : Tuesday, September 9, 2008 1:10:21 PM(UTC)
jacobkdavis

Rank: Member

Joined: 7/7/2008(UTC)
Posts: 26

I remember seeing a thread or two in here before about this but i'm having trouble finding them and I'm curious if there have been any updates.

I'm trying to set up sizes for shoes, the different products have different options available (a simplified example: e.g. one shoe product maybe available in sizes 8M, 9M, 10M, another may be available in 6M,7M,8M). It seems like shared choices would be the best way to set these up so i set up a ShoeSize shared choice dropdown with all of the possible shoe sizes, then when I apply it to a product, I am able to deselect particular options which are not available.

This method makes complete sense to me. Where it begins to get extremely confusing is: why are the non-selected options still shown in the dropdown? I understand that if a customer selects them, they still won't be able to check out, but for the purposes mentioned above this makes the shared choices worthless.

I've taken a look at the code and it looks like the relevant section lies in the VariantsDisplay.ascx.vb control, in the Initialize section:

Code:

If TypeOf item Is Catalog.ProductChoice Then
Dim choice As Catalog.ProductChoice = DirectCast(item, Catalog.ProductChoice)
Dim choiceTemplate As Content.ProductChoiceTemplate = Content.ModuleController.LoadProductChoice(choice.Type, Me.Page)
If choiceTemplate IsNot Nothing Then
AddHandler choiceTemplate.SelectionChanged, AddressOf Me.SelectionChanged
choiceTemplate.BlockId = choice.Bvin
choiceTemplate.ID = "choiceTemplate" + count.ToString()
choiceTemplate.Product = Me.BaseProduct
choiceTemplate.InitializeDisplay()
VariantsPlaceHolder.Controls.Add(choiceTemplate)
End If
ElseIf


Can anyone shed some light on the Content.ProductChoiceTemplate or offer any solutions to possibly parse through the choice template to remove irrelevant options?


Product Modifiers:

Also, I looked at using a shared product modifier, but it looks like you can't even select/deselect choices from this when applying to a product (since it doesn't create any combination/variants).


Choice entry:

Looks like the alternative is to add the sizes manually for each product via the extremely slow Product Modifier Edit section. Has anyone looked at or thought of integrating some sort of ajax/grid entry for this capability so you dont have to keep bouncing back and forth to new pages every time you add a single choice?


If anyone could help, I'd greatly appreciate any advice!
jacobkdavis
#2 Posted : Monday, October 6, 2008 3:24:00 PM(UTC)
jacobkdavis

Rank: Member

Joined: 7/7/2008(UTC)
Posts: 26

Bump? Nobody? I find it hard to believe that I'm the only one working on products that would require this?

What does everyone else do for shoe sizes (or shirt/clothing sizes)?
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