iamgaurav Posted May 22, 2015 Share Posted May 22, 2015 Hi Is there a possible way to update the product unit price specifc just to a particular cart and not the global product? $cart = new Cart(); $cart->id_customer = (int)$this->context->cookie->id_customer; $cart->id_currency = 1; $cart->id_lang = 1; $cart->add(); $this->context->cookie->id_cart = (int)($cart->id); $cart->update(); $product = new Product(4305, true, (int)($this->context->cookie->id_lang)); $cart->updateQty(1,$product->id); $cart->update(); What i currently want to do is Product ID 4305 has a price of 1$ i want to add that product to User A for 50$ and for User B 60$. Is there a possible way to update the unit price of a product being added to a cart only ? Rather than updating the complete product ? Thanks 1 Link to comment Share on other sites More sharing options...
iamgaurav Posted May 23, 2015 Author Share Posted May 23, 2015 Anyone? Link to comment Share on other sites More sharing options...
peorthyr Posted June 8, 2015 Share Posted June 8, 2015 I'm interested in it too. have you find a solution? Link to comment Share on other sites More sharing options...
LauraPresta Posted June 8, 2018 Share Posted June 8, 2018 no news ? 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