svn commit: r1856802 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1856802 - /ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl

jleroux@apache.org
Author: jleroux
Date: Tue Apr  2 07:52:53 2019
New Revision: 1856802

URL: http://svn.apache.org/viewvc?rev=1856802&view=rev
Log:
Fixed: Error message is displayed in shopping cart when click on recalculate
cart link
(OFBIZ-10852)

Login with valid username and password.
Navigate to ecommerce.
Add multiple product in shopping cart.
Select one product and click on remove selected.
Product should be removed.
Select another product and click on recalculate cart.

Expected result: Product should be recalculate.
Actual result: Error message is displayed as 404. Screen print attached

jleroux: I did not see the error message but the fix makes sense anyway

Thanks: Ashish Sharma for report Sasikant Biswal for the fix

Modified:
    ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl

Modified: ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl?rev=1856802&r1=1856801&r2=1856802&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl (original)
+++ ofbiz/ofbiz-plugins/trunk/ecommerce/template/cart/ShowCart.ftl Tue Apr  2 07:52:53 2019
@@ -139,7 +139,7 @@ under the License.
             </a>-->
         <#if (shoppingCartSize > 0)>
           <li class="list-inline-item">
-          <a href=";">
+          <a href="javascript:document.cartform.submit();">
             ${uiLabelMap.EcommerceRecalculateCart}
           </a>
           </li>