Jump to content

How To Get Order Details?


victorgh

Recommended Posts

I get the address delivery like name, first name, address, postcode whits this code:

 $address = new Address($this->context->cart->id_address_delivery);
        $state = new State ($address->id_state);
        $country = new Country ($address->id_country);

And i can print with this

   echo $address->firstname;
        
        echo $address->lastname;

        echo $address->city;

        echo $address->phone;

        echo $address->postcode;

But now i want to get order details like product name, quantity and weight, how can get this?

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...