30ml Posted September 15, 2013 Share Posted September 15, 2013 hi, I am on module development process. Currently I am hang on find out product ID. Here, I have customer id and order id. Through this customer id or order id I want to find out product ID. How can I get product ID ? I have tried on OrderCore and ProductCore Class but I could not find out. Thanks !! Link to comment Share on other sites More sharing options...
Vinum Posted September 15, 2013 Share Posted September 15, 2013 Hi, All depends on what you want to do exactly. It is necessary to say more if you want a reply. Link to comment Share on other sites More sharing options...
Mr S Posted September 15, 2013 Share Posted September 15, 2013 from file: /classes/order/Order.php Order::getProducts()Order::getOrderDetailList() Would this work? Link to comment Share on other sites More sharing options...
30ml Posted September 15, 2013 Author Share Posted September 15, 2013 (edited) I do know if we can get product id from Order::getProducts() and Order::getOrderDetailList() methods from customer id/ order id but ya we can find product id from cart id. However this is solution for me. Here, I have done with OrderCore::getOrderByCartId($orderlist['id_cart']); Here, $orderlist is the array of product list with detail information Edited September 15, 2013 by 30ml (see edit history) 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