VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: brassens on April 18, 2016, 13:24:14 PM

Title: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: brassens on April 18, 2016, 13:24:14 PM
Hello,
The shipment methods are missing after upgrade from VM2.6.12 to VM3.0.14. All prices of shipments are empty (=0). I have a clon of my web. Changes ara made not in a live web. How I can recover the shipment methods and cost of shipments?
Excuse my English
Thanks and kind regards
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: GJC Web Design on April 18, 2016, 13:30:43 PM
which shipping methods?

the standard VM weight/postcode will migrate but if your using 3rd party u will need VM3/J3 compatible
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: brassens on April 20, 2016, 09:05:23 AM
Hello, I use the standar method: VM-Shipment-byWeight-ZIP and Countries. I explain better. The shipment methods are migrated ok except the cost of shipment. All shipments are cost=0.  (Today I update to VM 3.0.16 in order to see if with the new version this is solved, but the problem is the same: All shipments are cost 0.) Thanks and Kind regards.
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: GJC Web Design on April 20, 2016, 09:20:13 AM
so the shipment_cost column is 0 in the #_virtuemart_shipment_plg_weight_countries ?

Then you have to re enter the values in the methods
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: brassens on April 20, 2016, 11:27:57 AM
In a database #_virtuemart_shipment_plg_weight_countries, the shipment_cost column is not 0 in all shipments. In a database the cost is correct. But in the BackEnd of Virtuemart all shipment cost are 0. Thanks and Kind regards
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: GJC Web Design on April 20, 2016, 23:23:28 PM
sorry.. that table has nothing to do with it.. was sleeping..  :(

the table is #__virtuemart_shipmentmethods where u look and the ship cost is in the shipment_params like

shipment_logos=""|show_on_pdetails="0"|categories=""|blocking_categories=""|countries=""|zip_start=""|zip_stop=""|weight_start=""|weight_stop=""|weight_unit="KG"|nbproducts_start=0|nbproducts_stop=0|orderamount_start="499.99"|orderamount_stop=""|shipment_cost="10.00"|package_fee=""|tax_id="0"|free_shipment=""|
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: brassens on April 21, 2016, 08:50:24 AM
Hello. I look In  the table #__virtuemart_shipmentmethods and the ship cost is in the shipment_params and they are different name of labels between the id_shipmentmethods new that runs ok and the existing id_shipmentmethods. The difference is that:

Name_field in a new that runs ok: shipment_cost
Name_field in existing shipment method: cost (Not run)

I have changed in one existing shipment method cost to shipment_cost and then it runs ok.

What I can do to solve it in all existing shipment methodes? Thanks and Kind regards

(Note: Yesterdat I was update to Virtuemart 3.0.16)
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: GJC Web Design on April 21, 2016, 09:18:05 AM
are u sure u updated the VM AIO to 3.0.16?

or simply export the table.. in a good text editor do a search and replace of the 'cost' / 'shipment_cost' on the sql file , drop or rename the existing table and import your edited sql file
Title: Re: Missing shipment methods after upgrade from VM2.6.12 to VM3.0.14
Post by: brassens on April 21, 2016, 10:30:40 AM
Hello. Yes. I'm sure that I updated to VirtueMart 3.0.16 and the problem not solved after update. I will try to do this that you suggest and I will inform you. Thanks.