<% ' Comersus BackOffice Lite ' e-commerce ASP Open Source ' Comersus Open Technologies LC ' 2005 ' http://www.comersus.com %> <% on error resume next dim mySQL, conntemp, rstemp, rsTemp1 ' get settings pCurrencySign = getSettingKey("pCurrencySign") %>
Add product

<% ' get leaf categories dim arrCategories(500,2) mySQL="SELECT * FROM categories WHERE idCategory>1" call getFromDatabase(mySQL, rstemp, "comersus_backoffice_addproductfrom.asp") if rstemp.eof then response.redirect "comersus_backoffice_supportError.asp?error="& Server.Urlencode("No categories defined") end if arrCategoriesIndex=0 do until rstemp.eof if isCategoryLeaf(rstemp("idCategory")) then arrCategories(arrCategoriesIndex,0) = rstemp("idCategory") arrCategories(arrCategoriesIndex,1) = rstemp("categoryDesc") arrCategoriesIndex=arrCategoriesIndex+1 end if rstemp.movenext loop %>
SKU (*) Description (*)
Details (*)
Price (*)<%=pCurrencySign%>: List price <%=pCurrencySign%>:
Wholesale price <%=pCurrencySign%>: Cost <%=pCurrencySign%>:
Image file name Thumbnail file name
Weight Stock
Availability Info to distribute (download link, serial, etc)
Supplier <% mySQL="SELECT * FROM suppliers" call getFromDatabase(mySQL, rstemp, "comersus_backoffice_addproductform.asp") if rstemp.eof then response.redirect "comersus_backoffice_supportError.asp?error="& Server.Urlencode("No suppliers defined") end if %> Category 1
Category 2 Category 3
Form quantity Active
Clearance Hidden for search
Show in home
Variation 1 Drop down name
Description Price Percentage
<%=pCurrencySign%> %
<%=pCurrencySign%> %
<%=pCurrencySign%> %
 
Variation 2 Drop down name
Description Price Percentage
<%=pCurrencySign%> %
<%=pCurrencySign%> %
<%=pCurrencySign%> %