kofa Posted February 21, 2017 Share Posted February 21, 2017 Chodzi o moduł santander pod prestą 1.6 . np forma ratalna możliwa tylko przy zamówieniu powyżej 1000. Pewnie wystarczy kilka linijek w php ale nie wiem jak się zabrać do tego. Jakieś pomysły? Link to comment Share on other sites More sharing options...
e_com Posted February 21, 2017 Share Posted February 21, 2017 W kontrolerze modułu do funkcji hookPayment($params) na początku dodaj: $cartOrderTotal = $this->context->cart->getOrderTotal(true); // false dla wartosci netto koszyka if ($cartOrderTotal < 1000) return; Link to comment Share on other sites More sharing options...
kofa Posted February 22, 2017 Author Share Posted February 22, 2017 Jestem początkujący, gdzie mam szukać tego kontrolera? Link to comment Share on other sites More sharing options...
e_com Posted February 22, 2017 Share Posted February 22, 2017 /modules/santandercredit/santandercredit.php To jest kontroler modułu. 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