please help me to show product options

ramesh perera asked on July 29, 2014 10:40

Hi!

I have assign product options to particular products and i need to show that products options within the dropdown (color) in product detail page

Please help me to solve this issue

Thanks Ramesh

Recent Answers


Martin Danko answered on September 30, 2014 09:58

Hello Ramesh,

You can customize the OptionCategoryProductOptionSelector.ascx file by

  1. Adding a custom control to the markup
  2. In the code behind PrepareSelectionControl() add case OptionCategorySelectionTypeEnum.FormControl
  3. Modify LoadSelectorOptions()

Or, you can modify OptionCategoryLelectionControlSelector.ascx

private List<string> GetExcludedOptions(OptionCategoryTypeEnum optionCategoryType)

-> do not add OptionCategorySelectionTypeEnum.FormControl into excluded options.

Best regards, Martin

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.