Created
February 26, 2015 07:20
-
-
Save aamnah/e94d27812c02e905fa02 to your computer and use it in GitHub Desktop.
MySQL command to Update Store Details for all existing Orders in an Opencart store
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update store_id, store_name and store_url for all existing orders | |
##################################################################### | |
# store_id can be checked with `SELECT * FROM oc_store`. Default store = 0 | |
UPDATE oc_order SET store_id=0, store_name="Store Name", store_url="http://domain.com"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment