Elevation


Debugging Information
ColdFusion Server Evaluation 2021,0,13,330286
Template /category.cfm
Time Stamp 20-May-24 02:55 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
344 ms 344 ms 1 E:/inetpub/wwwroot/category.cfm
281 ms 281 ms 1 E:/inetpub/wwwroot/queries/qry_getwebproducts_new.cfm
47 ms 47 ms 1 E:/inetpub/wwwroot/category_product_display.cfm
16 ms 16 ms 1 C:/inetpub/wwwroot/includes/dropship.cfm
16 ms 16 ms 1 E:/inetpub/wwwroot/category_sidenav_new.cfm
15 ms 15 ms 1 C:/inetpub/wwwroot/includes/security/block_access.cfm
15 ms 15 ms 1 E:/inetpub/wwwroot/Application.cfm
0 ms 0 ms 3 C:/inetpub/wwwroot/includes/brands.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/metatags.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/newheader.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/qry_mfg_promo_price.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/qry_term_sale_price.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/library.cfm
0 ms 0 ms 1 C:/inetpub/wwwroot/includes/security/sql_injection.cfm
0 ms 0 ms 1 E:/inetpub/wwwroot/category_header_new.cfm
0 ms 0 ms 1 E:/inetpub/wwwroot/category_pages.cfm
0 ms 0 ms 1 E:/inetpub/wwwroot/pagethru.cfm
0 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
359 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

get_term_sale_itemz (Datasource=celerantsql, Time=0ms, Records=1649, Cached Query) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:55:33.033
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 14:00:00' AND b.end_date >= '2024-05-20 14:00:00' AND b.store_id=10
get_pkg (Datasource=celerantsql, Time=0ms, Records=10) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:55:33.033
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.start_date<= '05/20/2024 23:59:00' and a.end_date >= '05/20/2024'
	
	and a.site='sportsman'
bulkitems (Datasource=celerantsql, Time=0ms, Records=18) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:55:33.033
select * from tb_mfg_promo.dbo.BULK_ITM_DSCS with (nolock)
GrandGetProductsELEVATION (Datasource=celerantsql, Time=264ms, Records=1) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:55:34.034
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.brand='ELEVATION'
	
	group by a.styles_web_taxonomy_id
GetProducts (Datasource=, Time=16ms, Records=1) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:55:34.034
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 grandgetproductsELEVATION
		where
		 style_id is not null
            
				and brand='ELEVATION'
			


group by Style_id order by
min_price
GetProducts1 (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\queries\qry_getwebproducts_new.cfm @ 14:55:34.034
select * from grandgetproductsELEVATION
		where
		 picture_id is not null
            
			
				and brand='ELEVATION'
			


order by

min_price
brand_info (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category.cfm @ 14:55:34.034
select * from tb_mfg_promo.dbo.tb_brands with (nolock) where brand = 'ELEVATION'
get_depts_by_brand (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:55:34.034
select distinct (dept) as dept from getproducts1 where brand='ELEVATION' group by dept
get_details (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:55:34.034
select web_url, picture_id, web_taxonomy_id from tb_web_taxonomy a left join tb_styles b on (a.category_style=b.style) where dept='Hunting' and typ='EMPTY' and site = 'sportsman'
brand_product_lines (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:55:34.034
select distinct a.spec_value 
                                from 
                                    tb_mfg_promo.dbo.item_spec_values a 
                                left join 
                                    tb_web_taxonomy b on (a.spec_dept=b.web_taxonomy_id) 
                                left join 
                                    tb_mfg_promo.dbo.item_specs c on (a.spec_value_id=c.spec_value_id)
                                where 
                                    a.spec_dept = 2398 and c.style_id in (273445)
get_typs (Datasource=, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:55:34.034
select distinct typ from getproducts1 where dept='Hunting' and brand='ELEVATION' group by typ order by sort_position
get_details (Datasource=celerantsql, Time=16ms, Records=1) in E:\inetpub\wwwroot\category_sidenav_new.cfm @ 14:55:34.034
select web_url, picture_id from tb_web_taxonomy a left join tb_styles b on (a.category_style=b.style) where dept='Hunting' and typ='Archery' and subtyp_1='EMPTY' and site = 'sportsman'
Getweburl (Datasource=celerantsql, Time=0ms, Records=0) in E:\inetpub\wwwroot\category.cfm @ 14:55:34.034
select web_url from tb_web_taxonomy with (nolock) where dept='' and site = 'sportsman'
check_qoh (Datasource=celerantsql, Time=15ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:55:34.034
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 = 273445 and e.store_id = 10 
			group by a.style_id, e.qc
check_ss_qoh (Datasource=celerantsql, Time=16ms, Records=0) in C:\inetpub\wwwroot\includes\dropship.cfm @ 14:55:34.034
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 = 273445 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 @ 14:55:34.034
select * from bulkitems where bulk_id = ? and site is NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 273445

get_term_sale_info (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_term_sale_price.cfm @ 14:55:34.034
select typ,amount,end_date,term_sale_id
from tb_term_sale_entries with (nolock)
where start_date<= 'May 20, 2024 14:55:34' and
end_date >= 'May 20, 2024 14:55:34'
and store_id=10 and style_id=273445
get_promos (Datasource=celerantsql, Time=0ms, Records=0) in C:\inetpub\wwwroot\includes\qry_mfg_promo_price.cfm @ 14:55:34.034
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 = 273445 
and (a.start_date<= 'May 20, 2024 14:55:34' or a.active = 1)
and a.end_date >= 'May 20, 2024 14:55:34'
order by a.promo_id desc
get_reviews (Datasource=celerantsql, Time=16ms, Records=0) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:55:34.034
select * from tb_product_reviews with (nolock) where style_id=273445  and status='A' and site = 'sportsman'
get_reviews_average (Datasource=celerantsql, Time=0ms, Records=1) in E:\inetpub\wwwroot\category_product_display.cfm @ 14:55:34.034
select sum(CAST(custom_rating_1 AS INTEGER)) as custom_rating_1 from tb_product_reviews with (nolock) where style_id=273445 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=256
CERT_SECRETKEYSIZE=2048
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=C=US, O=Let's Encrypt, CN=R3
CERT_SERVER_SUBJECT=CN=www.sportsmansoutdoorsuperstore.com
CERT_SUBJECT=
CF_TEMPLATE_PATH=E:\inetpub\wwwroot\category.cfm
CONTENT_LENGTH=0
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=CGI/1.1
HTTPS=on
HTTPS_KEYSIZE=256
HTTPS_SECRETKEYSIZE=2048
HTTPS_SERVER_ISSUER=C=US, O=Let's Encrypt, CN=R3
HTTPS_SERVER_SUBJECT=CN=www.sportsmansoutdoorsuperstore.com
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=close
HTTP_COOKIE=CFTOKEN=Z98olbwg5rxrj4kxa625akg5dpmaa354uo66g173yqvk4tox9o-ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF; CFGLOBALS=urltoken%3DCFID%23%3D8512%26CFTOKEN%23%3Dee4e16a37a9175ca%2DE994AB14%2D9E00%2D26DC%2D57DC0CDC4B6F2AFF%23lastvisit%3D%7Bts%20%272024%2D05%2D20%2014%3A55%3A33%27%7D%23hitcount%3D28%23timecreated%3D%7Bts%20%272024%2D05%2D20%2014%3A55%3A18%27%7D%23cftoken%3Dee4e16a37a9175ca%2DE994AB14%2D9E00%2D26DC%2D57DC0CDC4B6F2AFF%23cfid%3D8512%23; CFID=Z98olbwg5rxrj4kxa625akg5dpmaa354uo66g173yqvk4tox9o-8512; CT_U=798; PRD_U=290651%2C91; LAST_NAME=; USERNAME=; CUSTOMER_ID=; EMAIL=; PASSWORD=; FIRST_NAME=
HTTP_HOST=www.sportsmansoutdoorsuperstore.com
HTTP_REFERER=
HTTP_URL=/category.cfm/brand/ELEVATION/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=/brand/ELEVATION/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=443
SERVER_PORT_SECURE=1
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/10.0
WEB_SERVER_API=
Client Variables:
cfid=8512
cftoken=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF
hitcount=28
lastvisit={ts '2024-05-20 14:55:33'}
timecreated={ts '2024-05-20 14:55:18'}
urltoken=CFID=8512&CFTOKEN=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF
Cookie Variables:
CFGLOBALS=urltoken=CFID#=8512&CFTOKEN#=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF#lastvisit={ts '2024-05-20 14:55:33'}#hitcount=28#timecreated={ts '2024-05-20 14:55:18'}#cftoken=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF#cfid=8512#
CFID=8512
CFTOKEN=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF
CT_U=798
CUSTOMER_ID=
EMAIL=
FIRST_NAME=
LAST_NAME=
PASSWORD=
PRD_U=290651,91
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=8512
cftoken=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF
cs=/category.cfm/brand/ELEVATION/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_8512_ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF
strarray=Array (0)
urltoken=CFID=8512&CFTOKEN=ee4e16a37a9175ca-E994AB14-9E00-26DC-57DC0CDC4B6F2AFF
URL Parameters:
CLEARANCE=
DEPT=
NAV_CHOOSER=
OF1=
OF10=
OF2=
OF3=
OF4=
OF5=
OF6=
PAGETYPE=
PRODTYPE=none
RETURN_TO_PAGE=null
SECTION=
SPORTSMAN=
SUBTYP_1=
SUBTYP_2=
SUBTYP_3=
TYP=
WEB_TAXONOMY_ID=ELEVATION
WHATSNEW=
brand=ELEVATION
order_by=min_price
Debug Rendering Time: 0 ms