<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>