Developer forum

Forum » Ecommerce - Standard features » Working with quotes

Working with quotes

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi Guys,

I am trying to implement the Quotes flow and I need to know what happens when a customer decides to turn the quote into an Order:

1. Is there a specific method or link to turn it into an order? I have found a link that adds the Quote to cart. Is that all? Should I look for something else?

2. What happens after the quote is turned into a cart and subsequently into an order? Will the Quote be disabled? Or the status can be changed? I would like to avoid letting the user order the same quote multiple times.

Thank you,
Adrian

 


Replies

 
Jonas Krarup Dam
Reply

1:

Yes, that's it.

When the quote is added to the cart, it cannot be edited by the customer, since it has been approved by the shop owner.

after the quote is added to the cart, it's checkout as usual.

2: 

there is only one quote/order in the database, so the when the quote turns into a cart, it's tagged in the database as "isQuote". 

This tag persists throughout the orderflow.

I believe that once a quote is turned into an order via the checkout, it is no longer available to be added to the cart.

Regards, jonas

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Thank you Jonas.

It looks like it works as expected.

I will implement it considering your answer above. I will get back to this post in case I stumble upon anything.

Thank you very much.
Adrian

 

You must be logged in to post in the forum