Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Aug 2007
    Posts
    29
    Plugin Contributions
    0

    Default Customizing receipt for specific items

    Hello all,
    I'd like to include a note on the receipt that is emailed to customers, but only for specific products. Is this possible?

    Thanks for your help,
    Leah

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

    Default Re: Customizing receipt for specific items

    You'll have to write custom code to intercept the generated order contents and add extra content to the email it sends.
    That involves scalpel and sutures and a careful study of the order class and its intricasies.

    In v2.0, using a combination of the notifier/observer infrastructure and the new email templating system, the process is much simpler, although not trivial.
    .

    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
    Aug 2007
    Posts
    29
    Plugin Contributions
    0

    Default Re: Customizing receipt for specific items

    Thanks for your response, Dr. Byte.

    I've followed the directions here (http://www.zen-cart.com/forum/showpo...57&postcount=1) to add a new property and added a field to the product information in the back end. I know that it's being captured in the database. Now all I need to do is add a space in the receipt to show the extra note. I believe the files I need to be editing are

    admin/classes/order.php
    includes/languages/english/checkout_process.php

    but I'm not sure what the PHP call should look like to get the information back out. Can you help?

    Thanks so much!
    Leah

 

 

Similar Threads

  1. Paypal Receipt for payment Notification email has total but NO ITEMS!
    By squirtlapenna in forum PayPal Express Checkout support
    Replies: 1
    Last Post: 28 Aug 2009, 11:38 AM
  2. Automatic coupons for specific items
    By jmarler in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 25 Sep 2008, 10:46 PM
  3. Specific shipping for certain items
    By naturalolive in forum Addon Shipping Modules
    Replies: 0
    Last Post: 19 Sep 2008, 04:23 AM
  4. Customizing Info Display for a specific Sale Category
    By KNC_JOHN in forum Setting Up Specials and SaleMaker
    Replies: 4
    Last Post: 19 Jan 2008, 05:46 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