Customizing Default Seed Data for Themes

⌘K
  1. Home
  2. Docs
  3. MultiSaas – Multi-T...
  4. Developer Documentation
  5. Customizing Default Seed Data for Themes

Customizing Default Seed Data for Themes

📝 Theme Seeder Content
Each theme can include default content that is automatically added to the tenant’s website when the theme is activated. This content can include things like menus, pages, and settings, helping to set up the website quickly based on the theme’s design.

First, view all the widgets and select the one you want to set as default for all users.

Then go to the following path and find the corresponding file.There may be hundreds of widgets, so look for the one that matches the widget name.
Themes Directory: assets > tenant > page-layout > widgets.json

We selected this block because its widget name matches.

{
  "data": [
    {
      "id": 30,
      "widget_area": null,
      "widget_order": 4,
      "widget_location": "footer_job",
      "widget_name": "TenantFooterCustomLink", //Footer Custom Link widget name
      "widget_content": {
        "id": "30",
        "widget_name": "TenantFooterCustomLink",
        "widget_type": "update",
        "widget_location": "footer_job",
        "widget_order": "3",
        "title_en_US": "About Testing",
        "title_azb": "معلومات عنا",
        "custom_link_widget_repeater": {
          "repeater_title_en_US": [
            "Wishlist",
            "Shop Cart",
            "Checkout"
          ],
          "repeater_url_en_US": [
            "#",
            "#",
            "#"
          ],
          "repeater_title_azb": [
            "قائمة الرغبات",
            "قائمة الرغبات",
            "قائمة الرغبات"
          ],
          "repeater_url_azb": [
            "#",
            "#",
            "#"
          ]
        }
      },
      "created_at": "2023-05-21 15:40:11",
      "updated_at": "2023-05-21 15:40:11"
    }
  ]
}

This block is responsible for displaying the “About Testing” section in the footer.

If we want to remove the word “Testing” from it

{
  "data": [
    {
      "id": 30,
      "widget_area": null,
      "widget_order": 4,
      "widget_location": "footer_job",
      "widget_name": "TenantFooterCustomLink",
      "widget_content": {
        "id": "30",
        "widget_name": "TenantFooterCustomLink",
        "widget_type": "update",
        "widget_location": "footer_job",
        "widget_order": "3",
        "title_en_US": "About", // if we change here, remove Testing 
        "title_azb": "معلومات عنا",
        "custom_link_widget_repeater": {
          "repeater_title_en_US": [
            "Wishlist",
            "Shop Cart",
            "Checkout"
          ],
          "repeater_url_en_US": [
            "#",
            "#",
            "#"
          ],
          "repeater_title_azb": [
            "قائمة الرغبات",
            "قائمة الرغبات",
            "قائمة الرغبات"
          ],
          "repeater_url_azb": [
            "#",
            "#",
            "#"
          ]
        }
      },
      "created_at": "2023-05-21 15:40:11",
      "updated_at": "2023-05-21 15:40:11"
    }
  ]
}

It will remove that default word “Testing” from the footer.

It ensures the tenant’s site is ready to use immediately after selecting a theme, offering a functional and visually complete layout without requiring manual setup. This also helps showcase the full potential of the theme right from the start.

Was this article helpful to you? No Yes

How can we help?