BV Commerce Forum
»
BV Commerce Community
»
Feedback & Suggestions
»
Allowing Bold Formatting in Product Choices or Modifiers
Rank: Member
Joined: 1/30/2008(UTC) Posts: 215
|
For the point of emphasis it would be nice to be able to make product choices and or modifiers bold for the default or suggested selection. In essence allow some formatting in the product choices if possible. An example page would be <SPAN id=Anthem_ctl00_MainContentHolder_lblName__><SPAN id=ctl00_MainContentHolder_lblName> Owl 100% Recycled Deluxe Writing Pad where it would be nice under the Decoration location to be able to bold/emphasize the recommended selection. Making it bold is easier in terms of fitting it within the given space then putting "recommended" next to it etc.
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Italics would be nice to have too.
To add to this, you can add a line of dashes and spaces to make separations to highlight a line of text (choice), but only one item in the list can be made a non-choice (IIRC).
Can we also have the ability to make any line in the list a 'null' choice?
This would allow a line of instructions or a description to accompany each choice and make it impossible to select something that isn't a choice.
Is there a reason drop-downs don't line-wrap the way radio button text does? It'd be great to specify line length. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Not a bad idea. This should probably be implemented by wrapping the default choice in a <span> tag with a class. That way it can be styled any way you want (bold, italic, hot pink, etc). |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
This is actually a pretty simple change to make. To make this change to the Product Modifier radio button list, open the \BVModules\ProductModifiers\Radio Button List\View.ascx.vb file. Then, around line 40, add the one line of code below commented with <DEVELISYS>. Code: If modifierOption.IsDefault Then item.Selected = True item.Attributes.Add("class", "defaultSelection") ' <DEVELISYS/> Else item.Selected = False End If
Now all you need to do is apply a style to the class "defaultSelection" via your theme's style sheet. You should be able to make a similar change to the other modifier and choice controls. Hope this helps! |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 1/30/2008(UTC) Posts: 215
|
Aaron thanks so much. I may give this a whirl over the weekend.
Are you doing custom work at this stage? I think I speak for all of us when I say we appreciate your input as it adds greatly to the community.
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
|
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
You're welcome! Let me know how you make out. Originally Posted by: "HPros" Are you doing custom work at this stage? I'm not sure exactly what you're asking. If you're asking if making this change is considered custom work, I would say "yes", though it's pretty minor. If you're asking if my company, Develisys, does custom work, the answer is also "yes". |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
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.