Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by Flaggi

  1. No Admin order emails! Soooo this is what I did to get round this as in checkout_process.php the contribution was stopping any order emails except one html one to the customer. In email_invoice.php find near the bottom:


    $ei_message->send($order2->customer['name'], $order2->customer['email_address'], STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, EMAIL_TEXT_SUBJECT . ' ' . $insert_id . ' - ' . STORE_NAME);
    After it add:




        tep_mail($order->customer['firstname'] . ' ' . $order->customer['lastname'], $order->customer['email_address'], EMAIL_TEXT_SUBJECT, $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS);
    What this does is send the usual Admin text based order email that you'd get without this contribution and sends the fancy html invoice to the customer plus a text based invoice similar to Admin order as well. If you don't want this remove:





    I know that it is over two years since you posted this but i´d like to leave a comment for those like me who just found the addon.

    Altering the code like you suggested will only send a copy of the mail to the store owner and leave the built in funktion to send copies to alternate mail accounts broken.


    I´d suggest to comment out the following code instead:

    if (SEND_EXTRA_ORDER_EMAILS_TO != '') {$ei_message->send(STORE_OWNER, SEND_EXTRA_ORDER_EMAILS_TO, $order2->customer['name'], $order2->customer['email_address'], EMAIL_TEXT_SUBJECT . ' ' . $insert_id); 

    And replace it with:


    This will use the HTML version for customers and text version of the order for copies  but send it to all alternative email adresses specified on the admin side.

  2. I´m lovong your contrib but i´m having a slight issue and i hope you can point me in the right direction.


    It´s when you get to the fast checkout:


    If you select shipping and press update before you select and update your choice of payment the radio button "Confirm Order" won´t show and you get stuck.


    To solve it you have to refresh the page and make shure to select payment first and then shipping (doing it this way always works but its frustrating since the potential customer doesn´t know this :)

  3. Im using your contrib. and exept for one db issue its working fine.

    I´ve altered create order.php to make it work but the problem existed before and shouldn´t have anything to do with that file anyway.


    When i add some products to an existing order the text field with tax will not update correct.

    I´m having some problems putting my finger on the issue since it doesn´t happen with all products, only some  :wacko:


    When the problem occurs the ot_tax field in the DB is updated with a low number, usually 1 - 4 nomatter how big the total price of the order is.