Okay
  Public Ticket #2674004
Request Quote Removes Products from Cart
Closed

Comments

  • [deleted] started the conversation

    Why does your request a custom quote feature remove the customers products from cart? Is it possible to keep them in the cart so that we can update the pricing on those products for the customer to then proceed to checkout once we have updated the pricing on those products?

  •  2,114
    WebWizards replied

    Hi Kyle,

    Clearing the cart was actually suggested to us by other customers - so the cart doesn't have to be cleared manually.

    But I get how what you are saying makes sense as well in that kind of workflow.


    If you are open to making a small modification to our plugin, it's very easy to modify this:

    In class-b2bking.php inside the function b2bkingrequestquotecart(),

    simply remove or comment out this line:

    // empty cart
    WC()->cart->empty_cart();
    

    It's here around line 679:

    1774256567.png


    Kind Regards,

    Stefan