Updating Shipping Rates

From NewHaven Software Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
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.
+
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})
<source lang="tsql">
<source lang="tsql">

Revision as of 21:49, 3 June 2015

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})

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