jaimesks Posted February 22, 2019 Share Posted February 22, 2019 When customers want to buy the same order again, it loads them directly, I would like them to show the products in the cart HistoryController.php public static function getUrlToReorder($id_order, $context) { $url_to_reorder = ''; if (!(bool) Configuration::get('PS_DISALLOW_HISTORY_REORDERING')) { $url_to_reorder = $context->link->getPageLink('order', true, null, 'submitReorder&id_order='.(int) $id_order); } return $url_to_reorder; } 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