Zen Cart Logo
Forums / All Other Contributions/Addons / Urgent Help Required - PDF order center is canceling my orders!!

Urgent Help Required - PDF order center is canceling my orders!!

Locked

Views: 1,570

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
5 Jul 2008, 3:15 AM
#1
redmonds avatar

redmonds

Zen Follower

Join Date:
Jan 2006
Posts:
108
Plugin Contributions:
1

Urgent Help Required - PDF order center is canceling my orders!!

I all.

We have just had an enormous amount of business after getting some fantastic TV coverage. So much we have run out of stock.

I just used PDF Order centre to notify 150 customers that we were out of stock and changed the order status to 'on hold'. However a customer just called and asked why the order had been cancelled. The email that was sent out had subject 'your order #XXXXX has been cancelled' and the content said:

Dear Customer Name,

Your order #14172 has been cancelled.

The bulk of the email then had the info that I had typed into the PDF Order Centre comments box explaining that the order was on hold but obviously this is going to create a lot of concern, loss of time and maybe loss of sales. How can I correct this. Where is this subject line being drawn from?

Thanks.

5 Jul 2008, 5:58 AM
#3
redmonds avatar

redmonds

Zen Follower

Join Date:
Jan 2006
Posts:
108
Plugin Contributions:
1

Re: Urgent Help Required - PDF order center is canceling my orders!!

Dr Byte,

Thanks for your help.

No. Everything appears to be working as it should except that PDFOC is pulling an Email Subject and First line that say Cancelled. The order status and comments are OK.

When I changed the order status using orders.php page it is OK. But as I am trying to use PDFOC to do mass updates and now need to correct 150 that I hav already advised I don;t want to to do it 1 by 1.

It seems to be specifically related to the order status ID #5. I renamed 'on hold' (id 5) to 'on hold 1' and created a new order status 'on hold' (ID 10011) I then made a test change. It did not have any subject or the first line. I did include the order comments ok.

It seem as though PDFOC is pulling some email defines from somewhere. For ID5 it was order cancelled and for id 10011 it does not exist. But I can't find it.

5 Jul 2008, 6:16 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Urgent Help Required - PDF order center is canceling my orders!!

If you renamed an order status that said "cancelled" and the mod was designed to treat that specific item as "cancelled", then I'm not surprised that you had it tell them their order was cancelled.

5 Jul 2008, 6:18 AM
#5
redmonds avatar

redmonds

Zen Follower

Join Date:
Jan 2006
Posts:
108
Plugin Contributions:
1

Re: Urgent Help Required - PDF order center is canceling my orders!!

I do not know if that is what I have done. I have been trying to establish if the default install of ZC has a Cancelled status. I am still using 1.3.02.

If that is the case that is fine. But where can I add subject lines for new order status? Have you got any ideas?

Thanks

5 Jul 2008, 6:22 AM
#6
drbyte avatar

drbyte

Sensei

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

Re: Urgent Help Required - PDF order center is canceling my orders!!

In v1.3.x, a brand new untouched install of Zen Cart has 4 status settings:
1-Pending
2-Processing
3-Delivered (aka Shipped)
4-Update (used for download attributes resets)

There is no "Cancelled" status.

5 Jul 2008, 6:25 AM
#7
redmonds avatar

redmonds

Zen Follower

Join Date:
Jan 2006
Posts:
108
Plugin Contributions:
1

Re: Urgent Help Required - PDF order center is canceling my orders!!

Thanks. And I was using Developer tool wrong. I have now found the file that contains the codes. I will take a look and see what I can work out.

I will let you know if I am still lost.

5 Jul 2008, 6:27 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: Urgent Help Required - PDF order center is canceling my orders!!

I just did a search on "Cancelled" and found this in the bottom of the pdfoc.php language file:```
// Note: the array indices correspond to your order statuses; add additional entries if you
// have more statuses. Your defined order statuses are listed in the Admin panel
// under Localization::Order Status.
// These will be used as both the e-mail subject and the first
// line of the e-mail text, so don't capitalize all the words. The
// final period will be added in when the e-mail is sent, so don't
// include it here.
$pdfoc_subject[1] = 'Your order #%d has been received';
$pdfoc_subject[2] = 'Payment for your order #%d has been received';
$pdfoc_subject[3] = 'Your order #%d has been sent';
$pdfoc_subject[4] = 'Here is an update on your order #%d';
$pdfoc_subject[5] = 'Your order #%d has been cancelled';

5 Jul 2008, 6:28 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Urgent Help Required - PDF order center is canceling my orders!!

lol ... okay :D

5 Jul 2008, 7:27 AM
#10
redmonds avatar

redmonds

Zen Follower

Join Date:
Jan 2006
Posts:
108
Plugin Contributions:
1

Re: Urgent Help Required - PDF order center is canceling my orders!!

Dr Byte,

Thanks for your help. All solved now. Should have been able to do it myself but it often takes someone to point out the "bleed'n obvious".

Again thanks for the help.

5 Jul 2008, 7:52 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Urgent Help Required - PDF order center is canceling my orders!!

Glad you got it sorted out.