diff --git a/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml b/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml index 3c830822b0..c3ff2418d0 100644 --- a/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml +++ b/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml @@ -430,73 +430,6 @@ under the License. - - - - - - - - - - - - - - - - - - - - @@ -512,7 +445,6 @@ under the License. - @@ -850,56 +782,6 @@ under the License. - - - - - - + - Personal Info + onclick="javascript:submitForm(document.${parameters.formNameValue?if_exists});"#if>>Personal Info <#if (enableShippingAddress)?exists> - Shipping Address + onclick="javascript:submitForm(document.${parameters.formNameValue?if_exists});"#if>>Shipping Address <#else> Shipping Address #if> <#if (enableShipmentMethod)?exists> - Shipping Options + onclick="javascript:submitForm(document.${parameters.formNameValue?if_exists});"#if>>Shipping Options <#else> Shipping Options #if> <#if (enablePaymentOptions)?exists> - Payment Options + onclick="javascript:submitForm(document.${parameters.formNameValue?if_exists});"#if>>Payment Options <#else> Payment Options #if> <#if (enablePaymentInformation)?exists> - Payment Information + onclick="javascript:submitForm(document.${parameters.formNameValue?if_exists});"#if>>Payment Information <#else> Payment Information #if> <#if (enableReviewOrder)?exists> - Review Order + onclick="javascript:submitForm(document.${parameters.formNameValue?if_exists});"#if>>Review Order <#else> Review Order #if> diff --git a/applications/ecommerce/webapp/ecommerce/order/checkoutreview.ftl b/applications/ecommerce/webapp/ecommerce/order/checkoutreview.ftl index 51bd34ed35..49db509a57 100644 --- a/applications/ecommerce/webapp/ecommerce/order/checkoutreview.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/checkoutreview.ftl @@ -22,9 +22,9 @@ under the License. if (clicked == 0) { clicked++; //window.location.replace("<@ofbizUrl>processorder@ofbizUrl>"); - document.processForm.processButton.value="${uiLabelMap.OrderSubmittingOrder}"; - document.processForm.processButton.disabled=true; - document.processForm.submit(); + document.${parameters.formNameValue}.processButton.value="${uiLabelMap.OrderSubmittingOrder}"; + document.${parameters.formNameValue}.processButton.disabled=true; + document.${parameters.formNameValue}.submit(); } else { alert("You order is being processed, this may take a moment."); } @@ -45,7 +45,7 @@ under the License. - + <#if (requestParameters.checkoutpage)?has_content> #if> diff --git a/applications/ecommerce/webapp/ecommerce/order/custsettings.ftl b/applications/ecommerce/webapp/ecommerce/order/custsettings.ftl index 4388f1e1f6..32bc76ea66 100644 --- a/applications/ecommerce/webapp/ecommerce/order/custsettings.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/custsettings.ftl @@ -19,7 +19,7 @@ under the License. ${uiLabelMap.PartyBasicInformation} - + diff --git a/applications/ecommerce/webapp/ecommerce/order/genericaddress.ftl b/applications/ecommerce/webapp/ecommerce/order/genericaddress.ftl index db226e943c..16924e9db0 100644 --- a/applications/ecommerce/webapp/ecommerce/order/genericaddress.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/genericaddress.ftl @@ -66,8 +66,7 @@ under the License. disabled#if>> <#if (parameters.stateProvinceGeoId)?exists> - <#assign findGeoMap = Static["org.ofbiz.base.util.UtilMisc"].toMap("geoId", parameters.stateProvinceGeoId)> - <#assign stateGeo = delegator.findByPrimaryKeyCache("Geo", findGeoMap)> ${parameters.stateProvinceGeoId} + ${parameters.stateProvinceGeoId} --- <#else> ${uiLabelMap.PartyNoState} diff --git a/applications/ecommerce/webapp/ecommerce/order/optionsettings.ftl b/applications/ecommerce/webapp/ecommerce/order/optionsettings.ftl index 2fa9532c5d..56b57771b1 100644 --- a/applications/ecommerce/webapp/ecommerce/order/optionsettings.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/optionsettings.ftl @@ -20,7 +20,7 @@ under the License. ${uiLabelMap.OrderShippingInformation} - + <#list carrierShipmentMethodList as carrierShipmentMethod> diff --git a/applications/ecommerce/webapp/ecommerce/order/paymentinformation.ftl b/applications/ecommerce/webapp/ecommerce/order/paymentinformation.ftl index 92a4646c26..a5a0583008 100644 --- a/applications/ecommerce/webapp/ecommerce/order/paymentinformation.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/paymentinformation.ftl @@ -39,28 +39,28 @@ function shipBillAddr() { <#-- after initial screen; show detailed screens for selected type --> <#if paymentMethodTypeId?if_exists == "CREDIT_CARD"> <#if creditCard?has_content && postalAddress?has_content && !requestParameters.useShipAddr?exists> - + <#elseif requestParameters.useShipAddr?exists> - + <#else> - + #if> #if> <#if paymentMethodTypeId?if_exists == "EFT_ACCOUNT"> <#if eftAccount?has_content && postalAddress?has_content> - + <#elseif requestParameters.useShipAddr?exists> - + <#else> - + #if> #if> <#if paymentMethodTypeId?if_exists == "GIFT_CARD"> <#--Don't know much how this is handled --> - + #if> <#if requestParameters.singleUsePayment?default("N") == "Y"> diff --git a/applications/ecommerce/webapp/ecommerce/order/paymentoptions.ftl b/applications/ecommerce/webapp/ecommerce/order/paymentoptions.ftl index 239dfc748f..f1a5f1aa7d 100644 --- a/applications/ecommerce/webapp/ecommerce/order/paymentoptions.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/paymentoptions.ftl @@ -22,7 +22,7 @@ under the License. <#-- initial screen show a list of options --> - + <#if productStorePaymentMethodTypeIdMap.GIFT_CARD?exists> diff --git a/applications/ecommerce/webapp/ecommerce/order/shipsettings.ftl b/applications/ecommerce/webapp/ecommerce/order/shipsettings.ftl index fa15c29aa6..cd31699def 100644 --- a/applications/ecommerce/webapp/ecommerce/order/shipsettings.ftl +++ b/applications/ecommerce/webapp/ecommerce/order/shipsettings.ftl @@ -19,7 +19,7 @@ under the License. ${uiLabelMap.OrderShippingInformation} - + diff --git a/applications/ecommerce/widget/OrderScreens.xml b/applications/ecommerce/widget/OrderScreens.xml index 8cdf1e5b88..89f68fe12b 100644 --- a/applications/ecommerce/widget/OrderScreens.xml +++ b/applications/ecommerce/widget/OrderScreens.xml @@ -91,6 +91,7 @@ under the License. + @@ -110,6 +111,7 @@ under the License. + @@ -129,6 +131,7 @@ under the License. + @@ -148,6 +151,7 @@ under the License. + @@ -168,6 +172,7 @@ under the License. + @@ -187,6 +192,7 @@ under the License. +