Purpose
To provide instructions for adding new customers to the website using the designated PowerShell scripts on the DEV server.
Scope
This procedure applies to staff responsible for processing approved customer additions to the website environment.
Prerequisites
- Confirmed customer, contact, and ship-to numbers in P21.
- Support ticket submitted with all required customer information.
- Access to the DEV server and required folders.
- Credentials must be handled securely; visible handwritten credentials have been redacted from this SOP.
Procedure
- Log in to the DEV server using the appropriate authorized user account.
- Open the LevelUp folder on the desktop and navigate through the following folders:
- Calderon Ecommerce Automation
- PowerShell Modules
- Scripts
- Open PowerShell 7.
- After PowerShell loads, click and drag the scripts from the Scripts folder into the PowerShell window. Follow the required script order exactly.
- Start with the Customer Script.
- Click in the PowerShell window once the script appears.
- Use the arrow keys to move to the customer field in the script.
- Delete the existing value and replace it with the new customer ID(s).
- If entering multiple customer IDs, separate them with commas and do not include spaces.
- Press Enter after the customer ID(s) have been entered.
- When prompted, choose option 1, 2, or 3 as applicable.
- Use Option 2 for staging first.
- When the first script is complete, proceed to the next script and repeat the same update process.
- Repeat the steps above for the remaining scripts in order:
- Contact Script
- Price Script Streaming
- Verify the process completed successfully.
- Validate a record on the staging website
- Go to staging website link.
- Log in to the WordPress admin area using your authorized account.
- Navigate to Users, then select All Users.
- In the search field at the top of the Users page, enter the customer ID number or part of the customer name, then press Enter.
- Open the applicable user record.
- Confirm the customer address information and contact information are displayed correctly.
- Return to the Users page and search again for the same customer.
- Select View Pricing for the customer.
- Confirm items are displayed and that prices are listed for the customer account.
- Repeat steps 5-8 and choose option 1 for production when running the scripts
- Validate a record on the production website
- Go to production website link.
- Log in to the WordPress admin area using your authorized account.
- Navigate to Users, then select All Users.
- In the search field at the top of the Users page, enter the customer ID number or part of the customer name, then press Enter.
- Open the applicable user record.
- Confirm the customer address information and contact information are displayed correctly.
- Return to the Users page and search again for the same customer.
- Select View Pricing for the customer.
- Confirm items are displayed and that prices are listed for the customer account.
Quality / Verification
- Confirm that the correct customer IDs were entered.
- Confirm Option 2 was used for staging first when applicable.
- Confirm each required script completed without errors.
Notes
- Script order is important and should not be changed.