applications/shop/widget/CartScreens.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is subject to the terms and conditions defined in the
files 'LICENSE' and 'NOTICE', which are part of this source
code package.
-->
<screens xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/widget-screen.xsd">
<!-- Column Included Screens -->
<screen name="microcart">
<section>
<actions>
<set field="initialLocaleComplete" type="String" value="${groovy:parameters?.userLogin?.lastLocale}" default-value="${groovy:locale.toString()}"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://shop/webapp/shop/cart/microcart.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<screen name="minicart">
<section>
<actions>
<set field="hidetoplinks" value="Y"/>
<set field="hidebottomlinks" value="N"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/minicart.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<screen name="minipromotext">
<section>
<actions>
<script location="component://shop/webapp/shop/WEB-INF/actions/cart/ShowPromoText.groovy"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://shop/webapp/shop/cart/minipromotext.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<screen name="promoUseDetailsInline">
<section>
<widgets>
<platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/promoUseDetailsInline.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
<!-- =========== Top-Level and Stand-Alone Screens =========== -->
<screen name="showcart">
<section>
<actions>
<set field="titleProperty" value="PageTitleShoppingCart"/>
<set field="activeMainMenuItem" value="Shopping Cart"/>
<property-to-field resource="order" property="orderPreference.giftEnable" field="giftEnable" default="Y"/>
<script location="component://shop/webapp/shop/WEB-INF/actions/cart/ShowCart.groovy"/>
<script location="component://shop/webapp/shop/WEB-INF/actions/cart/ShowPromoText.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShopAppDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://shop/webapp/shop/cart/showcart.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="showAllPromotions">
<section>
<actions>
<set field="promoUseDetailsInlineScreen" value="component://shop/widget/CartScreens.xml#promoUseDetailsInline"/>
<set field="titleProperty" value="PageTitleAllPromotions"/><!-- SCIPIO: odd: PageTitleShowAllPromotions -->
<script location="component://shop/webapp/shop/WEB-INF/actions/cart/ShowCart.groovy"/>
<script location="component://shop/webapp/shop/WEB-INF/actions/cart/ShowPromoText.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShopAppDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<platform-specific><html><html-template location="component://order/webapp/ordermgr/entry/cart/showAllPromotions.ftl"/></html></platform-specific>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="showPromotionDetails">
<section>
<actions>
<set field="productsummaryScreen" value="component://shop/widget/CatalogScreens.xml#productsummary"/>
<set field="titleProperty" value="PageTitleShowPromotionDetails"/>
<script location="component://order/webapp/ordermgr/WEB-INF/actions/entry/cart/ShowPromotionDetails.groovy"/>
</actions>
<widgets>
<decorator-screen name="CommonShopAppDecorator" location="${parameters.mainDecoratorLocation}">
<decorator-section name="body">
<include-screen name="promotion" location="component://order/widget/ordermgr/OrderEntryCartScreens.xml"/>
</decorator-section>
</decorator-screen>
</widgets>
</section>
</screen>
<screen name="UpdateCart">
<section>
<actions>
<property-map resource="ShopUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="EcommerceUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ProductUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="OrderUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
<property-map resource="CommonUiLabels" map-name="uiLabelMap" global="true"/>
<script location="component://shop/webapp/shop/WEB-INF/actions/cart/ShowCart.groovy"/>
</actions>
<widgets>
<platform-specific><html><html-template location="component://shop/webapp/shop/cart/UpdateCart.ftl"/></html></platform-specific>
</widgets>
</section>
</screen>
</screens>