Post by nde » Fri Feb 20, 2009 8:56 am

In the order confirmation mail, the {invoice} link misses the ID. It just prints out:

Code: Select all

http://mysite.com/opencart/index.php?route=account/invoice

This only appears in the first email though, all further update mails include the right ID at the end:

Code: Select all

http://mysite.com/opencart/index.php?route=account/invoice&order_id=1

nde
New member

Posts

Joined
Sat Jun 30, 2007 7:32 am

Post by Daniel » Sat Feb 21, 2009 9:35 pm

I have fixed this in the next version.

User avatar
Administrator

Posts

Joined
Fri Nov 03, 2006 6:57 pm

Post by nde » Sun Feb 22, 2009 8:46 am

great, thanks for giving feedback.

nde
New member

Posts

Joined
Sat Jun 30, 2007 7:32 am

Post by sturman » Sun Mar 08, 2009 11:22 am

For those in a hurry to fix this bug, I have found that in catalog/model/checkout/order.php you need to change both lines 69 and 111 from:

Code: Select all

'invoice'    => $this->url->http('account/invoice') 
to:

Code: Select all

'invoice'    => $this->url->http('account/invoice') . '&order_id=' . $order_id
Thanks,

Henry

Newbie

Posts

Joined
Wed Feb 25, 2009 2:09 pm

Who is online

Users browsing this forum: No registered users and 11 guests