Support » Plugin: eShop » [Plugin: eShop] {CART} in out bound emails missing line breaks

  • HI!

    Seems that the “\n” is ignored in the outbound emails. This needs to be replaced by a “<br \>”.
    This is in cart-functions.php in function eshop_rtn_order_details($checkid).
    For example, from:
    $cart.=__(‘Transaction id:’,’eshop’).’ ‘.$transid.”\n”;
    to:
    $cart.=__(‘Transaction id:’,’eshop’).’ ‘.$transid.”<br \>”;

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just to add – this is needed when the Content-type is text/html

    Plugin Author elfin

    (@elfin)

    I only code for text emails, if you want to change it to html you are on your own.

    Thanks.
    I do appreciate that and your hard work.
    It can be a nice feature to have the option from the admin to set text or html emails. all it requires are the line break changes as well as adding these lines to the cart-functions.php:
    $headers .= “MIME-Version: 1.0\r\n”;
    $headers .= “Content-type: text/html; charset=utf-8\r\n”;

    Thanks!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: eShop] {CART} in out bound emails missing line breaks’ is closed to new replies.