%@ Language=VBScript %> <% '************************************************************************* ' DO NOT MODIFY THIS SCRIPT IF YOU WANT UPDATES TO WORK! ' Function : Options 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 'Options dim idOption dim optionDescrip dim priceToAdd dim weightToAdd dim taxExempt dim percToAdd dim sortOrder 'Work Fields dim action '************************************************************************* '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 %>
Option Maintenance
| Option Groups | |||
|
|||
|
Option Description - Mandatory. A name for the
option. Price - Optional. You can specify a fixed Price for an option. Percentage - Optional. You can specify that the option Price be calculated as a percentage of the Product Price. If both a fixed price and percentage is entered, the system will use the higher amount. This way you can ensure a "minimum" option price. Weight - Optional. If entered, the weight will be factored into the shipping cost calculation, along with the product's weight. Note that, if a product with 'Free Shipping' set to 'Yes' (see product maintenance) is added to the shopping cart, all related options added to the shopping cart will also be considered free of shipping (ie. weight will be ignored). You must use the same Unit of Weight (Kilogram, Grams, Pounds, etc.) for the option, product and shipping rate weights (see Product & Shipping Maintenance). So, if you enter the weight in "pounds" here, you must also enter the weight in "pounds" for products and shipping rates. Tax Exempt - Mandatory. The Tax Exempt indicator is used when calculating taxes. If set to "Yes", no taxes will be calculated on the price of the option. If set to "No", the option's price will be added into the tax calculation. Sort Order - Optional. Numeric value that can be used to order the Options within an Option Group. If no value is supplied, the options will be sorted by their descriptions. <% if action = "edit" then %> Option Groups - This is a list of Option Groups that this Option is currently linked to. To add the Option to another Option Group, use the Option Groups function. <% end if %> |