xiparos Posted February 4, 2015 Share Posted February 4, 2015 Hi Prestashop members, Could you please help me deal with the following problem : Can Prestashop merge/combine Address step with Shipping step ? Precisely, when customer click checkout button in cart summary page, it redirects to the page where address informations + shipping options display, customer can verify delivery and billing addresses, choose carrier and check agreement checbox, then aheads to payment page. I've discovered some clues in OrderController.php, as in initContent() method for example. case 1: $this->_assignAddress(); $this->processAddressFormat(); if (Tools::getValue('multi-shipping') == 1) { $this->_assignSummaryInformations(); $this->context->smarty->assign('product_list', $this->context->cart->getProducts()); $this->setTemplate(_PS_THEME_DIR_.'order-address-multishipping.tpl'); } else $this->setTemplate(_PS_THEME_DIR_.'order-address.tpl'); break; case 2: if (Tools::isSubmit('processAddress')) $this->processAddress(); $this->autoStep(); $this->_assignCarrier(); $this->setTemplate(_PS_THEME_DIR_.'order-carrier.tpl'); break; I think in case 1, the method should be changed to _assignAddressAndCarrier(), in which the logic of _assignAddress() and _assignCarrier() would be called, and redirect to a template containing the content of order_address.tpl + order_carrier.tpl. Do I miss something to complete this customisation ? Thanks in advance for your advice. Best Regards Link to comment Share on other sites More sharing options...
Rixou Posted May 4, 2015 Share Posted May 4, 2015 I'm also searching how to merge/combine address shipping steps. Anyone can help? Thanks in advance Link to comment Share on other sites More sharing options...
ArthEqui Posted April 18, 2016 Share Posted April 18, 2016 Up I need it aswell, I'll search for a solution in the meantime. Link to comment Share on other sites More sharing options...
CrossY Posted April 18, 2016 Share Posted April 18, 2016 Can't you just remove the billing address options from the order-xxx.tpl files so they can't create one during check-out? Link to comment Share on other sites More sharing options...
numantahir1 Posted November 14, 2017 Share Posted November 14, 2017 I'm also searching how to merge/combine address shipping steps. Anyone can help? Link to comment Share on other sites More sharing options...
numantahir1 Posted November 15, 2017 Share Posted November 15, 2017 I have done this Option.... Link to comment Share on other sites More sharing options...
miladitman Posted July 12, 2018 Share Posted July 12, 2018 numantahir1 how to do that? i have same problem. can you help me? 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