Announcement

Collapse
No announcement yet.

Email format problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Email format problem

    Hi

    Trivial but annoying:

    The confirmation of order received that the customer gets is formatted wrongly - mostly left justified but parts centred (see below)>>>>>>>>>>>

    Thank you for shopping at The Nail Care Club .
    We have received and are processing the following order:

    ******************************************************
    Order Number: AW79DW10000320
    Order Date: 16/7/2003 12:18 GMT

    Ship To:
    Anna Wilde
    Peaton Rough
    Craven Arms
    sy7 9dw
    United Kingdom
    01584 841555
    annawilde@perfectarc.com



    Shopping Cart (Prices in £s)
    DESCRIPTION QUANTITY Price: COST
    ----------------------------------------------------------------------
    SuperNail Supershine 1 £2.34 £2.34
    ======================================================================
    Subtotal: £2.34
    Shipping (Standard Charge): £2.50
    VAT: £0.41
    Total price (BEFORE any discounts schemes applied): £5.25


    ******************************************************


    Sincerely,
    Carolyn Sears
    The Nail Care Club

    >>>>>>>>

    I can't find out how to correct this - it's the part from below the line beginning 'Subtotal' that is centred.

    Anyone help?

    Cheers

    Anna
    PerfectArc Ltd

    #2
    I don't think it is that it is centred. I think it is that the Perl (which generates the email) puts tabs before the valaues you identify in order to make it look right-justified.

    Of course, if you are using a non-proportional font in your email reader, then it will look out of alignment.

    No ideas how to fix it I'm afriad. Maybe if Zoltan is around he can advise.

    Comment


      #3
      Correct, the lines are not centered but aligned to have a nice layout with proportional fonts. If you want to get rid of this formatting then you can do this only by some script customisation. The appropriate fragments can be found in GenerateCustomerMail function of Orderscript.pl. If you can see lines like
      Code:
      $ACTINIC::B2B->AppendXML('CART', sprintf(sprintf(" %%%ds\r\n", $nPriceColumnWidth), $sSubTotal));
      then you are looking to the right place. But I wouldn't suggest to do any customisation without perl skills.

      Regards,
      Zoltan
      Actinic Software
      www.actinic.co.uk

      Comment

      Working...
      X