Powertech Outdoor Recreation


Debugging Information
ColdFusion Server Evaluation 2021,0,13,330286
Template /category.cfm
Time Stamp 20-May-24 03:11 PM
Locale English (US)
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Remote IP 10.200.2.4
Host Name 10.200.2.4


Execution Time

Total Time Avg Time Count Template
61 ms 61 ms 1 top level E:\inetpub\wwwroot\category.cfm
32 ms 32 ms 1 E:/inetpub/wwwroot/category_product_display.cfm
10 ms 10 ms 1 E:/inetpub/wwwroot/category_sidenav_new.cfm
7 ms 7 ms 1 C:/inetpub/wwwroot/includes/qry_mfg_promo_price.cfm
7 ms 7 ms 1 E:/inetpub/wwwroot/queries/qry_getwebproducts_new.cfm
5 ms 5 ms 1 C:/inetpub/wwwroot/includes/dropship.cfm
4 ms 4 ms 1 C:/inetpub/wwwroot/includes/qry_term_sale_price.cfm
3 ms 3 ms 1 E:/inetpub/wwwroot/Application.cfm
2 ms 1 ms 4 C:/inetpub/wwwroot/includes/brands.cfm
2 ms 2 ms 1 E:/inetpub/wwwroot/category_header_new.cfm
1 ms 1 ms 1 C:/inetpub/wwwroot/includes/metatags.cfm
1 ms 1 ms 1 C:/inetpub/wwwroot/includes/newheader.cfm
1 ms 1 ms 1 C:/inetpub/wwwroot/includes/security/block_access.cfm
1 ms 1 ms 1 C:/inetpub/wwwroot/includes/security/sql_injection.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/metatags_category_new.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/navigation.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/newfooter.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/library.cfm
0 ms 0 ms 1 E:/inetpub/wwwroot/category_pages.cfm
0 ms 0 ms 1 E:/inetpub/wwwroot/pagethru.cfm
2 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
66 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

Getwebdepts (Datasource=celerantsql, Time=2ms, Records=1) in E:\inetpub\wwwroot\category.cfm @ 15:11:27.027
select * from tb_web_taxonomy with (nolock) where upper(web_url)=? and site = 'sportsman'
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = OUTDOOR-RECREATION

get_term_sale_itemz (Datasource=celerantsql, Time=0ms, Records=1650, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:11:27.027
SELECT distinct b.style_id
    FROM tb_term_sale_entries b with (nolock) LEFT JOIN tb_term_sales a with (nolock) ON (a.term_sale_id=b.term_sale_id)
    WHERE b.start_date<= '2024-05-20 15:00:00' AND b.end_date >= '2024-05-20 15:00:00' AND b.store_id=10
get_pkg (Datasource=celerantsql, Time=2ms, Records=0) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:11:27.027
SELECT * 
	FROM tb_mfg_promo.dbo.tb_pkg a with (nolock)
	INNER JOIN tb_mfg_promo.dbo.tb_pkg_main_items b WITH (NOLOCK)
		ON (a.pkg_id = b.pkg_id) 
	WHERE 
	b.main_id is not NULL and a.dept=3565 
	and a.start_date<= '05/20/2024 23:59:00' and a.end_date >= '05/20/2024'
	
	and a.site='sportsman'
bulkitems (Datasource=celerantsql, Time=1ms, Records=18) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:11:27.027
select * from tb_mfg_promo.dbo.BULK_ITM_DSCS with (nolock)
GrandGetProducts3565 (Datasource=celerantsql, Time=0ms, Records=1290, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:11:27.027
SELECT a.styles_web_taxonomy_id,max(a.style_id) as style_id,max(a.style) as style,max(a.web_style) as web_style,max(a.description) as web_desc,max(a.web_desc) as web_description,max(a.web_long_desc) as web_long_desc,max(a.picture_id) as picture_id,max(a.sort_position) as prod_sort_position,max(a.dept) as dept,max(a.typ) as typ,max(a.subtyp_1) as subtyp_1,max(a.subtyp_2) as subtyp_2,max(a.subtyp_3) as subtyp_3,max(a.category_style) as category_style,max(a.web_url) as web_url,max(a.sort_position) as sort_position,max(a.web_taxonomy_id) as web_taxonomy_id,max(a.brand) as brand,max(a.date_entered) as date_entered,max(a.non_invt) as non_invt,max(a.overnight_required) as overnight_required,max(a.is_firearm) as is_firearm,max(a.of1) as of1,max(a.of2) as of2,max(a.of3) as of3,max(a.of4) as of4,max(a.of5) as of5,max(a.of6) as of6,max(a.of7) as of7,max(a.of8) as of8,max(a.of9) as of9,max(a.of10) as of10,max(a.of11) as of11,max(a.of12) as of12,max(a.of13) as of13,max(a.of14) as of14,max(a.of15) as of15,max(a.of16) as of16,max(a.of17) as of17,max(a.of18) as of18,max(a.of19) as of19,max(a.of20) as of20
,min(c.price) as min_price,min(c.store_price) as store_price,max(c.sugg_price) as max_price,min(c.wholesale_price) as vipprice,max(c.qoh) as qoh,max(c.qc) as qc,max(c.qs) as qs,sum(qoh + qc) as available,sum(c.qs - c.qc) as sold,max(c.sugg_price) AS max_sugg_price,avg(CASE WHEN qq.of9 IS NULL OR qq.of9 = '' THEN 0 ELSE c.price / qq.of9 END) as round
	
 FROM web_all_products a WITH (NOLOCK)
 INNER JOIN dbo.tb_skus b WITH (NOLOCK) ON (a.style_id = b.style_id)
 INNER JOIN dbo.tb_sku_buckets c WITH (NOLOCK) ON (b.sku_id = c.sku_id)
 INNER JOIN dbo.tb_styles_web_taxonomy d WITH (NOLOCK) ON (a.style_id = d.style)
 INNER JOIN dbo.tb_styles qq WITH (NOLOCK) ON (qq.style_id = a.style_id)
	
	
 WHERE a.style_id > 0 and (a.of20='SPORTS' or a.of20='BOTH' or a.of20 = 'SPORTSOUTDOORS') and a.picture_id > 0
and qq.web_product='Y' and c.store_id=10 
	 and a.dept='Outdoor Recreation'
	
	group by a.styles_web_taxonomy_id
GetProducts (Datasource=, Time=1ms, Records=1) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:11:27.027
select
		distinct
		(style_id) as style_id
		, max(picture_id)
			,	min(min_price) as min_price
			,	max(max_price) as max_price
			,	min(vipprice) as vipprice
			,	max(web_style) as web_style
            ,	max(style) as style
			,	max(web_desc) as web_desc
            ,	max(web_description) as web_description
			,	max(picture_id) as picture_id
            ,	max(web_long_desc) as web_long_desc
			,   max(dept) as dept
			,   max(qoh) as qoh
			,	max(qc) as qc
			,	max(qs) as qs
			,	max(of18) as of18
			,	max(of17) as of17
			,	max(of15) as of15
            ,	max(of12) as of12
    		,	max(of10) as of10
    		,	max(of9) as of9
    		,	max(of8) as of8
			,	max(of7) as of7
    		,	max(of6) as of6
    		,	max(of5) as of5
            ,	max(of4) as of4
    		,	max(of3) as of3
            ,	max(of2) as of2
            ,	max(of1) as of1
			,	max(available) as available
            ,	max(available) as sold
			,   max(typ) as typ
            ,	max(round) as round
            ,	max(non_invt) as non_invt
			,	max(overnight_required) as overnight_required
			,   max(subtyp_1) as subtyp_1
			,   max(subtyp_2) as subtyp_2
			,   max(subtyp_3) as subtyp_3
			,   max(category_style) as category_style
		     ,   max(sort_position) as sort_position
		     ,max(brand) as brand
	,	MAX(max_sugg_price) AS max_sugg_price
    

		from grandgetproducts3565
		where
		 style_id is not null
            
				and brand='POWERTECH'
			


group by Style_id order by
min_price
GetProducts1 (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 15:11:27.027
select * from grandgetproducts3565
		where
		 picture_id is not null
            
			
				and brand='POWERTECH'
			


order by

date_entered desc
get_web_url (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category_header_new.cfm @ 15:11:27.027
Select web_url from tb_web_taxonomy with (nolock) where dept = 'Outdoor Recreation' and typ='EMPTY' and site = 'sportsman'
get_depts (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:27.027
select dept, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where typ='EMPTY' and dept<>'EMPTY' and dept='Outdoor Recreation' and site = 'sportsman' order by sort_position
distinct_typ (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:27.027
select distinct typ from getproducts
get_typs (Datasource=celerantsql, Time=0ms, Records=1, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:27.027
select typ, web_url, sort_position, category_style from tb_web_taxonomy with (nolock) where subtyp_1='EMPTY' and dept='Outdoor Recreation' AND SORT_POSITION<>'x' and site = 'sportsman' and typ in (?) order by typ asc
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Knives & Tools

distinct_subtyp1 (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:27.027
select distinct subtyp_1 from getproducts
hdr_get_subtyps (Datasource=celerantsql, Time=0ms, Records=0, Cached Query) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:27.027
select distinct subtyp_1, web_url ,sort_position, category_style from tb_web_taxonomy with (nolock) where dept='Outdoor Recreation' and subtyp_2='EMPTY' and typ='EMPTY' AND SORT_POSITION<>'x' and site = 'sportsman' and subtyp_1 in (?) order by subtyp_1
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Tools

get_filtered_brands (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:27.027
select distinct(brand) as brand from GetProducts
brand_product_lines (Datasource=celerantsql, Time=8ms, Records=0) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 15:11:28.028
select distinct a.spec_value from tb_mfg_promo.dbo.item_spec_values a left join tb_mfg_promo.dbo.item_spec_names b on (a.spec_id=b.spec_id) left join tb_mfg_promo.dbo.item_specs c on (a.spec_value_id=c.spec_value_id) where b.spec_name = 'Product Line' and c.style_id in (179384)
Getweburl (Datasource=celerantsql, Time=1ms, Records=1) in E:\inetpub\wwwroot\category.cfm @ 15:11:28.028
select web_url from tb_web_taxonomy with (nolock) where dept='Outdoor Recreation' and site = 'sportsman'
            
            and typ='EMPTY'
            
            and subtyp_1 = 'EMPTY'
check_qoh (Datasource=celerantsql, Time=7ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:11:28.028
select sum(e.qoh + e.qc) as qoh ,sum(e.qc) as qc,sum(e.qs - e.qc) as sold
			from tb_skus a with (nolock)
			left join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id) 
			where a.style_id = 179384 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=5ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 15:11:28.028
select e.sku_bucket_id, e.price, e.sugg_price, (e.qoh + e.qc) as qoh, z.of15,e.last_cost
	from 
	tb_styles z with (nolock) inner join tb_skus a with (nolock) on (z.style_id=a.style_id)
	inner join tb_parts b with (nolock) on (a.STYLE_ID=b.STYLE_ID)
	inner join tb_sku_buckets e with (nolock) on (e.sku_id = a.sku_id)
	where a.style_id = 179384 and b.contact_id=22620 and (e.qoh + e.qc) >= 1
	and e.store_id = 27 and (e.last_cost>0 and z.of15 is not NULL) 
	and z.brand not in (?,?,?,?,?,?,?,?,?)
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = BERETTA
Parameter #2(cf_sql_varchar) = GLOCK
Parameter #3(cf_sql_varchar) = RUGER
Parameter #4(cf_sql_varchar) = SMITH AND WESSON
Parameter #5(cf_sql_varchar) = LEUPOLD
Parameter #6(cf_sql_varchar) = SPRINGFIELD
Parameter #7(cf_sql_varchar) = THOMPSON CENTER
Parameter #8(cf_sql_varchar) = TIKKA
Parameter #9(cf_sql_varchar) = WALTHER

bulk_price (Datasource=, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:11:28.028
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 179384

get_term_sale_info (Datasource=celerantsql, Time=4ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 15:11:28.028
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 15:11:28' and
end_date >= 'May 20, 2024 15:11:28'
and store_id=10 and style_id=179384
get_promos (Datasource=celerantsql, Time=6ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 15:11:28.028
SELECT *
FROM 
tb_mfg_promo.dbo.tb_mfg_promos a WITH (NOLOCK)
INNER JOIN tb_mfg_promo.dbo.tb_mfg_promo_items b WITH (NOLOCK)
    ON (a.promo_id = b.promo_id)
where b.style_id = 179384 
and (a.start_date<= 'May 20, 2024 15:11:28' or a.active = 1)
and a.end_date >= 'May 20, 2024 15:11:28'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=3ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:11:28.028
select * from tb_product_reviews with (nolock) where style_id=179384  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=2ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 15:11:28.028
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=179384 and status='A' and site = 'sportsman'


Scope Variables

Application Variables:
acceptorid=011668467
accountid=1027380
accounttoken=64BB6980FDEAF842266AC866F250CA9877FF24AE92795FB9BE490EAF527645FC4E54DC01
adminurl=https://www.sportsmansoutdoorsuperstore.com/web_admin/products/menu.cfm?style_id=
applicationname=SOS
bannerurl=https://www.sportsmansoutdoorsuperstore.com/images/banners/
ccprocessor=VANTIV
checkinventory=Struct (3)
companyname=Vance Outdoors
credova=Struct (5)
ds=celerantsql
enter_inscription=OFF
feedsdir=E:\inetpub\feeds\
forumemail=info@sportsmansoutdoorsuperstore.com
forumtitle=Sportsmans Outdoor Superstore
giftcardimgpath=file:///C:/websites/images/
giftcardpdfpath=E:\websites\giftcardPDF\
googlefeedproducttype=
homeurl=https://www.sportsmansoutdoorsuperstore.com/
hostedpagelink=https://transaction.hostedpayments.com/
iconurl=https://www.sportsmansoutdoorsuperstore.com/images/icons/
imagedir=E:\inetpub\images\
logdir=E:\inetpub\logs
metadesc=
metatags=
mydomain=https://www.sportsmansoutdoorsuperstore.com/
pagetitle=
picurl=https://www.sportsmansoutdoorsuperstore.com/images/
prodimgdir=E:\inetpub\prodimages\
prodimgurl=https://www.sportsmansoutdoorsuperstore.com/prodimages/
qoh_store=10
safety_stock=0
salesemail=sales@sportsmansoutdoorsuperstore.com
secureurl=https://www.sportsmansoutdoorsuperstore.com/
site=sportsman
tempmailport=25
tempmailserver=127.0.0.1
tokenurl=https://services.elementexpress.com/express.asmx
use_multi_buy=OFF
vantivurl=https://transaction.elementexpress.com/express.asmx
webadminurl=https://www.sportsmansoutdoorsuperstore.com/web_admin/
websitename=Sportsmans Outdoor Superstore
CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=E:\inetpub\wwwroot\category.cfm
CONTENT_LENGTH=0
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=CGI/1.1
HTTPS=off
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=
HTTP_COOKIE=USERNAME=; CUSTOMER_ID=; CT_U=2600; EMAIL=; FIRST_NAME=; LAST_NAME=; PASSWORD=; PRD_U=299142%2C762
HTTP_HOST=www.sportsmansoutdoorsuperstore.com
HTTP_REFERER=
HTTP_URL=/category.cfm/sportsman/outdoor-recreation/brand/POWERTECH/order_by/min_price
HTTP_USER_AGENT=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
LOCAL_ADDR=10.200.30.6
PATH_INFO=/sportsman/outdoor-recreation/brand/POWERTECH/order_by/min_price
PATH_TRANSLATED=E:\inetpub\wwwroot\category.cfm
QUERY_STRING=
REMOTE_ADDR=10.200.2.4
REMOTE_HOST=10.200.2.4
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/category.cfm
SERVER_NAME=www.sportsmansoutdoorsuperstore.com
SERVER_PORT=80
SERVER_PORT_SECURE=0
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/10.0
WEB_SERVER_API=
Client Variables:
cfid=12690
cftoken=a116a11fe4b83f92-EA28A2F2-08BF-1FD7-7030B81ACEF6CD51
hitcount=1
lastvisit={ts '2024-05-20 15:11:27'}
timecreated={ts '2024-05-20 15:11:27'}
urltoken=CFID=12690&CFTOKEN=a116a11fe4b83f92-EA28A2F2-08BF-1FD7-7030B81ACEF6CD51
Cookie Variables:
CFID=12690
CFTOKEN=a116a11fe4b83f92-EA28A2F2-08BF-1FD7-7030B81ACEF6CD51
CT_U=2600
CUSTOMER_ID=
EMAIL=
FIRST_NAME=
LAST_NAME=
PASSWORD=
PRD_U=299142,762
USERNAME=
Form Fields:
RETURN_TO_PAGE=null
Request Parameters:
samesite_value=
Server Variables:
coldfusion=Struct (10)
os=Struct (5)
system=Struct (2)
Session Variables:
cfid=12690
cftoken=a116a11fe4b83f92-EA28A2F2-08BF-1FD7-7030B81ACEF6CD51
cs=/category.cfm/sportsman/outdoor-recreation/brand/POWERTECH/order_by/min_price
displaycount=18
employeeloggedin=N
fflnote=
firearm_agreement=NO
imgarray=Array (0)
memberloggedin=N
pickupstore=10
prodtype=none
selected_ffl=NO
sessionid=SOS_12690_a116a11fe4b83f92-EA28A2F2-08BF-1FD7-7030B81ACEF6CD51
strarray=Array (0)
urltoken=CFID=12690&CFTOKEN=a116a11fe4b83f92-EA28A2F2-08BF-1FD7-7030B81ACEF6CD51
URL Parameters:
CLEARANCE=
DEPT=Outdoor Recreation
NAV_CHOOSER=
OF1=
OF10=
OF2=
OF3=
OF4=
OF5=
OF6=
PAGETYPE=
PRODTYPE=none
RETURN_TO_PAGE=null
SECTION=
SUBTYP_1=EMPTY
SUBTYP_2=EMPTY
SUBTYP_3=EMPTY
TYP=EMPTY
WEB_TAXONOMY_ID=3565
WHATSNEW=
brand=POWERTECH
order_by=min_price
sportsman=outdoor-recreation
Debug Rendering Time: 8 ms