2

I'm create order programmaticaly, and all works fine. But i need to change shipping price. I try to:

$shippingAddress->setCollectShippingRates(true)->collectShippingRates()
->setShippingMethod('flatrate_flatrate')
->setShippingAmount('200')
->setBaseShippingAmount('200')
->setPaymentMethod('checkmo');

But in admin it still shows Shipping & Handling InformationFlat Rate - Fixed €12,230.00

1 Answer 1

1

If you need to change the shipping price for all your orders, best way to do it is to change the config on the admin panel: System->Configuration->Shipping Method->Flat Rate, the Price field.

If this is something you need for different orders, the best way to do it is to create custom shipping methods. You can see Magento's guideline to do so, or this other article which is also nice.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.