KoreLewi Posted September 17, 2021 Share Posted September 17, 2021 Hi! I want to create a "quick checkout" functionality for my 1.7.7 Prestashop. I have added a button to the product page which, which opens a popup where I enter some information to place my order. The problem I ran into was that nowhere do I find what steps I should follow. As I think: Add product to cart on button click Open popup: enter customer data -> create customer (i have call an ajax frontcontroller) how can i add the new customer to context and context->cart? how do i link the cart to the customer? is enough this line: $this->context->cart->id_customer = $customer->id? Same for the address. What should the new address be connected with? And how? Is it enough to add to the address the $address->id_customer? Not to mention the delivery methods and the shipping methods .. Based on my memories, there was a module called ps_checkout in an older version where they were in one place. But now I can't find it anywhere. I hope someone can help, even someone who has already created a checkout module on the order in which the steps should be performed. Thank you! Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 20, 2021 Share Posted September 20, 2021 We suggest using a module to add the mentioned functionality at your store. Modules Links for your reference: https://addons.prestashop.com/en/search?search_query=smart checkout 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