Out of stock problem in details.asp
SYMPTOMS
When stock control is active (1), the product details page displayed as if there is no stock while available stock is still displayed.
VERSIONS AFFECTED
Q-Shop Pro and Lite v3.5.0.
CAUSE
There is a bug in details.asp. Follow the instructions below to correct it.
RESOLUTION
Download a new details.asp file here or edit details.asp and where it says:
Stock = CInt(rs("Stock"))
If Stock > 0 AND shop_StockControl Then
Response.Write Stock & " in stock<BR>"
End If %>
Cut the first line in bold and paste it after the following lines:
nVATRate = rs("VATRate")
nTaxable = rs("Taxable")
|