php js css php js css

Changes

Changes to Page: products

399131
Yesterday 10:15am
System
Modified page
PART OF Find and Replace
400647
Yesterday 2:57pm
Wilkie, Natasha
Modified page
Order:
Id:
/products/
/products/
Title:
Products
Products
Content:
<ss:templates:section>

<ss:logic:if test="\Components\Website\Pages::currentPageQuery()">

<ss:logic:variable value="[? \Components\Commerce\Products::getFromPageURI(\Framework\HTTP\Request::getCurrentURIPath()) ?]" as="product" />

<ss:logic:if test="$product">
<ss:data:template component="\Components\Commerce\Products" templatetype="details" />
</ss:logic:if>

<ss:logic:else>
<h1>Product Not Found</h1>
<p>Sorry, the product that you requested could not be displayed. The administrator may have created a broken link, removed the product since the link was created, or made the product offline.</p>

<!-- TODO: show product search screen -->
<!-- TODO: Links to other areas of the site -->
</ss:logic:else>

</ss:logic:if>

</ss:templates:section>
<ss:templates:section>

<ss:logic:if test="\Components\Website\Pages::currentPageQuery()">

<ss:logic:variable value="[? \Components\Commerce\Products::getFromPageURI(\Framework\HTTP\Request::getCurrentURIPath()) ?]" as="product" />

<ss:logic:if test="$product">
<ss:data:template component="\Components\Commerce\Products" templatetype="details" />
</ss:logic:if>

<ss:logic:else>
<h1>Product Not Found</h1>
<p>Sorry, the product that you requested could not be displayed. The administrator may have created a broken link, removed the product since the link was created, or made the product offline.</p>

<!-- TODO: show product search screen -->
<!-- TODO: Links to other areas of the site -->
</ss:logic:else>

</ss:logic:if>

</ss:templates:section>
Content Additional:

															

														
Css:

															

														
Js:

															

														
Php Source:
<?php

if (!\Components\Website\Pages::currentPageQuery())
{
\Framework\HTTP\Redirection::redirect('/products/categories/', true);
}

if (!\Components\Settings\Components::isInstalled('\Components\Commerce\Products'))
{
exit();
}

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

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

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

// AF - This is to allow a redirection to the course selector for courses without overriding /products/
if(\Components\Website\Pages::currentPageQuery())
{
$arrEventParams = [];
$arrEventParams[] = \Components\Website\Pages::currentPageQuery();

\Components\Commerce\Products::eventTrigger('viewProduct', $arrEventParams);
}

?>
<?php

if (!\Components\Website\Pages::currentPageQuery())
{
\Framework\HTTP\Redirection::redirect('/products/categories/', true);
}

if (!\Components\Settings\Components::isInstalled('\Components\Commerce\Products'))
{
exit();
}

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

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

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

// AF - This is to allow a redirection to the course selector for courses without overriding /products/
if(\Components\Website\Pages::currentPageQuery())
{
$arrEventParams = [];
$arrEventParams[] = \Components\Website\Pages::currentPageQuery();

\Components\Commerce\Products::eventTrigger('viewProduct', $arrEventParams);
}

?>
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
Search Canonical Override:

															

														
Is Offline:
0
0
Is Hidden In Navigation:
1
1
Is Hidden In Sitemap:
1
1
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:

															

														
Other Fields:

															

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

															

														
Header Category:

															

														
Is Domain:
0
0