Public Ticket #4527543

custom quote requests

Closed
Comments
4 Tickets 2
faizaan started the conversation 11 months ago on December 19, 2025 at 7:36am

Good day

Is it possible for custom quote requests to come as normal orders not as conversations? Then from there we send an offline quote and they can make payment. Because my POS system links to the normal order process not the conversation tab and if i send a customn quote through b2bking it does not pull correctly into my POS system.


Regards

1
4 Tickets 2
faizaan replied 11 months ago on December 19, 2025 at 7:53am

I want to hide prices for B2B users and instead of add to cart they add to quote. Then for checkout they checkout normally but the payment method will say "Quotation" and they will checkout as usual so my POS system reads it

1
2,766
KingsPlugins replied 11 months ago on December 19, 2025 at 4:22pm

Hi Faizaan,

 

To hide prices for B2B users and replace the "Add to Cart" button with "Add to Quote", you can go to B2BKing -> Dynamic Rules and create a rule with the action Replace cart with quote system. You can set this to apply specifically to your B2B users.

However, please note that by default, this creates a "Quote Request" (Conversation), not a standard WooCommerce Order. Because it is not a standard order, your POS system likely won't pick it up automatically.

 

To have this create a standard order immediately, custom coding would be required. You would need to create a custom function that programmatically generates a standard order when the quote is submitted.

To do this, a developer can hook into the following action:

do_action( 'b2bking_after_send_quote_cart', $conversationid, $productsstring, get_current_user_id());

Inside that hook, you can add logic to create the order programmatically.

Unfortunately, we are not able to write that custom code for you as we are focusing exclusively on the plugin development,

Kind regards,
Stefan

4 Tickets 2
faizaan replied 11 months ago on December 20, 2025 at 9:50am

Thanks fo the response. My developer is struggling to get this done because he is not sure how B2BKing sends the data from the conversation/quote request. The code he wrote results in a blank order coming through with no products. He says he thinks the issue is that he is not sure the exact format B2BKing uses when sending the data. He assumed it sent as "ID:Quantity" but this didnt work.

2,766
KingsPlugins replied 11 months ago on December 20, 2025 at 11:13pm

Hi Faizaan,

Thanks for the update. I understand your developer is looking for the specific data format used in that hook to get the order generation working correctly.

I would be happy to check this in more detail with our technical team to get that specific information for you.

Could you please share your purchase code or the purchase email for the plugin? I will need to reference that when consulting with them regarding the codebase.

Kind regards,
Stefan

4 Tickets 2
faizaan replied 11 months ago on December 22, 2025 at 8:18am

Good day Stefan

Unfortunately my site was built by a different developer a while ago who is no longer managing the site and who is unwilling to share the purchase information, however my domain is limpopocc.co.za.


I will keep trying to get the info fromthe previous developer but I hope that the domain will suffice 


Regards

Sign In