Bagisto Forum

    Bagisto

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

      Help a Friend Out: Migrating from Zid to Bagisto with 16,000 Products
      Bug Report • • sul

      4
      0
      Votes
      4
      Posts
      474
      Views

      admin

      @Sul Okay, so this is where you are looking to move your 16,000 products, right? https://azmalenjaz.com/store/public/

      May I where do you have the current data of products, in excel file or somewhere else?

    • 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
      428
      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.
    • C

      Cutomer List View (override)
      General Discussion • customers override • • Chelsea

      1
      0
      Votes
      1
      Posts
      22
      Views

      No one has replied

    • A

      website logo
      General Discussion • • asraful

      1
      0
      Votes
      1
      Posts
      0
      Views

      No one has replied

    • I

      Installing In Hostiger
      Installing Bagisto • • ian94

      1
      0
      Votes
      1
      Posts
      51
      Views

      No one has replied

    • S

      Customer notes
      General Discussion • • sungur

      1
      0
      Votes
      1
      Posts
      123
      Views

      No one has replied

    • C

      Datagrid reload via ajax
      General Discussion • datagrid datagridajax datagridreload • • Chelsea

      1
      0
      Votes
      1
      Posts
      12
      Views

      No one has replied

    • R

      Razorpay gateway module
      Knowledge Base • • ritwikdalmia

      1
      0
      Votes
      1
      Posts
      162
      Views

      No one has replied

    • J

      Category Tree
      Bug Report • • jrevell1976

      1
      0
      Votes
      1
      Posts
      173
      Views

      No one has replied

    • V

      Visitors count not showing on admin side in graph
      Bug Report • • vikrantrana

      1
      0
      Votes
      1
      Posts
      345
      Views

      No one has replied

    • V

      Visitors are not storing in database
      General Discussion • • vikrantrana

      1
      0
      Votes
      1
      Posts
      223
      Views

      No one has replied

    • S

      Buggy product page
      Bug Report • bug product admin • • Somidz

      1
      0
      Votes
      1
      Posts
      196
      Views

      No one has replied

    • M

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

      1
      0
      Votes
      1
      Posts
      192
      Views

      No one has replied