Skip to main content

Editing a Theme

The Fynd Commerce allows multiple sellers to collaborate on editing themes and managing the appearance of their sales channel. When multiple users simultaneously edit the same page within a theme, changes made by one user in any section of the page can be overwritten if another user, whether they have made different changes or no changes at all, saves the page. This can lead to data loss and inconsistent content updates. For ensuring smooth collaboration while editing a theme, permissions and access management are carefully structured.

Theme Permissions

Theme Collaborator They can create, edit, and delete pages or components within the storefront website using the theme editor. While collaborators can make changes to the theme, they DO NOT have the permission to publish the final theme. They are limited to saving and editing drafts or contributing updates to the theme.

Theme Approver: They have full control over the theme, including the ability to publish changes. This means they can not only make edits like the theme collaborator but can also finalize those changes by pushing them live to the storefront. They can override current editors (including collaborators) and take control of a theme if necessary. This ensures that high-priority changes can be made and published without waiting for the current editor's approval.

Theme collaborators can edit themes but cannot publish them, while theme approvers have the power to publish the final theme and can override other editors if needed.

Permission Settings

How to access on Fynd Platform

Within the Team section of the Fynd Platform, users can manage access and permissions related to theme settings for the sales channel. You can assign different roles, such as Theme Approver or Theme Collaborator, based on the responsibility of the team member.

QG1

Figure 1: Permissions for Themes Settings

Locking Mechanism for Theme Editor

This mechanism will ensure that only one user can actively make changes to a specific theme page at a time, reducing the risk of overwritten changes.

  1. Single User, Same Tab: A user is prevented from editing the same page of a theme in multiple tabs within the same browser.
  2. Single User, Same Window: A user cannot edit the same theme page across multiple windows, even in the same browser (including incognito tabs).
  3. Same User, Different Machines: A user cannot edit the same theme page on multiple devices or machines simultaneously.
  4. Multiple Users: Different users are prevented from editing the same theme page across different browser windows, tabs, or machines.

Request Access Mechanism

When one user is editing a theme, they become the current editor for that theme. Any other user trying to access the same theme will encounter specific scenarios depending on their role.

Second User is a Theme Collaborator

The page is locked and the collaborator must request access to edit the page if it's currently being edited by another user.

QG1

Figure 2: Request Access

The current editor will receive a notification requesting them to either:

  • Continue editing: The current editor can decline the request and keep editing.
  • Save and grant access: The current editor can save their work and hand over access to the new user.
  • Discard and Grant Access: If the current editor doesn’t need to save their changes, they can discard their work and allow the new user to take over immediately.

QG1

Figure 2: Request Notification

Second User is a Theme Approver

An approver can override the current editor and immediately gain access to the theme without needing the current editor’s permission.

QG1

Figure 1: Gain Access

However, the current editor will still receive a notification when this happens and will have a 60-second window to either save or discard their changes.

QG1

Figure 1: Access Window

QG1

Figure 1: Access Window

Meanwhile, the approver must also wait 60 seconds to allow the current user to either save or finalize their changes.

QG1

Figure 1: Tab Locked


Was this section helpful?