Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Jun 2006
    Posts
    298
    Plugin Contributions
    0

    Default Order Confirmation Conditional Text

    I need to add a statement to the order confirmation email if the order meets the following conditions:

    1) Customer's first order
    2) Payment module is payflow
    3) Order total is over $500

    I defined the message in a the email_extras.php file, but am stuck on the if statement in the order.php file to specify who should see it.

    if (($total_products_price > '499.99') && ($this->info['payment_module_code'] == 'payflow') && (CUSTOMER HAS NO OTHER ORDERS?)){
    $email_order .= NEWCUSTOMERSIGN . "\n" ;
    $html_msg['NEWCUSTOMERSIGN'] = NEWCUSTOMERSIGN;
    }

    Any help would be greatly appreciated. Thank you! :)
    Last edited by abcisme; 17 Jul 2015 at 06:08 PM.

 

 

Similar Threads

  1. v139h Add text to Order Confirmation emails (Text email only)
    By gsh68 in forum General Questions
    Replies: 6
    Last Post: 19 Sep 2012, 10:47 AM
  2. Add Text to Order Confirmation
    By azimpact in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2010, 09:03 PM
  3. Replies: 0
    Last Post: 23 Jan 2009, 09:59 PM
  4. Confirmation Emails - conditional by category?
    By davestrand in forum General Questions
    Replies: 4
    Last Post: 4 May 2007, 02:59 PM
  5. Broken text in order confirmation email
    By dustygain in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 16 Jun 2006, 02:37 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