I have the following question: when making changes to the custom checkout interface — more specifically, adding custom code in the “javascript” tab — if this is done in a test workspace, will publishing it impact the master?
Hi @falmeidaco, how’s it going?
I believe you’re talking about Checkout UI, right? VTEX states the following:
Modus Operandi
If you access your VTEX account’s admin using a Development workspace and publish your changes, the configurations performed using the app will only be applied into the workspace you are working in and not in your store Checkout.
However, notice the following: you should not perform any changes in your account’s Master workspace to make your Checkout UI configurations publicly available. Instead, you should use a Development workspace and the History tab displayed on the admin app.
The History tab enables you to load app change history and, therefore, helps your checkout UI coding by reusing configurations performed in previous workspaces.
Let’s assume you were working in a Development workspace called testredcolor, and now want your changes to be public. According to how workspaces work in the platform, your changes first need to be applied in a Production workspace that, in turn, will be promoted to Master later.
For this purpose, you can access the History tab using the desired Production workspace, load your last changes from testredcolor and then click on Publish, copying your configurations to the Production workspace you are currently working in.
You can find more details here: https://developers.vtex.com/docs/apps/vtex.checkout-ui-custom
I hope this information helps you out.
Best,
Estevão.