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

Bagisto

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

Featured Products View File not Found

General Discussion
3
12
3.3k
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.
  • _
    _developer_12 last edited by 30 May 2020, 08:57

    Hi Shubham,

    Thanks for reply. We have done things at our local server.

    We are using a shared server for now and uploading things so for. We have uploaded all "packages/Webkul/Velocity" folder but it's not effective online.

    Please suggest to upload npm updates to online.

    1 Reply Last reply Reply Quote 0
    • O
      otheriz last edited by otheriz 30 May 2020, 16:18 30 May 2020, 16:13

      Hi @shubhwebkul ,

      currently i have this issue too, why doesn't it use the card.blade.php template like the others ?
      (it already there on the views folder)
      instead, it is compiled in the .js..

      Is it possible to make it to refer to the blade template ?

      maybe bagisto team have their own reason to use the .js instead of the blade template.
      is it the performance related or something ? just curious..

      1 Reply Last reply Reply Quote 0
      • shubhwebkul
        shubhwebkul last edited by 1 Jun 2020, 06:11

        @_developer_12
        make sure of following
        Have you added velocity's provider inside app.php resides under config directory ?
        Have you executed php artisan vendor:publish command ?

        1 Reply Last reply Reply Quote 0
        • shubhwebkul
          shubhwebkul last edited by shubhwebkul 1 Jun 2020, 06:14 1 Jun 2020, 06:13

          @otheriz
          We've tried to ajaxify things, so whenever product card is rendered, it's mostly fetched from ajax that's why instead of fetching html of card we've passed product details to the product card component.

          1 Reply Last reply Reply Quote 0
          • _
            _developer_12 last edited by 1 Jun 2020, 14:09

            Velocity's provider inside the app.php. It was there. So done.
            We got able to run following command

            php artisan vendor:publish --all

            But nothing updated. We have clear cache but its not effected.
            Please suggest.

            1 Reply Last reply Reply Quote 0
            • shubhwebkul
              shubhwebkul last edited by 1 Jun 2020, 18:08

              What you see inside directory /resources/themes/velocity ?

              1 Reply Last reply Reply Quote 0
              • _
                _developer_12 last edited by 2 Jun 2020, 05:42

                We have changed theme path in "config/themes.php" to package velocity folder as:

                'velocity' => [
                'views_path' => 'packages/Webkul/Velocity/src/Resources/views/shop',
                'assets_path' => 'public/themes/velocity/assets',
                'name' => 'Velocity',
                'parent' => 'default'
                ],

                directory /packages/Webkul/Velocity/ showing following files and folders:

                1. webpack.mix.js
                2. package.json
                3. composer.json
                4. .gitignore
                5. src (folder)
                6. publishable (folder)
                7. node_modules (folder)

                Directory /resources/themes/velocity showing the following folder only:

                1. view

                This the scenario, Please guide on this.

                1 Reply Last reply Reply Quote 0
                • shubhwebkul
                  shubhwebkul last edited by 3 Jun 2020, 11:00

                  Have you tried changing views_path to resources/themes/velocity/views directory ?

                  1 Reply Last reply Reply Quote 0
                  • _
                    _developer_12 last edited by 3 Jun 2020, 14:03

                    At our local setup its working fine after run following command:

                    npm i
                    npm run watch

                    The changes reflected o the home page. ut it's not working on live side.

                    We have not changed anything at the following path
                    resources/themes/velocity/views

                    Please suggest.

                    Also, can you covey what is the difference (concept) to have velocity theme at the root level (/resources/themes/velocity) and package (/packages/Webkul/Velocity/) both side?

                    1 Reply Last reply Reply Quote 0
                    • shubhwebkul
                      shubhwebkul last edited by shubhwebkul 4 Jun 2020, 06:06 4 Jun 2020, 06:04

                      Please raise a ticket here and provide ssh details, we'll surely resolve the issue.

                      Thanks!

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