Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • R

      Bagisto Marketplace: “The requested quantity is not available” on add-to-cart (seller flow) despite seller stock visible on channel
      Installing Bagisto • • Radoje

      2
      0
      Votes
      2
      Posts
      72
      Views

      R

      @Radoje [UPDATE – Oct 8, 2025]

      • Environment: PHP 8.2.29 • Laravel 11.44.2 • Marketplace 2.3.0_1 • Bagisto app on Laravel 11 • DB: MariaDB 10.6.23
      • Channel (default/Balkan) is mapped to sources 1,2,5; seller-scoped stock in the active channel sums to 7
      • Seller payload includes: product_id, quantity, seller_id, marketplace_seller_id, seller_product_id, inventory_source_id, vendor_id
      • Route runs under ['web','channel','theme','locale','currency'] and passes a Product OBJECT
      • Still getting “requested quantity is not available” from Marketplace/src/Cart.php:108; the cart remains empty in all variants we tried
      Versions

      PHP: 8.2.29 (Cloudways)

      Laravel: 11.44.2

      Bagisto app: on Laravel 11

      Marketplace module: 2.3.0_1

      DB: MariaDB 10.6.23

      SQL confirmations

      -- Seller stock visible in the active channel (returns 7) SELECT SUM(pi.qty) AS salable_qty_seller FROM product_inventories pi JOIN channel_inventory_sources cis ON cis.inventory_source_id = pi.inventory_source_id WHERE pi.product_id = 54 AND pi.vendor_id = 2 AND cis.channel_id = 1; -- Raw inventory row SELECT * FROM product_inventories WHERE product_id=54 AND vendor_id=2; /* -> (id=45, qty=7, product_id=54, vendor_id=2, inventory_source_id=5) */ -- Marketplace product row (approved/owner) SELECT * FROM marketplace_products WHERE product_id=54; /* -> (id=34, product_id=54, marketplace_seller_id=2, is_approved=1, is_owner=1) */ Route context // app/Providers/MpRouteServiceProvider.php Route::middleware(['web','channel','theme','locale','currency']) ->group(base_path('routes/mp.php')); Seller proxy (POST) — full seller payload // routes/mp.php (excerpt) Route::post('/mp-add-to-cart', function (Request $r, ProductRepository $products) { $p = $products->findOrFail((int) $r->input('product_id')); // Product OBJECT $data = $r->validate([ 'product_id'=>'required|integer','quantity'=>'nullable|integer|min:1', 'seller_id'=>'nullable|integer','seller_product_id'=>'nullable|integer', 'marketplace_seller_id'=>'nullable|integer','inventory_source_id'=>'nullable|integer', 'vendor_id'=>'nullable|integer', ]); $payload = ['quantity'=>(int)($data['quantity']??1)]; foreach (['seller_id','seller_product_id','marketplace_seller_id','inventory_source_id','vendor_id'] as $k) { if (!empty($data[$k])) $payload[$k]=(int)$data[$k]; } \Log::error('MP ADD payload', $payload); \Webkul\Checkout\Facades\Cart::addProduct($p, $payload); // Marketplace Cart return redirect('/checkout/cart'); }); Logged payload (from laravel.log) MP ADD payload {"quantity":1,"seller_id":2,"seller_product_id":34,"marketplace_seller_id":2,"inventory_source_id":5,"vendor_id":2} Behavior Calling the handler above raises: The requested quantity is not available, please try again later. (packages/Webkul/Marketplace/src/Cart.php:108) The cart stays empty (cart_items has no rows) in all variants we tried. Question (recap) What exact parameter/flag does this Marketplace build need at addProduct($product, $data) so that the Cart picks the seller stock (vendor_id=2 on inventory_source_id=5) in the active channel, instead of returning 0? We already submit: seller_product_id, marketplace_seller_id, vendor_id, inventory_source_id; the route runs under web, channel, theme, locale, currency. SQL confirms the seller’s stock in the channel is 7.
    • G

      Need help regarding content update and cache
      General Discussion • • gauravjain1

      3
      0
      Votes
      3
      Posts
      274
      Views

      B

      @Rishabh-Webkul said in Need help regarding content update and cache:

      RESPONSE_CACHE_ENABLED=false

      If I may ask, what is response_cache_enabled for?

    • M

      In version 2.3.6 paging is not working for HTTPS .
      Bug Report • • mishant

      1
      0
      Votes
      1
      Posts
      41
      Views

      No one has replied

    • T

      How do i integrate paystack payment gateway into bagisto
      Modules • • THINKLIFE

      7
      0
      Votes
      7
      Posts
      2980
      Views

      W

      @THINKLIFE for paystack you can download extension from here https://github.com/wontonee/paystack-bagisto

      it only support nigeria, kenya and african region.

    • M

      Payment Method: Paystack payment
      Knowledge Base • • miketayo

      5
      0
      Votes
      5
      Posts
      986
      Views

      W

      @miketayo for paystack you can download extension from here https://github.com/wontonee/paystack-bagisto

      it only support nigeria, kenya and african region.

    • T

      Bagisto Paystack Payment Integration
      Knowledge Base • bagisto payment paystack laravel-paystac custom-payment • • teecode

      3
      0
      Votes
      3
      Posts
      1086
      Views

      W

      @teecode for paystack you can download extension from here https://github.com/wontonee/paystack-bagisto

      it only support nigeria, kenya and african region.

    • F

      How to add PhonePe PG in Bagisto
      Knowledge Base • • foxnut

      3
      0
      Votes
      3
      Posts
      489
      Views

      W

      hello

      you can download the phonepay bagisto extension from here https://github.com/wontonee/phonepe-bagisto. its a standard checkout

    • A

      Custom PhonePe Payment Gateway: Cart available on redirect but null in verify method
      General Discussion • • arunchahar

      3
      0
      Votes
      3
      Posts
      496
      Views

      W

      you can download the phonepe extension from here. https://github.com/wontonee/phonepe-bagisto

    • N

      Phonepe payment gateway integration
      General Discussion • • neo

      4
      0
      Votes
      4
      Posts
      599
      Views

      W

      @neo https://github.com/wontonee/phonepe-bagisto you can download from here. Its bagisto extension for phonepe

    • C

      i use razorpay payment getaway ,when i mention product price including tax after we checkout than show this error "The amount must be an integer "
      Bug Report • • creativeminds

      10
      0
      Votes
      10
      Posts
      3902
      Views

      W

      https://github.com/vfixtechnology/bagisto-razorpay

      This Razorpay extension has been copied by this person from our old original Bagisto Razorpay extension. All our function names and comments are also present in their code. Please be advised — do not use this repository. We recently came to know about this from our user.

    • W

      I want to add custom video section like the shopify reelup feature is it possible!
      General Discussion • • webepic

      3
      0
      Votes
      3
      Posts
      320
      Views

      W

      @rishabh-webkul19 thank you Rishabh i have managed to make a custom section for this so its already shorted.

    • admin

      Roadmap
      Announcements • • admin

      3
      2
      Votes
      3
      Posts
      4101
      Views

      M

      hello, thankz for your information =>>>https://butraco.vn/

    • D

      Update multiple products inventory via REST API
      General Discussion • api products bulk rest • • danimaldonado

      3
      0
      Votes
      3
      Posts
      163
      Views

      D

      @rishabh-webkul19 Hello!
      Ok! It's the v2.3.6
      Freshly installled following the documentation a few weeks ago.
      And also installed the REST API following the documentation.

      In the API docs I found an endpoint for mass update but as far as I knew it only works for turning the products status on and off

    • G

      How to change Order Status to Paid when COD
      Knowledge Base • • gauravjain1

      1
      0
      Votes
      1
      Posts
      202
      Views

      No one has replied

    • S

      Create product with image programmatically
      General Discussion • product image • • saaraan

      5
      0
      Votes
      5
      Posts
      299
      Views

      S

      @rishabh-webkul19 Thank you for your reply, what's proper way to attach the image? how does bagisto process the product image? thank you.

      $ImagePath = '/storage/app/temp/image.jpg'; $uploadedFile = new UploadedFile( $ImagePath, 'imageFileName', 'image/jpeg', null, true );
    • M

      Buy One Get One Free Functionality Not Work.
      General Discussion • • mihir14

      2
      0
      Votes
      2
      Posts
      75
      Views

      R

      Hello @mihir14

      This issue is resolved now in the latest version.

      Regards

    • M

      Buy One Get One Functionality Not Work.
      General Discussion • • mihir14

      2
      0
      Votes
      2
      Posts
      96
      Views

      R

      Hello @mihir14

      This issue is resolved now in the latest version.

      Regards

    • A

      Category Image Resizing Issue: Original 300x300px Image Keeps Resizing to 165x165px
      General Discussion • • arunchahar

      2
      0
      Votes
      2
      Posts
      802
      Views

      R

      Hello @arunchahar

      Kindly let us know the bagisto version you are using.

      This will help us to resolve your query.

      Regards

    • F

      Data Transfer with custom attributes
      General Discussion • • Frenchpicker

      2
      0
      Votes
      2
      Posts
      525
      Views

      R

      Hello @Frenchpicker

      Kindly let us know the bagisto version you are using.

      This will help us to resolve your query.

      Regards

    • M

      Elasticseach Module installation
      Installing Bagisto • • mishant

      4
      0
      Votes
      4
      Posts
      886
      Views

      admin

      @mishant You're welcome