Skip to content

RFQ Minimum Cart Amount Not Updating Dynamically and Can Be Bypassed #16

@amanroy-webkul

Description

@amanroy-webkul

Bagisto Version:

v2.3.7

Extension Version:

B2B Suite MASTER

Description:

When a minimum cart amount (e.g., ₹10,000) is configured for Request for Quotation (RFQ), the RFQ button does not appear dynamically once the cart amount reaches the configured value. The user has to refresh or reload the page for the RFQ button to become visible.
Additionally, after the button becomes visible, if the user reduces the cart amount below the minimum threshold, they are still able to create an RFQ, which bypasses the minimum amount restriction.

Steps to Reproduce:

  1. Log in as admin

  2. Go to configure - Quotations & Purchase Orders

  3. Configure the minimum RFQ amount (e.g., ₹10,000) in the admin panel.

  4. Add products to the cart until the total reaches the minimum amount.

  5. Observe whether the RFQ button appears automatically.

  6. Refresh the page — note that only after refresh, the RFQ button becomes visible.

  7. Now remove items from the cart to reduce the total below the minimum amount.

  8. Observe whether the RFQ button disappears.

Actual Result:

  1. The RFQ button does not appear automatically after the cart amount reaches the minimum threshold.

  2. The user must refresh the page to see the RFQ button.

  3. Even after reducing the cart amount below the minimum requirement, the RFQ option remains visible and functional, allowing
    users to bypass the restriction.

https://webkul.chatwhizz.com/share/view-recording/68e75676c5d2ef647e2dd94e

Expected Result:

  1. The RFQ button should appear dynamically once the cart amount reaches the minimum threshold, without requiring a page
    refresh.

  2. If the cart amount falls below the configured minimum amount, the RFQ button should automatically disappear.

  3. The user should not be able to perform an RFQ unless the cart meets the minimum amount requirement.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions