Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 11-23-2007 15:46:54

cfunderburg
Member
Registered: 12-05-2006
Posts: 91

Adding more Order Status options and Item Status Options

All, I changed the config_display_value in the config_tracking.csv file to

Code:

Pending Payment:P|Pending Shipment:NS|Partially Shipped:PS|Completed:C|Cancelled:X|Order Processing:OP|Pending Processing:PP

This works fine when viewing it from admin, but from the order tracking display that customers use, if one of the new tracking types is used, it's 2 letter code is displayed instead of the name. How do I get it show correctly?

I did basically the same thing in the config_trackitem.csv file to add more status options. They show up fine in the pull-down for Item Status, but the 2 letter code is displayed in Status field for Items Ordered in an Order. How do I get it to show correctly?

Offline

 

#2 11-23-2007 15:49:34

cfunderburg
Member
Registered: 12-05-2006
Posts: 91

Re: Adding more Order Status options and Item Status Options

NEVERMIND! I found the problem. I had spaces in the new ones. I took those out and it works fine!

Offline

 

#3 12-05-2007 04:02:21

ellehazen
Member
Registered: 03-14-2006
Posts: 129

Re: Adding more Order Status options and Item Status Options

I have been wanting to do this for a while. Thanks!!!

Quick question... do you know how to designate a specific "item status option" as the automatic first listing? i.e., to designate the initial status as pending processing instead of pending shipment as soon as the order is placed....

Thanks!

Offline

 

#4 12-05-2007 09:07:21

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Adding more Order Status options and Item Status Options

That requires a change to the code in ste_order.pl - its a non-trivial change.  You could change the name of the NS status easily enough though.  For example, you could change this line:

Code:

tracking_status,SYSTEM,Order Status,30,Y,SELECT-CUSTOM,Pending Payment:P|Pending Shipment:NS|Partially Shipped:PS|Completed:C|Cancelled:X,P,Y

to read like this:

Code:

tracking_status,SYSTEM,Order Status,30,Y,SELECT-CUSTOM,Pending Payment:P|Pending Processing:NS|Partially Shipped:PS|Completed:C|Cancelled:X,P,Y

Then the orders would move to Pending Processing when they are placed.  You could also add a different Pending Shipment status, with a new letter code, elsewhere in the list.  That would probably be the easiest way to accomplish what you want to do.  If you really want to get into messing with how CCP completes orders and what status they move to, you can have a look in ste_order.pl, in the subroutine ste_order_conf_updatetrack_proc.  That is the subroutine that moves orders from P status to NS status when the customer finishes the checkout.


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

#5 12-05-2007 13:12:13

Perkster
Member
From: Parksville BC Canada
Registered: 10-05-2004
Posts: 349
Website

Re: Adding more Order Status options and Item Status Options

Thanks Rachael,

This is good info as I am still using CCP51 too.


Mike Perks
Linux CD Shop - /shop for Linux distributions

ReviewLinux.Com - Linux OS News & Review Site

Offline

 

#6 12-05-2007 13:35:40

rachaelseven
Member
From: Massachusetts, USA
Registered: 01-23-2006
Posts: 3169
Website

Re: Adding more Order Status options and Item Status Options

You are very welcome!


Rachael Katz
- Custom Focusing Screens for DSLR Cameras

Offline

 

Board footer