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 %>
<%
do until rstemp.eof
pIdSupplier = rstemp("idSupplier")
pSupplierName = rstemp("supplierName")%>
<%=pSupplierName%>
<%
rstemp.movenext
loop
%>
<%
' 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
%>
Category 1
<%for f=0 to arrCategoriesIndex-1%>
<%=arrCategories(f,1)%>
<%next%>
Category 2
None
<%for f=0 to arrCategoriesIndex-1%>
<%=arrCategories(f,1)%>
<%next%>
Category 3
None
<%for f=0 to arrCategoriesIndex-1%>
<%=arrCategories(f,1)%>
<%next%>
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%>
%