Displaying Option Swatches in 4 columns
Posted: Tue Mar 18, 2008 12:55 am
Hi,
I thought I made a post about this last night before I finished work but I can't find head nor tail of it now so i'm not entirely sure if i'm losing my mind or if I was dreaming.
If it was deleted for some reason I apologise for reposting - but I can't think why it would have been deleted.
I'm overhauling my Product display page to display things in a different order. I've got everything I want in the correct position, but the problem I have is some of my products have a large number of variations on an option (eg. Marble Finish), which are displayed as OptionPickers (with the clickable images for each option). The OptionPicker is displayed as two columns - which pushes my page down quite a lot. All I want to do is display in 4 columns, but I can't find anywhere I could achieve this.
I assume it has something to do with this:
I can find where the Option Title is drawn and the OptionPicker is added to the PlaceHolder but not where the items are added to the OptionPicker.
Thanks,
Dave.
I thought I made a post about this last night before I finished work but I can't find head nor tail of it now so i'm not entirely sure if i'm losing my mind or if I was dreaming.

I'm overhauling my Product display page to display things in a different order. I've got everything I want in the correct position, but the problem I have is some of my products have a large number of variations on an option (eg. Marble Finish), which are displayed as OptionPickers (with the clickable images for each option). The OptionPicker is displayed as two columns - which pushes my page down quite a lot. All I want to do is display in 4 columns, but I can't find anywhere I could achieve this.
I assume it has something to do with this:
Code: Select all
ConLib/Custom/BuyProductDialogue.ascx
//BUILD PRODUCT ATTRIBUTES
_SelectedOptions = ProductHelper.BuildProductOptions(_Product, phOptions);
//BUILD PRODUCT CHOICES
ProductHelper.BuildProductChoices(_Product, phOptions);
//BUILD KIT OPTIONS
_SelectedKitProducts = ProductHelper.BuildKitOptions(_Product, phKitOptions);
Thanks,
Dave.