Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Location
    Sacramento, CA
    Posts
    64
    Plugin Contributions
    1

    Default Adding coupon code to invoice

    Hi all,

    A month or two ago, I figured out how to add coupon codes used for an order to packing slips. I used this code:

    Code:
    <?php echo '<b>Member Discount Code: </b>' . ' '  .$order_coupon_slip->fields['coupon_code']; ?>
    If you put this in a table in the super_packingslip.php file in the admin, it'll pull the coupon code from the orders table and display it on the packing slip.

    That's great, but I recently tried to use the same code for super_invoices, and it didn't work. Any ideas why?

    Thanks ahead of time,

    luke

  2. #2

    Default Re: Adding coupon code to invoice

    This was a big help. Thank you.
    I ended up editing orders.php I inserted

    <tr>
    <td><strong>Coupon Code: </strong></td>
    <td class="main"><?php echo $order->info['coupon_code']; ?></td>
    </tr>

 

 

Similar Threads

  1. v151 List the coupon code on the invoice
    By cyberfolli in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 14 Dec 2013, 08:14 PM
  2. Adding another Coupon Redemption Code
    By Redcinamn in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Jan 2011, 06:48 PM
  3. adjusting invoice and adding coupon
    By serrow in forum General Questions
    Replies: 0
    Last Post: 6 Mar 2009, 02:04 PM
  4. Adding a coupon code to payment page
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 23 Dec 2008, 03:51 AM
  5. how can I code in a default coupon code into checkout page redeem, then auto-refresh?
    By lankeeyankee in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 29 Nov 2008, 04:56 AM

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