wiros Posted September 30, 2022 Share Posted September 30, 2022 When I try to change the invoice or delivery address in an order via the Back office, I get this error when I try to save the changes: Attempted to call an undefined method named "getOrderPrice" of class "PrestaShop\PrestaShop\Adapter\Product\PriceCalculator". [Symfony\Component\Debug\Exception\UndefinedMethodException 0] Any Suggestions? Link to comment Share on other sites More sharing options...
PrestaServicePro Posted September 30, 2022 Share Posted September 30, 2022 Hello, go to this path and check if the method exists or not, if yes then can be you used a module and this file override and the method is not in this override. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted September 30, 2022 Share Posted September 30, 2022 You can also change the invoice address using Datbase and coding 1. Database, directly update the id_address_delivery in orders table 2. Create object of that order and update the value like $order = new Order(order-id); $order->id_address_delivery = delivery address; $order->save(); 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