% ' ****************************Get Product ID and Open Query PROD = Trim(Request("p")) Set DevSrch = Connect.Execute("SELECT * From Products WHERE prod_ID ='" & PROD & "'") %> <% ' ****************************Determine number of pictures for this item varDirPath = RootPath & "\images\" & PROD & "\" Set objFSO = Server.CreateObject("Scripting.FileSystemObject") If objFSO.FolderExists(varDirPath) Then Set objFolder = objFSO.GetFolder(varDirPath).Files PicCount = objFolder.Count * 0.5 Else PicCount = 0 End If %>
<% If PicCount > 1 Then %> MORE VIEWS <% End If %> <% If PicCount > 0 Then PicSrc = "
"
End If %>
<% = PicSrc %><% If Not DevSrch("category") = "ACCESSORIES" And Not DevSrch("category") = "HOLSTERS" And Not DevSrch("category") = "KEYBOARDS" Then %> COLOR PREVIEW
|
<% = DevSrch("product_name") %> - for the <% =DevSrch("brand") %> - |
|||
<% = DevSrch("Details") %> <% If DevSrch("feat_price") < DevSrch("price") Then mprice = FormatCurrency(DevSrch("feat_price")) oprice = "Original Price: " & FormatCurrency(DevSrch("price")) & _ " Feature Price: " & _ FormatCurrency(DevSrch("feat_price")) & " " BASE_PRICE = DevSrch("feat_price") Else mprice = FormatCurrency(DevSrch("price")) oprice = "Your Price: " & _ FormatCurrency(DevSrch("price")) & " " BASE_PRICE = DevSrch("price") End If %> <% If DevSrch("x_Details") <> "" Then %> <% NewX = DevSrch("x_Details") %>
<% = oprice %> <% Stocker = " Backordered" If DevSrch("Stock") > 2 Then Stocker = " Limited Stock" End If If DevSrch("Stock") > 10 Then Stocker = " In Stock" End If %> Availability: <% = Stocker %> |
||||
| CART OPTIONS
SITE WIDE SHIPPING
EXPERIENCING EMPTY CART SYNDROME?
|
||||
|
||||