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
 
(3 intermediate revisions by the same user not shown)
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}) while you are at the database update screen (where you select the db's to update).


<source lang="tsql">
<source lang="tsql">
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.

Latest revision as of 21:52, 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}) 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.