Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    Default [Fixed v1.5.1] Hardcoded text in Reports/Customer Referrals

    Running 1.5.0, no mods. There is hardcoded text in \YOUR_ADMIN\stats_customers_referrals.php, lines 151-152:

    Code:
                <td class="main" align="left">Order #<?php echo $customers_orders->fields['orders_id']; ?></td>
                <td class="main" align="left">Discount Coupon ID# <?php echo $customers_orders->fields['coupon_code']; ?></td>

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,870
    Plugin Contributions
    96

    Default Re: Hardcoded text in Reports/Customer Referrals

    Also on lines 160-161:

    Code:
               '                <td align="left" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Text">' . $order->totals[$i]['title'] . '</td>' . "\n" .
               '                <td align="right" class="'. str_replace('_', '-', $order->totals[$i]['class']) . '-Amount">' . $order->totals[$i]['text'] . '</td>' . "\n" .

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Hardcoded text in Reports/Customer Referrals

    #1 - Fixed v1.5.1
    #2 - irrelevant
    .

    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.

 

 

Similar Threads

  1. Customer Referrals
    By Press Play Music in forum Managing Customers and Orders
    Replies: 6
    Last Post: 1 Jul 2008, 05:55 PM
  2. Customer Referrals Report
    By dorotas in forum General Questions
    Replies: 0
    Last Post: 5 Nov 2007, 10:46 PM
  3. [Done v1.4.0] Hardcoded text found
    By pasi in forum Bug Reports
    Replies: 1
    Last Post: 31 Oct 2006, 07:19 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