php - reorder not setting the shipping method used last time -
I want to reorder a product program, I follow the answer: but I get an error message
Please specify a shipping method.
Why is not it set up the previously used shipping method?
Still do not know if this is the shipping method Why does not I have the necessary code to add this to work below:
$ reorder-> getQuote () - & gt; getShippingAddress () - & gt; Setting mode ($ order-> getShippingMethod ()) - & gt; Setting Shipping Rights (True) - & gt; Assemble Shipping Rights () - & gt; Collected Totals () - & gt; Save ();
Comments
Post a Comment