Can anyone shade some light on the real usage of is_active
field in sales_flat_quote
table?
AFAIK, is_active
field is used in the following cases:
is_active
is always 1 for cart/quote created by web useris_active
is always 0 for cart/quote created from admin- To load quote by Customer Id,
is_active
= 1 is taken into account - When quote is converted to order,
is_active
becomes 0 - To restore the quote which is cleared by payment errors etc during checkout., make
is_active
= 1 - When you create a quote via API,
is_active
is always 0 (not sure why?)
My Questions:
- I would like to know if the above bullet points are correct?
- Why
is_active
is always 0 for quote created via API? - How to get quote items by customer id / email via API?