Giter Club home page Giter Club logo

checkout-timberland's Introduction

Checkout UI Settings

The Checkout UI Settings app is responsible for customizing your store's Checkout UI through scripts.

The main advantage of using the app instead of the store's admin for this customization is that your Checkout scripts will behave as configurations for platform apps.

In practice, it means that Checkout UI Settings allows A/B testing in your store's scripts, in addition to the possibility of quick rollbacks for old scripts (i.e. scripts pertaining to older Checkout UI Settings app's versions).

Configuration

  1. Using your terminal and the VTEX IO Toolbelt, log into the desired account;
  2. Run vtex list to access the list of apps that are already installed on the account you're working on. If the Checkout UI Settings option already exists, you can skip to step 7 of this step-by-step;
  3. If the Checkout UI Settings app was not found in the list of installed apps, run the vtex init command;
  4. Select the checkout-ui-settings option;
  5. Open the checkout-ui-settings app in whichever code editor you prefer;
  6. In the manifest.json file, change the predefined default value vendor to the name of the account in which you want to install the app;
  7. In the checkout-ui-custom folder, create the files in which the scripts will be included, just as you would do in the admin's interface. Notice that a few defaults files already exist in the checkout-ui-custom folder, files which you can use to insert the scripts;
  8. According to the Checkout customization you are looking for, open the most suitable file and insert the desired scripts;
  9. Save your changes. Then, publish the app's new version;
  10. Still logged into the desired account, create a production workspace and install the app;
  11. If everything is working as expected, promote the workspace to master.

Modus Operandi

Once the app is deployed and installed in the account, every scripts contained in it will be automatically linked to your store and used to build the templates to customize your Checkout.

โš ๏ธ Scripts used by Checkout are linked to the Checkout UI Settings version that's installed in your store. If a prior app version was already installed and your want to change the scripts linked to it, you'll need to repeat the already existing code and thereafter launch the app's new version containing the changes you just did. Housekeeper is responsible for updating app versions in the accounts it's installed in.

checkout-timberland's People

Contributors

claudiu-iviteb avatar gabiiviteb avatar gabidanciu avatar dragosgratianu avatar

Watchers

James Cloos avatar Cristi Milea avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.