daverr Posted June 26, 2012 Share Posted June 26, 2012 Hi all, Another day, another question!.... I've been playing with the one page checkout option in prestashop and want to use this for my checkout process. My issue with it is the fact you have to save your address halfway down the page - it is by no means either user friendly or intuitive. I understand technically why this is set up the way it is, and have also seen plenty of other forum posts where shop owners aren't happy with this. My solution so far has been to change the text under the Choose Your Payment section to "Please click on the save button above to view payment options", but this still looks fairly poor. One solution I've thought of, which probably only requires a couple of lines of code, would be for the Delivery Methods and Payment Method boxes to be hidden, and only to appear when the address had been saved. Would anyone know how to do this? I know that there is a module you can buy, but it's a lot of money just to get round this one issue. Anyone with any ideas on how this is done would be greatly appreciated - either what i've mentioned above, or as per the paid versions, having one save button at the bottom once the shipping AND payment options had been selected. Look forward to hearing your ideas Dave Link to comment Share on other sites More sharing options...
daverr Posted June 27, 2012 Author Share Posted June 27, 2012 bump Link to comment Share on other sites More sharing options...
Daaaaad Posted August 24, 2012 Share Posted August 24, 2012 Hello daverr, I agree with you ! This "save" button is a mess for users... Up ! Link to comment Share on other sites More sharing options...
StripedElephant Posted September 21, 2012 Share Posted September 21, 2012 I also agree. Strikes me as very poor design. I know there are technical reasons for it, but every online store I've bought from handled it better than Prestashop does. Link to comment Share on other sites More sharing options...
web4infinity Posted September 21, 2012 Share Posted September 21, 2012 Check out this module Buy now button with PayPal from cart. Customer clicks only once, and by once I mean ONCE. Everything else acts as normal in the BO. Link to comment Share on other sites More sharing options...
barefoot Posted December 19, 2012 Share Posted December 19, 2012 (edited) Hi, Which version are you all using? For me, it is already implemented. You should be able to find this in /public_html/controllers/OrderOpcController.php. There is a function in there called _getPaymentMethods. In my version it checks if the address is saved and the code in my version looks like this: protected function _getPaymentMethods() { if (!$this->isLogged) return '<p class="warning">'.Tools::displayError('Please save your address to see payment methods').'</p>'; if (self::$cart->OrderExists()) return '<p class="warning">'.Tools::displayError('Error: this order is already validated').'</p>'; /* if (!self::$cart->id_customer OR !Customer::customerIdExistsStatic(self::$cart->id_customer) OR Customer::isBanned(self::$cart->id_customer)) return '<p class="warning">'.Tools::displayError('Error: no customer').'</p>'; */ Maybe you are missing this part and you should include it yourself: if (!$this->isLogged) return '<p class="warning">'.Tools::displayError('Please save your address to see payment methods').'</p>'; Hope this helps( don't forget to delete cache etc.) Edited December 19, 2012 by barefoot (see edit history) 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