Updating Shipping Rates

From NewHaven Software Wiki

Jump to: navigation, search

It's possible to update the shipping rates in CMS without installing an update. This can be done with SQL inputs using the files that the installer uses. Statements are below. The files referenced here must be obtained from Dev or can be pulled from the %temp% directory (e.g. C:\Users\RUSSHO~1\AppData\Local\Temp\{8C2B21D6-A9F2-4AD9-89A0-162571D179E8}) while you are at the database update screen (where you select the db's to update).

DELETE FROM SHIPRATES;
INPUT INTO SHIPRATES FROM C:\TEMP\SHIPRATES.DAT;
 
DELETE FROM SHIPDEFAULTS;
INPUT INTO SHIPDEFAULTS (shipdefaultsid,description,defaultvalue) FROM C:\TEMP\SHIPDEFAULTS.CSV
 
WARNING: The latter query will overwrite any rates manually SET in CMS Setup so you should confirm the USER has not explicitly SET those rate overrides BEFORE running the SQL.

Note that CMS updates may contain other related updates like new shipping methods, changes to existing shipping options, and/or shipping integration changes that would not be encompassed by these rate only inputs.

Personal tools