Dynamic Reorder Function Upgrade for PrestaShop

via Freelancer ·

Budget / Salary$10–30
TypeFreelance project
LocationRemote
Posted1 hour ago
I’m using PrestaShop and the native “Reorder” functionality is already enabled and working correctly.

The reorder button/function already exists, and I have already created and placed the banner/button on the homepage. So there’s no need to build or redesign the button itself.

What I need is basically:

Make the homepage banner/button automatically load the last order of the currently logged-in customer. It should not use a fixed id_order, since that would load the same order for everyone.
If the customer is not logged in, ask them to log in and then load their last order.
If they don’t have an account, ideally send them to registration.
Show a simple “Order loaded successfully” pop-up/message after the order has been loaded, so the customer knows it worked.
After loading the order, do not redirect the customer to checkout, as the native reorder function currently does. Keep the customer on the homepage with the products loaded into the cart, so they can review the order and add or remove products before continuing.

The existing native PrestaShop reorder functionality should be reused wherever possible. The main goal is simply to make it work dynamically from the homepage based on the logged-in customer’s last order.
php javascript prestashop html web development backend development frontend development api integration
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.