Zodiack Posted August 5, 2009 Share Posted August 5, 2009 Hey Guys!A little question here, when i'm close to finsih the shop and put it online.Due to the payment module I'm using, I'll need to change the order number generated to the id number of the shopping cart.The reason why is that my payment module are using shopping cart id for identifying orders while Prestashop uses order_id.Anyone know how to change the order number generated to be the id of the shopping cart.Best RegardsChris Link to comment Share on other sites More sharing options...
ningu Posted August 6, 2009 Share Posted August 6, 2009 You have the function Order::getOrderByCardId($id_cart) to retrieve the order associated to the card.Normally, no need to have the same Id for cart and order : they are 2 different object, so 2 different Ids 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