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

Bagisto

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

Api for multivendor sellers

General Discussion
2
14
877
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.
  • C
    cmpengineers last edited by cmpengineers 9 Dec 2019, 10:40 9 Dec 2019, 10:07

    Hello

    im trying to create api end for showing all sellers but some errors happen not sure why its not reconizing the controller ?

    Screen Shot 2019-12-09 at 1.39.27 PM.png

    Screen Shot 2019-12-09 at 1.39.11 PM.png

    Best regards

    1 Reply Last reply Reply Quote 0
    • R
      rahul last edited by 9 Dec 2019, 11:11

      Hi @cmpengineers

      Kindly run - composer dump-autoload , then check.

      Thanks

      1 Reply Last reply Reply Quote 0
      • C
        cmpengineers last edited by 9 Dec 2019, 11:33

        @rahul

        Thanks much appreciate , i did composer dump-autoload still giving me same error

        Screen Shot 2019-12-09 at 2.31.58 PM.png

        Best regards

        1 Reply Last reply Reply Quote 0
        • R
          rahul last edited by 9 Dec 2019, 11:41

          Hi @cmpengineers

          Can you check your route to see path of your controller after running command - php artisan route:cache

          Thanks

          1 Reply Last reply Reply Quote 0
          • C
            cmpengineers last edited by cmpengineers 9 Dec 2019, 11:47 9 Dec 2019, 11:46

            @rahul

            i did clear still same error and also when i tried php artisan route:list it give me same error

            config.app

            // API Sellers
            Sellers\API\Providers\APIServiceProvider::class,

            composer.json
            "Sellers\API\": "packages/Sellers/API"

            bagistotest:pa route:cache
            Route cache cleared!
            Routes cached successfully!

            Screen Shot 2019-12-09 at 2.44.47 PM.png

            Best regards

            1 Reply Last reply Reply Quote 0
            • R
              rahul last edited by 10 Dec 2019, 04:39

              Hi @cmpengineers

              Can you attach your packages zip file here.

              Thanks

              1 Reply Last reply Reply Quote 0
              • C
                cmpengineers last edited by 10 Dec 2019, 06:45

                Hi @rahul

                sure

                [0_1575960285201_Sellers.zip](Uploading 100%)

                https://www.dropbox.com/s/k8fpy2b94xrtrss/Sellers.zip?dl=0

                best regards

                1 Reply Last reply Reply Quote 0
                • R
                  rahul last edited by 11 Dec 2019, 04:45

                  Hi @cmpengineers

                  I am unable to download it.

                  1 Reply Last reply Reply Quote 0
                  • C
                    cmpengineers last edited by 11 Dec 2019, 12:03

                    Dear @rahul

                    please download from the link

                    https://www.dropbox.com/s/k8fpy2b94xrtrss/Sellers.zip?dl=0

                    best regards

                    1 Reply Last reply Reply Quote 0
                    • R
                      rahul last edited by 12 Dec 2019, 06:35

                      Hi @cmpengineers

                      Nothing happens when i open this link.

                      download.png

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmpengineers last edited by 12 Dec 2019, 09:25

                        Dear @rahul

                        my apologize please download from google drive link

                        https://drive.google.com/file/d/121wFXpbckWxtY0SggqC-84lIW4_S7uiK/view?usp=sharing

                        Best regards

                        1 Reply Last reply Reply Quote 0
                        • C
                          cmpengineers last edited by 12 Dec 2019, 09:45

                          Dear @rahul

                          i have test same code with different package and its working just fine , the difference between these pacakge one of them is just regular package

                          https://drive.google.com/file/d/1WgrlKk71xv6363BtCT9a9wW2KzehYcmo/view?usp=sharing

                          Best regards

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmpengineers last edited by 12 Dec 2019, 09:48

                            @rahul

                            this screen shot from ACME package

                            Screen Shot 2019-12-12 at 12.47.33 PM.png

                            Best regards

                            1 Reply Last reply Reply Quote 0
                            • R
                              rahul last edited by 12 Dec 2019, 09:49

                              Hi @cmpengineers

                              Now it is working fine.

                              Thanks

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