Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Email Invoice Problem


DennisV

Recommended Posts

Hi,

 

I'am trying to configure a new shop by using OSC.

 

I have replaced the orriginal order process email with the "email invoice" contribution.

It all works fine only one thing in bothering me, on the invoice the country United States is showing only as a "U".

It occurs with all country's, someone living in the Netherlands? only an "N" will appear on the invoice!

 

Doe anyone know how i can change it?

I have tried to email the contributor, but after a few weeks i haven't heard a thing!

 

A printscreen of the email invoice is here:

 

http://www.dennisvonk.com/invoice.jpg

 

Best regards,

 

Dennis Vonk

Link to comment
Share on other sites

Hi,

 

I'am trying to configure a new shop by using OSC.

 

I have replaced the orriginal order process email with the "email invoice" contribution.

It all works fine only one thing in bothering me, on the invoice the country United States is showing only as a "U".

It occurs with all country's, someone living in the Netherlands? only an "N" will appear on the invoice!

 

Doe anyone know how i can change it?

I have tried to email the contributor, but after a few weeks i haven't heard a thing!

 

A printscreen of the email invoice is here:

 

http://www.dennisvonk.com/invoice.jpg

 

Best regards,

 

Dennis Vonk

 

See this. http://www.oscommerce.com/community/contri.../search,patches

 

 

It is abug with the latest OSC.

Link to comment
Share on other sites

I'am running MS2-060817, i've copyed all the files but the problem still occurs.

 

Anybody?????

Please????

 

Best regards,

 

DennisV

This is the part that produces your problem.

 

------------------------------------------------------------------------------

Use The Correct Country Name Value When Formatting Addresses

http://www.oscommerce.com/community/bugs,1291

http://svn.oscommerce.com/trac/changeset/713

------------------------------------------------------------------------------

 

Problem:

 

Depending on the values passed to tep_address_format(), an array value could be used as the country name instead of a string value.

 

Solution:

 

The following line must be replaced in catalog/includes/functions/general.php:

 

Line 453, from:

 

$country = tep_output_string_protected($address['country']);

 

to:

 

$country = tep_output_string_protected($address['country']['title']);

 

So just change it back to

 

$country = tep_output_string_protected($address['country']);

Link to comment
Share on other sites

Just one thing.

 

I noticed that the black line (separator) <td colspan="2"><?php echo tep_draw_separator(); ?></td> is not showing on the email invoice, in the admin panel everything is OK.

 

Anybody a solution????

 

Best regards,

 

DennisV

Link to comment
Share on other sites

Edit: in the PARSED source of the invoice in the admin this line showes: <td colspan="2"><img src="images/pixel_black.gif" border="0" alt="" width="100%" height="1"></td>

In the source of the email this in shown: http://shopadres/pixel_black.gif

And on the email invoice, a black dot is showing, but not a line!

 

Best regards,

 

DennisV

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...