
List Heads
strProdListSQL: WHERE Products.SKU = '6054' AND Products.Display = 1 AND Products.Site1 = 1 AND Products.GlCode <> ''
varProductsTotalCount: 1
lastProdID: 0
rsPsql: SELECT Products.ProductID, SKU, ProductName, Products.LongDescription, Products.SupplierID, Products.CategoryID, OnSpecial, SpecialPrice, PromoText, BandA AS UnitPrice, LineItemTax, UnitsInStock, ProductPicture, ProductThumb, Specifications, UnitWeight, Keywords, Products.ColID, BandA AS TradePrice, Products.RestockDate, Products.PriceOptions, Products.Display, Products.BuyButton, Products.UnitSize, Products.UnitColour, Products.BandA, Products.BandB, Products.BandC, Products.BandD, Products.BandE, Products.BandF, Products.BandG, Products.BandH, UnitsInStock AS wh1_stock, 0 AS wh2_stock, CostPrice, ProductNameCustom, ProductDescriptionCustom, Products.Fragile, Products.TaxCode, Products.NonStockItem, Products.SampleAvailable, Products.ProductPicture AS ProdPic, Products.ParentID, Products.ExternalCatID, Products.QuantityPerUnit, Products.stUser3,Products.Barcode, Products.ShortDescription, Products.stUser2,Products.stUser5,Products.stUser6,Products.ProcessType, Products.stUser10,Products.ShowImgOverlay,Products.ImgOverlayText,Products.OnSpecial_Cat, (SELECT OfferPercent FROM SpecialOffers WHERE SpecialOffers.ID = Products.OnSpecial_cat) AS OnSpecial_Cat_Percent, (SELECT OfferText FROM SpecialOffers WHERE SpecialOffers.ID = Products.OnSpecial_cat) AS OnSpecial_Cat_Text, (SELECT Active FROM SpecialOffers WHERE SpecialOffers.ID = Products.OnSpecial_cat) AS OnSpecial_Cat_Active, Products.ShowProductGroups, Products.stStockType FROM dbo.ProductCategories INNER JOIN Products ON Products.SKU COLLATE Latin1_General_CS_AS = ProductCategories.ProductID COLLATE Latin1_General_CS_AS WHERE Products.SKU = '6054' AND Products.Display = 1 AND Products.Site1 = 1 AND Products.GlCode <> '' AND Products.ProductID > 0

Item Properties
UnitPrice:6.99, DisplayPrice:6.99, ExchPrice:6.99, RoundPrice:6.99
Disc: 0, DiscType: BP
STOCK DISCOUNT: 0
PRODID:2452, CATID:, ExCat:556.04
strPhotoName: products/6054.jpg
Image: 6054
StrPhoto: /dbimages/products/6054.jpg
Fragile : False
TaxCode : S
LineItemTax : 20
UnitWeight : 0.04
Discount Tracker :
1 - START NEW
1 - 021 Call sub setStockDiscounts:(6054,XWEB)
2 - 009 fn categoryDiscount:(6054,XWEB)
3 -
3 - 016 fn getStockDiscount: (6054,XWEB)
3 - 016b fn getStockDiscount: BandA|0|BP
3 - 010 result:(BandA|0|BP)
3 - 012 result1:Category=6054
3 - 013 result1:blnTopCat=False
4 - 008a fn getcat:6054
5 - 008d fn getcat:BLANK
5 - 014a blnTopCat1:(False)
5 - 014a varParentCat1:()
6 - 022 Output sub arrStockDiscount: 0 - Band = BandA
END
7 - START NEW
7 - 021 Call sub setStockDiscounts:(556.04,XWEB)
8 - 009 fn categoryDiscount:(556.04,XWEB)
9 -
9 - 016 fn getStockDiscount: (556.04,XWEB)
9 - 016b fn getStockDiscount: BandA|0|BP
9 - 010 result:(BandA|0|BP)
9 - 012 result1:Category=556.04
9 - 013 result1:blnTopCat=False
10 - 008a fn getcat:556.04
11 - 008c fn getcat=556
11 - 014a blnTopCat1:(False)
11 - 014a varParentCat1:(556)
12 -
12 - 016 fn getStockDiscount: (556,XWEB)
12 - 016b fn getStockDiscount: BandA|0|BP
12 - 014 blnTopCat1:(False)
12 - 014 getCat1:(556)
12 - 014 result1:(BandA|0|BP)
12 - 012 result2:Category=556
12 - 013 result2:blnTopCat=False
13 - 008a fn getcat:556
14 - 008b fn getcat=556
14 - 014a blnTopCat2:(True)
14 - 014a varParentCat2:(556)
15 - 022 Output sub arrStockDiscount: 0 - Band = BandA
END