i've successfully created an order programatically, the problem is i can only use shipping method which already exist like 'flatrate_flatrate' and 'freeshipping_freeshipping' like this:

$this->_shippingMethod = 'flatrate_flatrate';
$this->_shippingMethod = 'freeshipping_freeshipping';


i want to add shipping with custom shipping price,title, and carrier method title for my order.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.