VTEX
Last updated
You can set up the integration with VTEX following these steps:
Check the Integrations section in order to create a new integration. You will need the URL, App Key and App Token.
Also, you can configure the synchronization times for products and customers.
Also in the Integrations section create a new integration for gopersonal Auth Web. Complete the domain with your ecommerce domain.
Check the VTEX IO documentation here. Step 4: Add your clientId in the VTEX app configurations You can get your clientId in the integration panel once created.
In your VTEX admin in the App Management section go to gopersonal App.
Open the app settings, paste the clientId and click save.
Open your admin in the Checkout section in the checkout6-custom.js
:
https://ACCOUNT.myvtex.com/admin/portal/#/sites/default/code/files/checkout6-custom.js
Add the following snippet in the file and replace "REPLACE_ME_CLIENT_ID" with your clientId:
Copy
To create the Service Worker script, follow the step-by-step instructions below:
In the VTEX Admin, go to Store Settings > Storefront > Checkout, or type Checkout in the search bar at the top of the page.
Click the icon of the desired site.
In the Code tab, click the New buttton.
Then click on File.
Fill in the file name exactly like: gp-firebase.js.
Click the Create button.
Add this code to the script:
Copy
Click the Save button.