jaygodog Posted April 13, 2010 Share Posted April 13, 2010 Just trying to work this one out,hope maybe someone could give me a few pointersIf my cart total goes over 500 euros I'd like to do disablethe ability to pay by paypal at the end of checkouthowever under 500 no problem to use paypalI've been looking at doing a test on the cart value in the paypal.php fileif cart_value <500 public function hookPayment($params) { global $smarty; $address = new Address(intval($params['cart']->id_address_invoice)); $customer = new Customer(intval($params['cart']->id_customer)); $business = Configuration::get('PAYPAL_BUSINESS'); $currency = $this->getCurrency();else ....no paypalanyone shine a torch for me here :-) much appreciatedjaygo Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 16, 2013 Share Posted April 16, 2013 Hey jaygo, you should try out Emmanuel's module. It is compatible with the newest version of PrestaShop. 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