Christmas Cards

Debug Message - Perch Runway 3.2
[957] SELECT p.pagePath, pr.routePattern, pr.routeRegExp, p.pageTemplate, pr.routeOrder, s.settingValue AS siteOffline FROM swt_pages_staging p LEFT JOIN swt_page_routes pr ON p.pageID=pr.pageID LEFT JOIN swt_settings s ON s.settingID='siteOffline' UNION SELECT NULL AS pagePath, pr2.routePattern, pr2.routeRegExp, pr2.templatePath AS pageTemplate, pr2.routeOrder, NULL AS siteOffline FROM swt_page_routes pr2 WHERE templateID!=0 ORDER BY routeOrder ASC, pagePath ASC
Matched route: shop/category/[slug:cat]
Server address: 3.238.121.7
Using master page: /templates/pages/shop/category.php
Page arguments:
Array
(
    [0] => /shop/category/christmas-cards
    [cat] => christmas-cards
    [1] => christmas-cards
)
[1] SELECT * FROM swt_pages_staging WHERE pagePath='/shop/category' LIMIT 1
[75] SELECT DISTINCT settingID, settingValue FROM swt_settings WHERE userID=0
[1] SELECT locationID FROM swt_shop_tax_locations WHERE locationIsHome=1 LIMIT 1
INSERT INTO swt_shop_cart(memberID,locationID,currencyID,cartPricing,cartProperties) VALUES(NULL,'1',47,'standard','[]')
[1] SELECT * FROM swt_shop_cart WHERE cartID=2186338
[1] SELECT * FROM swt_shop_cart WHERE cartID=2186338
[nil] SELECT * FROM swt_shop_sales WHERE saleFrom<='2024-07-16 07:12:00' AND saleTo>'2024-07-16 07:12:00' AND saleActive=1 AND saleDeleted IS NULL ORDER BY saleOrder ASC
[0] SELECT setID FROM swt_category_sets WHERE setSlug='' LIMIT 1
[1] SELECT main.* FROM swt_categories main WHERE 1=1 AND (catPath='shop/christmas-cards/') ORDER BY catTreePosition ASC
Using template: /templates/categories/category.html
[250] SELECT country, countryID FROM swt_shop_countries WHERE countryActive=1 ORDER BY country ASC
Using template: /templates/pages/attributes/seo.html
[1] SELECT regionID, regionTemplate, regionPage, regionRev AS rev FROM swt_content_regions WHERE regionKey='Banner image' AND (regionPage='/shop/category' OR regionPage='*')
[nil] SELECT * FROM ( SELECT idx.itemID, c.regionID, idx.pageID, c.itemJSON, idx2.indexValue as sortval FROM swt_content_index idx JOIN swt_content_items c ON idx.itemID=c.itemID AND idx.itemRev=c.itemRev AND idx.regionID=c.regionID JOIN swt_content_index idx2 ON idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev AND idx2.indexKey='_order' WHERE ((idx.regionID=190 AND idx.itemRev=0)) AND idx.itemID=idx2.itemID AND idx.itemRev=idx2.itemRev ) as tbl GROUP BY itemID, pageID, itemJSON, sortval, regionID ORDER BY sortval ASC
[85] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageDepth >=0 AND pageDepth<=2 ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/shop/category' LIMIT 1
[2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-010-001', '000-010', '000') ORDER BY pageTreePosition DESC
Using template: /templates/navigation/ps_nav_template.html
[6] Using template: /templates/navigation/ps_nav_template_children.html
[6] Using template: /templates/navigation/ps_nav_template_children.html
[29] Using template: /templates/navigation/ps_nav_template_children.html
[9] Using template: /templates/navigation/ps_nav_template_children.html
[3] Using template: /templates/navigation/ps_nav_template_children.html
[7] Using template: /templates/navigation/ps_nav_template_children.html
[9] Using template: /templates/navigation/ps_nav_template_children.html
[1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/shop/category' OR pageSortPath='/shop/category' LIMIT 1
[1] SELECT * FROM swt_pages_staging WHERE pageHidden=0 AND pageNew=0 AND pageTreePosition IN ('000-010-001', '000-010', '000') ORDER BY pageTreePosition
[1] Using template: /templates/navigation/breadcrumbs.html
[30] SELECT DISTINCT idx.itemID FROM swt_shop_index idx JOIN swt_shop_products main ON idx.itemID=main.productID AND idx.itemKey='productID' AND ((idx.indexKey='_category' AND idx.indexValue LIKE 'shop/christmas-cards%' OR idx.indexKey='_category' AND idx.indexValue='shop/christmas-cards'))
[nil] SELECT tbl.* FROM ( SELECT idx.itemID, main.*, idx2.indexValue as sortval FROM swt_shop_index idx JOIN swt_shop_products main ON idx.itemID=main.productID AND idx.itemKey='productID' JOIN swt_shop_index idx2 ON idx.itemID=idx2.itemID AND idx.itemKey='productID' AND idx2.indexKey='title' AND idx.itemID IN ('718', '716', '717', '719', '753', '720', '715', '1508', '1505', '1509', '1507', '1510', '1506', '2296', '2301', '2293', '2297', '2295', '2898', '3090', '2294', '2897', '3087', '3971', '3086', '3565', '3566', '3088', '3970', '3089') WHERE 1=1 AND idx.itemID=idx2.itemID AND idx.itemKey=idx2.itemKey GROUP BY idx.itemID, idx2.indexValue, productID ) as tbl WHERE (productDeleted IS NULL AND productStatus=1 AND parentID IS NULL) GROUP BY itemID, sortval ORDER BY sortval ASC
Using template: /templates/shop/products/list.html
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/what-we-do' OR pageSortPath='/what-we-do' LIMIT 1
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-002' LIMIT 1
[7] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-002%' AND pageDepth >=1 AND pageDepth<=2 ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/shop/category' LIMIT 1
[2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-010-001', '000-010', '000') ORDER BY pageTreePosition DESC
[6] Using template: /templates/navigation/footer-nav.html
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/make-a-difference' OR pageSortPath='/make-a-difference' LIMIT 1
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-005' LIMIT 1
[38] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-005%' ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/shop/category' LIMIT 1
[2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-010-001', '000-010', '000') ORDER BY pageTreePosition DESC
[9] Using template: /templates/navigation/footer-nav.html
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/visit' OR pageSortPath='/visit' LIMIT 1
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-004' LIMIT 1
[30] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-004%' AND pageDepth >=1 AND pageDepth<=2 ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/shop/category' LIMIT 1
[2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-010-001', '000-010', '000') ORDER BY pageTreePosition DESC
[29] Using template: /templates/navigation/footer-nav.html
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pagePath='/make-a-difference' OR pageSortPath='/make-a-difference' LIMIT 1
[1] SELECT pageID, pageParentID, pageDepth, pageTreePosition FROM swt_pages_staging WHERE pageTreePosition='000-005' LIMIT 1
[10] SELECT * FROM swt_pages_staging WHERE pageNew=0 AND pageHidden=0 AND pageTreePosition LIKE '000-005%' AND pageDepth >=1 AND pageDepth<=2 ORDER BY pageTreePosition ASC
[1] SELECT pageTreePosition FROM swt_pages_staging WHERE pagePath='/shop/category' LIMIT 1
[2] SELECT pageID FROM swt_pages_staging WHERE pageTreePosition IN ('000-010-001', '000-010', '000') ORDER BY pageTreePosition DESC
[9] Using template: /templates/navigation/footer-nav.html
Request time: 0.4019
Process time: 0.4018
Memory: 1.6598