Zen Cart Logo
Forums / General Questions / Change some orders_status_id

Change some orders_status_id

Views: 1,093

Results 1 to 6 of 6
3 Mar 2014, 8:41 PM
#1
xav2 avatar

xav2

New Zenner

Join Date:
Jun 2013
Posts:
47
Plugin Contributions:
0

Change some orders_status_id

i'm goging to change some orders_status_id, for example from 5 to 2
i find it in 3 parts
zen_orders_status : orders_status_id
zen_orders_status_history : orders_status_id
zen_orders : orders_status
is there any parts may be missed ?

3 Mar 2014, 9:58 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Change some orders_status_id

xav2:

i'm goging to change some orders_status_id
WHY?

The only way you should ever change status names is using the Admin page found at Admin->Localization->Orders Status

4 Mar 2014, 12:33 AM
#3
xav2 avatar

xav2

New Zenner

Join Date:
Jun 2013
Posts:
47
Plugin Contributions:
0

Re: Change some orders_status_id

DrByte:

WHY?

The only way you should ever change status names is using the Admin page found at Admin->Localization->Orders Status

no, i don't want to change the status names but the status id, i need code something buy using orders_status_id

4 Mar 2014, 3:33 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Change some orders_status_id

xav2:

i need code something buy using orders_status_id
Please explain.

4 Mar 2014, 9:42 AM
#5
xav2 avatar

xav2

New Zenner

Join Date:
Jun 2013
Posts:
47
Plugin Contributions:
0

Re: Change some orders_status_id

DrByte:

Please explain.

i use if($orders_status_id == 1) ... else if =2, else if = 3 ... and i want to use them for a lot of sites,
so it's better change those sites to the same orders_status_id

5 Mar 2014, 5:07 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Change some orders_status_id

xav2:

i use if($orders_status_id == 1) ... else if =2, else if = 3 ... and i want to use them for a lot of sites,
so it's better change those sites to the same orders_status_id
I still don't understand "why".
What are each of these order-status values for, and why are you wanting to change them?