ForthRight Posted December 4, 2019 Share Posted December 4, 2019 Hello, I would like to get shipping postalcode on getDeliveryPriceByWeight() function in classes/Carrier.php ? I tried $cart=new Cart(); $delivery_new = new Address((int)$cart->id_address_delivery); $shipping_postcode = $delivery_new->postcode; and $cart = new Cart(); $id_address = $cart->id_address_delivery; if ($id_address) $shipping_postcode=self::getPostcodeByAddress($id_address); but none of them works Could you please help me? Sorry for my english 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