Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2006
    Posts
    47
    Plugin Contributions
    0

    Default Chande Payment Method Display in Order Details

    In the order detail screen it displays...

    Invoice No. 2083Date 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Chande Payment Method Display in Order Details

    Which payment module was used to collect their payment ?
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2006
    Posts
    47
    Plugin Contributions
    0

    Default Re: Chande Payment Method Display in Order Details

    Linkpoint

    Thanks!
    Michelle

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default 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:
    Code:
    <h4><?php echo HEADING_PAYMENT_METHOD; ?></h4>
    <div><?php echo $order->info['payment_method']; ?></div>
    You could try changing that to this:
    Code:
    <h4><?php echo HEADING_PAYMENT_METHOD; ?></h4>
    <div><?php echo $order->info['payment_method'] . ': ' . $order->info['cc_type']; ?></div>
    .
    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2006
    Posts
    47
    Plugin Contributions
    0

    Default 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:
    Code:
               <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td>
               <td class="main"><?php echo $order->info['payment_method']; ?></td>
    To read:

    Code:
               <td class="main"><strong><?php echo ENTRY_PAYMENT_METHOD; ?></strong></td>
               <td class="main"><?php echo $order->info['cc_type']; ?></td>
    Thank you!
    Michelle

  6. #6
    Join Date
    Nov 2006
    Posts
    47
    Plugin Contributions
    0

    Default 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

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

 

 

Similar Threads

  1. Details missing after "payment method" in order invoice.
    By glamourdolleyes in forum Managing Customers and Orders
    Replies: 1
    Last Post: 2 Oct 2014, 02:14 PM
  2. display payment method icons in main screen
    By beavertje in forum Basic Configuration
    Replies: 3
    Last Post: 9 May 2009, 06:35 PM
  3. payment method display not right...
    By waghelak in forum General Questions
    Replies: 2
    Last Post: 1 Oct 2007, 03:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg