Adding or Updating UI

Changing the UI by scripts

Sometimes you might want to change the UI in the storefront. You can achieve it by the javascript that being injected into storefront.

But first, you need to identify the followings

  1. the position you want to add the UI
  2. the existing UI that you want to modify

Once you have identify the above two things, you can select them via CSS selector and do whatever you want with the javascript!

We are organising more documentations in regard to the HTML structure of the storefront. You can reference to this documentations later to find the UI elements more conveniently.

At the moment, you might need to to inspect the storefront with Chrome Developer Tools to find the ID of the UI elements

If you need support, please contact us.