Bagisto Forum

    Bagisto

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

    Allow Backorders doesn't work to add more quantity then inventory item count.

    General Discussion
    3
    8
    257
    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.
    • phyothiha
      phyothiha last edited by

      Bagisto version: 1.5.1

      I allowed backorders in the configuration/inventory system and set the pending ordered quantity to 1 in edit product inventories section.

      But when I entered item quantity more than inventory from store, it alerted an error message "Warning! The requested quantity is not available, please try again later".

      How can I config the customer can add to cart item more than inventory item count?

      ashish2409 1 Reply Last reply Reply Quote 0
      • ashish2409
        ashish2409 @phyothiha last edited by

        @pth
        Hello,
        As I checked the same concern and I was unable to face such issue can you please help with the screenshots. I followed below steps.

        Image 1 - Allowed Backorder - https://prnt.sc/WFV8UrAxiz51

        Image 2 - Product Available QTY
        https://prnt.sc/6B1HrdRpsoP-

        Image 3 - Product Purchased QTY is more then Inventory.
        https://prnt.sc/plKRyUcCJ2G6

        phyothiha 2 Replies Last reply Reply Quote 0
        • phyothiha
          phyothiha @ashish2409 last edited by phyothiha

          @ashish2409 I followed the steps but it doesn't work with virtual product type.

          1 Reply Last reply Reply Quote 0
          • phyothiha
            phyothiha @ashish2409 last edited by phyothiha

            @ashish2409 I found issue thread on the Github. Is there an option for manage stock like Bagisto 2.0.

            https://github.com/bagisto/bagisto/issues/5160

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

              Hello @pth,

              Yes, In the Latest version of Bagisto. there is an option to manage stock.

              Thanks.

              phyothiha 1 Reply Last reply Reply Quote 0
              • phyothiha
                phyothiha @Amitk-Webkul last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • phyothiha
                  phyothiha last edited by

                  For those who is looking for the solution in Bagisto 1.5, there is a hacky way to do it.

                  You can find Product class file location at packages/Webkul/Product/src/Type/Virtual.php and edit a function called haveSufficientQuantity and replace with

                  return $qty <= $this->totalQuantity() ?: (bool) core()->getConfigData('catalog.inventory.stock_options.backorders');
                  
                  1 Reply Last reply Reply Quote 0
                  • A
                    Amitk-Webkul last edited by

                    Hello @pth,

                    Thank you for sharing the solutions to fix that issue.

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