Bagisto Forum

    Bagisto

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

    [13:46:59] LOG.error: Target [Webkul\Pickup\Contracts\Warehouse] is not instantiable while building [Webkul\Shop\Http\Controllers\OnepageController]. {"exception":{}}

    Modules
    2
    15
    5516
    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.
    • devansh-webkul
      devansh-webkul last edited by

      Hi @jaygadhvi07,

      Could you share the errors and codes so that I can check?

      J 1 Reply Last reply Reply Quote 0
      • J
        jaygadhvi07 @devansh-webkul last edited by

        @devansh-webkul yes sure but now i've chnaged can you tell me how can i add a custom dropdown in shipping method section on the checkout page and pass it to the controller through vuejs??

        1 Reply Last reply Reply Quote 0
        • devansh-webkul
          devansh-webkul last edited by

          Hi @jaygadhvi07,

          For custom dropdown, you can take a reference from onepage file.

          J 1 Reply Last reply Reply Quote 0
          • J
            jaygadhvi07 @devansh-webkul last edited by

            @devansh-webkul said in [13:46:59] LOG.error: Target [Webkul\Pickup\Contracts\Warehouse] is not instantiable while building [Webkul\Shop\Http\Controllers\OnepageController]. {"exception":{}}:

            onepage

            yes i did that. ive another probelm

            i added a product from admin panel and set its inventory to 500. now when i checkout a product it does not reduces from the inventory. can you guide me y its happening??

            1 Reply Last reply Reply Quote 0
            • devansh-webkul
              devansh-webkul last edited by

              Hi just go to this file core/packages/Webkul/Core/src/Exceptions/Handler.php. There is a method named as render() and comment all the code in the method except the last return value and share the error page.

              J 1 Reply Last reply Reply Quote 0
              • J
                jaygadhvi07 @devansh-webkul last edited by

                @devansh-webkul hello i did that. and as you can see

                687ca027-e592-4cf7-97ac-c18af9649336-image.png

                ive commented that code.
                and then i placed another order and order was successfully placed i did not get any errors

                1 Reply Last reply Reply Quote 0
                • devansh-webkul
                  devansh-webkul last edited by

                  Strange.

                  J 1 Reply Last reply Reply Quote 0
                  • J
                    jaygadhvi07 @devansh-webkul last edited by

                    @devansh-webkul yes isn't it

                    1 Reply Last reply Reply Quote 0
                    • devansh-webkul
                      devansh-webkul last edited by

                      Hi @jaygadhvi07,

                      Still, I advise you to check the code, some minor mistake is present rest is ok.

                      J 2 Replies Last reply Reply Quote 0
                      • J
                        jaygadhvi07 @devansh-webkul last edited by

                        @devansh-webkul i commented that code you ask but inventory is still showing the default product number
                        which i entered while creating the product

                        1 Reply Last reply Reply Quote 0
                        • J
                          jaygadhvi07 @devansh-webkul last edited by

                          @devansh-webkul it should reduce the number right everytime user places an order.

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