%@ Language=VBScript %> <% '************************************************************************* ' DO NOT MODIFY THIS SCRIPT IF YOU WANT UPDATES TO WORK! ' Function : Options Groups Maintenance ' Product : CandyPress Store Administration ' Version : 2.5 ' Modified : February 2004 ' Copyright: Copyright (C) 2004 CandyPress.Com ' See "license.txt" for this product for details regarding ' licensing, usage, disclaimers, distribution and general ' copyright requirements. If you don't have a copy of this ' file, you may request one at webmaster@candypress.com '************************************************************************* Option explicit Response.Buffer = true const adminLevel = 1 %> <% 'Database dim mySQL, cn, rs 'OptionsGroups dim idOptionGroup dim optionGroupDesc dim optionReq dim optionType dim sortOrder '************************************************************************* 'Open Database Connection call openDB() 'Store Configuration if loadConfig() = false then response.redirect "sysMsg.asp?errMsg=" & server.URLEncode("Could not load Store Configuration settings.") end if 'Set Row Colors dim rowColor, col1, col2 col1 = "#DDDDDD" col2 = "#EEEEEE" %>
Option Group Maintenance
| Add New Option Group |
| ID | Description | Sort | Type | Req | Opt | Prod | |
| <%=rs("idOptionGroup")%> | <%=rs("optionGroupDesc")%> | <%=emptyString(rs("SortOrder"),"-")%> | <%=rs("optionType")%> | <%=rs("optionReq")%> | <%=rs("optionCount")%> | <%=rs("productCount")%> | [ ">edit | <% if rs("OptionCount") > 0 or rs("ProductCount") > 0 then %> delete <% else %> ">delete <% end if %> ] |
|
Overview - An Option Group is a collection of one or more
options, grouped together under a common name. Once an option group
has been created, it is then linked to one or more Products using
the Product Maintenance
function. Option Groups can be displayed as follows :
An option group can be made mandatory. This will ensure that a customer has to pick one of the options in a list, or enter some text into a text box before they add a product to their shopping cart. Example :
|