Bagisto Forum

    Bagisto

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

    How do we publish the default theme?

    Installing Bagisto
    2
    2
    176
    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.
    • S
      seankimball last edited by

      A fresh install, the publish option does not publish any resources

      sean@Panzer:/var/www/vhosts/2.2.3⚡ artisan bagisto:publish --force
      
      -----------------------------------------
      Publishing Core
      -----------------------------------------
      
         INFO  Publishing assets.
      
        Copying file [packages/Webkul/Core/src/Config/concord.php] to [config/concord.php] .......................................................... DONE
        Copying file [packages/Webkul/Core/src/Config/repository.php] to [config/repository.php] .................................................... DONE
        Copying file [packages/Webkul/Core/src/Config/visitor.php] to [config/visitor.php] .......................................................... DONE
        Copying file [packages/Webkul/Core/src/Config/elasticsearch.php] to [config/elasticsearch.php] .............................................. DONE
      
      
      -----------------------------------------
      Publishing Product
      -----------------------------------------
      
         INFO  No publishable resources for tag [].
      

      How do we publish the default theme? There is no velocity package (v2.2.3) and looking at the "Store" package seems to have all the view templates, there are also controllers, resource & request classes, middlewares etc - all things I would not expect to be part of a "Theme"
      While I can see the value of being able to implement middlewares/requests etc for specific themes, are all these extras required for a purely visual change?

      can the default theme be published?

      1 Reply Last reply Reply Quote 0
      • Rishabh-Webkul
        Rishabh-Webkul last edited by

        Hello @seankimball

        There is 2 packages Shop and Theme shop contains the controllers, routes, etc. and Theme contains the all the business logic regarding theme.

        And there is no need to publish a default theme this is already published.

        And if you want to create a new theme then only you need to publish the theme.

        Shop Module Path

        https://github.com/bagisto/bagisto/tree/2.2/packages/Webkul/Shop

        Theme Module Path

        https://github.com/bagisto/bagisto/tree/2.2/packages/Webkul/Theme

        Thanks & Regards

        1 Reply Last reply Reply Quote 0
        • First post
          Last post