Bagisto Forum

    Bagisto

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

    Cart allows adding products when stock is 0 (Frontend bypass) + Octane causes admin XHR failures (Bagisto v2.3.x-dev, Laravel 11)

    Bug Report
    1
    1
    37
    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
      codewithvj last edited by

      We are facing two related but critical issues in Bagisto v2.3.x-dev when using Laravel 11 + Octane.

      🔴 Issue 1: Product can be added to cart even when stock = 0
      Expected behavior

      When product inventory quantity is set to 0

      Admin shows product as Out of Stock

      Frontend should NOT allow Add to Cart

      Actual behavior

      Admin correctly shows Out of Stock

      Frontend still allows Add to Cart

      User can add the product multiple times

      Happens for both old products and configurable products

      Issue persists even after running indexer

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