How Can I Find The Right Functions?

I find a lack of description for most of the functions from the hook database.I could not post in Develope Corner for some reasons.

These are my questions:

1) I want to retrieve all the order statuses (even the custom ones) but I cannot find the right way to do it. How can I achieve this? I was thinking about a db_query but where can I find the full name?

2) Is "change_order_status_post" called the a order status was changed?

3) Is there any way to force the customer to add his phone number by code?

I find a lack of description for most of the functions from the hook database.I could not post in Develope Corner for some reasons.

These are my questions:

1) I want to retrieve all the order statuses (even the custom ones) but I cannot find the right way to do it. How can I achieve this? I was thinking about a db_query but where can I find the full name?

2) Is "change_order_status_post" called the a order status was changed?

3) Is there any way to force the customer to add his phone number by code?

1. Use

fn_get_statuses(STATUSES_ORDER, array(), true, false);

2. CS-Cart does not have such hook

3. Please clarify this point

1. Can I know where in docs you find it?

3. I am developing an addon and I need the phone number of the customer when he makes the order. If I am right, the phone number is not required by default. I want a solution to change it from code because the plugin will be available on marketplace

1. Can I know where in docs you find it?

3. I am developing an addon and I need the phone number of the customer when he makes the order. If I am right, the phone number is not required by default. I want a solution to change it from code because the plugin will be available on marketplace

1. Just experience

3. Find phone field in the corresponding checkout block (Design -> Layouts -> Checkout) and enable the required setting

  1. Okay, I feel pretty bad rn :)))) I really hoped there is some form of docs for them. At least a list with them or a place to see them all