Jump to content

How to manipulate the cart


jerem_

Recommended Posts

Hello !

I'd like to manipulate the cart object... change the total price of a product line etc.
How can i do that ?

I try to do get products using
$this->context->cart->getProducts()
but then i don't know how to edit datas as total or total_wt.... cause i only get an array and i'm not sure i can edit cart products this way :(

Thanks for any help !

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...