Andreea Posted June 4, 2020 Share Posted June 4, 2020 Buna ziua, Doresc ca pentru facturile care depasesc suma de 5000 lei sa dezactivez metoda de plata ramburs. Imi poate oferi cineva o solutie in acest sens? Andreea Link to comment Share on other sites More sharing options...
lightsb Posted June 4, 2020 Share Posted June 4, 2020 Buna, in folderul vei gasi fisierul: /modules/ps_cashondelivery/ps_cashondelivery.php la linia 94 vei gasi: if ($this->hasProductDownload($params['cart'])) { va trebui sa o schimbi cu aceasta: if ($this->hasProductDownload($params['cart']) || $params['cart']->getOrderTotal() > Tools::convertPrice(5000, $params['cart']->id_currency)){ ar trebui sa o comentezi linia veche iar sub .. sa o pui pe cea noua: //if ($this->hasProductDownload($params['cart'])) { Link to comment Share on other sites More sharing options...
Andreea Posted June 5, 2020 Author Share Posted June 5, 2020 Multumesc Functioneaza perfect. O zi frumoasa 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