|
diff --git a/applications/order/template/entry/cart/ShowCartItems.ftl b/applications/order/template/entry/cart/ShowCartItems.ftl
index f9004fef0b..21148b084f 100644
--- a/applications/order/template/entry/cart/ShowCartItems.ftl
+++ b/applications/order/template/entry/cart/ShowCartItems.ftl
@@ -19,8 +19,8 @@ under the License.
<#-- Continuation of showcart.ftl: List of order items and forms to modify them. -->
<#macro showAssoc productAssoc>
- <#assign productAssocType = (delegator.findOne("ProductAssocType", {"productAssocTypeId" : productAssoc.productAssocTypeId}, false))/>
- <#assign assocProduct = (delegator.findOne("Product", {"productId" : productAssoc.productIdTo}, false))/>
+ <#local productAssocType = (delegator.findOne("ProductAssocType", {"productAssocTypeId" : productAssoc.productAssocTypeId}, false))/>
+ <#local assocProduct = (delegator.findOne("Product", {"productId" : productAssoc.productIdTo}, false))/>
<#if assocProduct?has_content>
| ${productAssoc.productIdTo} |
- ${(assocProduct.productName)!}(${(productAssocType.description)?default("Unknown")}) |
diff --git a/applications/order/template/entry/catalog/CategoryDetail.ftl b/applications/order/template/entry/catalog/CategoryDetail.ftl
index eb122c4558..5043e6d76d 100644
--- a/applications/order/template/entry/catalog/CategoryDetail.ftl
+++ b/applications/order/template/entry/catalog/CategoryDetail.ftl
@@ -41,7 +41,7 @@ under the License.
<#macro paginationControls>
- <#assign viewIndexMax = Static["java.lang.Math"].ceil((listSize)?double / viewSize?double)>
+ <#local viewIndexMax = Static["java.lang.Math"].ceil((listSize)?double / viewSize?double)>
<#if (viewIndexMax?int > 0)>
#macro>
diff --git a/applications/order/template/return/ReturnReportBody.fo.ftl b/applications/order/template/return/ReturnReportBody.fo.ftl
index 7b4aecba0f..5928febd22 100644
--- a/applications/order/template/return/ReturnReportBody.fo.ftl
+++ b/applications/order/template/return/ReturnReportBody.fo.ftl
@@ -18,8 +18,8 @@ under the License.
-->
<#escape x as x?xml>
<#macro displayReturnAdjustment returnAdjustment>
- <#assign returnHeader = returnAdjustment.getRelatedOne("ReturnHeader", false)>
- <#assign adjReturnType = returnAdjustment.getRelatedOne("ReturnType", false)!>
+ <#local returnHeader = returnAdjustment.getRelatedOne("ReturnHeader", false)>
+ <#local adjReturnType = returnAdjustment.getRelatedOne("ReturnType", false)!>