nadhem.rached@gmail. Posted December 22, 2020 Share Posted December 22, 2020 Hello, When i add product on the cart page the button checkout always disabled (the product added correctly to the cart ). i think the same problem whene i remove all product its normaly show me the empty-cart but the voucher bloc always existe . thnaks Link to comment Share on other sites More sharing options...
JavierP Posted December 22, 2020 Share Posted December 22, 2020 hace 5 horas, nadhem.rached@gmail. dijo: Hello, When i add product on the cart page the button checkout always disabled (the product added correctly to the cart ). i think the same problem whene i remove all product its normaly show me the empty-cart but the voucher bloc always existe . thnaks hello, provide us with some more information. Example url of your website, PS version and Template that you use to test the error you comment ... Link to comment Share on other sites More sharing options...
nadhem.rached@gmail. Posted December 22, 2020 Author Share Posted December 22, 2020 2 minutes ago, JavierP said: hello, provide us with some more information. Example url of your website, PS version and Template that you use to test the error you comment ... PS 1.7.6.1 theme i test that on default theme and same think look at the attachement , i was have a hook that i can add to cart product (when i add product the button checkout doesn't change ). i think there is a probléme on CartController because here . public function displayAjaxRefresh() { if (Configuration::isCatalogMode()) { return; } ob_end_clean(); header('Content-Type: application/json'); $this->ajaxRender(Tools::jsonEncode([ 'cart_detailed' => $this->render('checkout/_partials/cart-detailed'), 'cart_detailed_totals' => $this->render('checkout/_partials/cart-detailed-totals'), 'cart_summary_items_subtotal' => $this->render('checkout/_partials/cart-summary-items-subtotal'), 'cart_summary_subtotals_container' => $this->render('checkout/_partials/cart-summary-subtotals'), 'cart_summary_totals' => $this->render('checkout/_partials/cart-summary-totals'), 'cart_detailed_actions' => $this->render('checkout/_partials/cart-detailed-actions'), 'cart_voucher' => $this->render('checkout/_partials/cart-voucher'), ])); } everythink work fine but cart_detailed_actions not remove the old template beacause its the same think when i remove the last product from cart like the second attachement (it most remove that bloc and set the bloc cart-empty but thats not working also) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now