Updating Shipping Rates: Difference between revisions

From NewHaven Software Wiki
Jump to navigationJump to search
Russ horton (talk | contribs)
No edit summary
Russ horton (talk | contribs)
No edit summary
Line 8: Line 8:
INPUT INTO SHIPDEFAULTS (shipdefaultsid,description,defaultvalue) FROM C:\TEMP\SHIPDEFAULTS.CSV
INPUT INTO SHIPDEFAULTS (shipdefaultsid,description,defaultvalue) FROM C:\TEMP\SHIPDEFAULTS.CSV


NOTE: 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.
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.
</source>
</source>


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.
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.

Revision as of 21:11, 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.

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.