Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Chande Payment Method Display in Order Details

Chande Payment Method Display in Order Details

Locked

Views: 1,093

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
28 Sep 2007, 4:44 AM
#1
vs4hire avatar

vs4hire

New Zenner

Join Date:
Nov 2006
Posts:
47
Plugin Contributions:
0

Chande Payment Method Display in Order Details

In the order detail screen it displays...

Invoice No. 2083****Date Purchased:Thursday 27 September, 2007Payment Method:Credit Card
How do I get the "Credit Card" to show up as the actual credit card type??

Thanks!
Michelle

28 Sep 2007, 6:22 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Chande Payment Method Display in Order Details

Which payment module was used to collect their payment ?

30 Sep 2007, 1:25 AM
#3
vs4hire avatar

vs4hire

New Zenner

Join Date:
Nov 2006
Posts:
47
Plugin Contributions:
0

Re: Chande Payment Method Display in Order Details

Linkpoint

Thanks!
Michelle

30 Sep 2007, 6:28 AM
#4
drbyte avatar

drbyte

Sensei

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

Re: Chande Payment Method Display in Order Details

Assuming you're referring to order details that the customer sees in their My Account area ...
/includes/templates/YOURTEMPLATE/templates/tpl_account_history_info_default.php
near the bottom, you have this:

<h4><?php echo HEADING_PAYMENT_METHOD; ?></h4>
<div><?php echo $order->info['payment_method']; ?></div>
```You could try changing that to this:```
<h4><?php echo HEADING_PAYMENT_METHOD; ?></h4>
<div><?php echo $order->info['payment_method'][B] . ': ' . $order->info['cc_type'][/B]; ?></div>
30 Sep 2007, 1:50 PM
#5
vs4hire avatar

vs4hire

New Zenner

Join Date:
Nov 2006
Posts:
47
Plugin Contributions:
0

Re: Chande Payment Method Display in Order Details

That didn't work, but since I knew what to look for and what to replace it with, I went into admin/orders.php

I changed:

           <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td>
           <td class="main"><?php echo $order->info['payment_method']; ?></td>

To read:

           <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td>
           <td class="main"><?php echo $order->info['cc_type']; ?></td>

Thank you!
Michelle

30 Sep 2007, 1:53 PM
#6
vs4hire avatar

vs4hire

New Zenner

Join Date:
Nov 2006
Posts:
47
Plugin Contributions:
0

Re: Chande Payment Method Display in Order Details

Ok - just realized that won't work for PayPal payments - so I went back and changed it to

<td class="main"><?php echo $order->info['cc_type'] . ': ' . $order->info['cc_type']; ?></td>

Thanks again!
Michelle