Public Ticket #2674004

Request Quote Removes Products from Cart

Closed
Comments
27 Tickets
Deleted user started the conversation 6 years ago on January 28, 2021 at 12:41pm

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,762
KingsPlugins replied 6 years ago on January 28, 2021 at 5:14pm

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



Sign In