After the update, when i try to print the order details at the admin screen I can not see customer details at the print. However this was working at the earlier version. Can you please tell me the solution?
Is there anyone to help me?
[quote name='kogi' timestamp='1314616564' post='120550']
http://forum.cs-cart.com/tracker/issue-2682-bug-print-order/page__verfilter__44
[/quote]
not open your link
Are you using community or pro?
[quote name='' date='22 August 2011 - 10:53 PM']
Updating version to: 2.2.2 PRO
Updating severity to: 4 - High
Updating status to: Fixed in next version
Thank you for the information.
You can resolve this problem by yourself, please make the following changes.
- Edit file “skins/basic/mail/orders/invoice.tpl”
Near the 117 line add three lines:
```php
skins/basic/mail/orders/invoice.tpl
@@ -114,6 +114,9 @@
{hook name=“orders:invoice_customer_info”}
-
{if !$profile_fields}
-
{assign var="profile_fields" value='I'|fn_get_profile_fields}
-
{/if}
{if $profile_fields}
```
After applying these changes, “Customer info” section will be displayed on the “Print invoice” page.
2. If you are using CS-Cart Professional Edition with enabled Suppliers functionality, please make the following changes in the “skins/basic/mail/orders/supplier_invoice.tpl” file.
```php
skins/basic/mail/orders/supplier_invoice.tpl
@@ -28,6 +28,9 @@ p,ul {$ldelim}
{* Customer info *}-
{if !$profile_fields}
-
{assign var="profile_fields" value='I'|fn_get_profile_fields}
-
{/if}
{assign var="contact_fields" value="`$profile_fields.C`"|array_slice:0:4}
```
This fix provided in unified diff format, see:
Unified Diff Format
UNIX diff Unified Report Example
Thank you for your help.
[/quote][quote name='kogi' timestamp='1314653333' post='120587']
Are you using community or pro?
[/quote]
tank you kogi
my cs cart
version 2.2.2
type PROFESSIONAL
I make do chance
But not work
how make work do thisOk, If you have bought the software. then contact support. Your purchase includes 30 days technical support.
Then also ask them why your forum account is in “Trial users” Group
kogiI fix problem if need any people
Open the invoice.tpl file located in the skins/[CUSTOMER_ACTIVE_SKIN]/mail/orders directory.
find
{hook name=“orders:invoice_customer_info”}
and add under
{assign var=“profile_fields” value='I'|fn_get_profile_fields}
-