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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -