php js css php js css

Changes

Changes to Page: categories

374050
Oct 4 3:16am
System
Modified page
Can't Undo: The page /public/products/categories/ does not currently exist, it may have been moved or deleted. In order to undo this change, you first need to restore the page
374054
Oct 4 3:16am
System
Modified page
Can't Undo: The page /public/products/categories/ does not currently exist, it may have been moved or deleted. In order to undo this change, you first need to restore the page
Content:
Id:
/public/products/categories/
/public/products/categories/
Title:
Categories
Categories
Content Additional:
{}
{}
Php Source:
<?php

// Redirect access through numerical ids to textual version
$strQuery = \Components\Website\Pages::currentPageQuery();

if($strQuery && is_numeric($strQuery))
{
$arrCategory = \Components\Commerce\Products\Categories::get($strQuery);

if($arrCategory && $arrCategory['product_category_uri'] && \Framework\HTTP\Request::getCurrentURIPath() != $arrCategory['product_category_uri'])
{
\Framework\HTTP\Redirection::redirect($arrCategory['product_category_uri']);
}
}

function orderProduct($iProductId)
{
\Components\Commerce\Carts\Current::orderProduct($iProductId);

// TODO: If statement - config
\Framework\HTTP\Redirection::redirect('/public/commerce/order/');
}

?>
<?php

// Redirect access through numerical ids to textual version
$strQuery = \Components\Website\Pages::currentPageQuery();

if($strQuery && is_numeric($strQuery))
{
$arrCategory = \Components\Commerce\Products\Categories::get($strQuery);

if($arrCategory && $arrCategory['product_category_uri'] && \Framework\HTTP\Request::getCurrentURIPath() != $arrCategory['product_category_uri'])
{
\Framework\HTTP\Redirection::redirect($arrCategory['product_category_uri']);
}
}

function orderProduct($iProductId)
{
\Components\Commerce\Carts\Current::orderProduct($iProductId);

// TODO: If statement - config
\Framework\HTTP\Redirection::redirect('/public/commerce/order/');
}

?>
Accept Child 404:
1
1
Search Title:

															

														
Search Title Prefix:

															

														
Search Description:

															

														
Search Keywords:

															

														
Search Noindex:
0
0
Search Nofollow:
0
0
Search Change Frequency:

															

														
Search Priority:
0.5
0.5
Is Offline:
0
0
Is Hidden In Navigation:
0
0
Is Hidden In Sitemap:
0
0
Security New:
0
0
Security Contact Mode:

															

														
Security Contact Squeeze Viewlimit:

															

														
Security Contact Require Login:

															

														
Security Contact Groups:

															

														
Security Condition Id:

															

														
Security Heading:

															

														
Security Description:

															

														
Security Ssl:
0
0
Other Fields:

															

														
Order:
0
0
Parent Id:
/public/products/
/public/products/
Type Id:
0
0
Contact Id:
-2
-2
Design Id:
0
0
Header Functions:

															

														
Header Category:

															

														
Is Domain:
0
0