• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Creating a new theme/module in bagisto 2.0

Modules
2
4
1.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ?
    A Former User last edited by 4 Dec 2023, 21:33

    Re: Adding New theme to bagisto default theme

    A lot of places are mentioning to follow the following: Create Custom Theme In Bagisto link. However I feel like this doc is outdated.

    Since in Bagisto v2.0 vite got introduced I am wondering whether someone could help out with creating a new theme the proper way. The structure of the theme.php and most other files have changed drastically compared to the old documentation.

    Similar to how Bagisto made the shop/admin into a module would this be a better approach to make the theme in a custom package/ ???

    Note: I am intending to customize the admin/shop to suit the clients needs this would go beyond simple view changes.

    p.s. the images quality on the site for creating a custom theme is very bad/unreadable.

    1 Reply Last reply Reply Quote 0
    • ghermans
      ghermans last edited by 5 Dec 2023, 10:10

      Please check https://devdocs.bagisto.com/2.x/themes/create-admin-theme.html#configuration

      Kind regards,
      Glenn Hermans

      Manager Bagisto Europe
      info@bagisto.eu

      ? 1 Reply Last reply 5 Dec 2023, 18:48 Reply Quote 0
      • ?
        A Former User @ghermans last edited by 5 Dec 2023, 18:48

        @ghermans

        Thank you for suggesting page! 😃
        There is still some room for explanations I think. Here is some feedback for maybe the next documentation update:

        Admin/Shop (Theme):

        • Example of how to include custom created files in: "public/shop/{theme}/assets/css/style.css" /
          "public/shop/{theme}/assets/js/script.js" /
          "public/shop/{theme}/assets/images/example_image.jpg/.png"
        • As mentioned earlier but there is no clear explanation on the vite {} elements. I am not too familiar with this but having examples/console commands that use vite in bagisto might be nice.
        ? 1 Reply Last reply 6 Dec 2023, 20:37 Reply Quote 0
        • ?
          A Former User @Guest last edited by 6 Dec 2023, 20:37

          For people still seeking some more help with creating a custom Theme/Module in this case.
          I've noticed the following pages that has useful information:
          Architecture Concepts
          Package Development Prerequisite
          Package Development

          My understanding of making a new theme was still the old way and wrong, until I read the docs a bit more in detail. 😥

          1 Reply Last reply Reply Quote 0
          4 out of 4
          • First post
            4/4
            Last post