Jump to content

atomreaktor

Member
  • Posts

    5
  • Joined

  • Last visited

Posts posted by atomreaktor

  1. Hello guys,
    I'm running one stores with two payment gateways, Paypal and Print Order Form.

     

    How can I add a percent discount (-3% to basket) by selecting print order form?

     

    I've tried to add the discount like this (in /modules/gateway/Print_Order_Form/gateway.class.php)

     

    $transData['amount']        = $order_summary['total']*0.97;

     

    But it didn't help. Where should I add the percent discount?

     

     

    Regards,

    Atomreaktor

  2. Good morning,

     

    Please verify that the emails you receive have, in the email headers, a declaration that the email is in UTF-8. Looking at a few of the emails that I have received has: Content-Type: text/html; charset="utf-8".

     

    Yes, the emails show utf-8.

    Here one of the emails (source code):

     

     

    ....

    Subject: =?UTF-8?Q?Best=C3=A4tigung_der_Bestellung_#140226-133458-9882?=

    ....

    Content-Type: text/plain; charset=UTF-8
    Content-Transfer-Encoding: 8bit
    
    Danke, ÜÄÖ Mustermann!
            
            Ihre Bestellung 140226-133458-9882, die am 26 Feb 2014, 13:34 aufgegeben wurde, ist bei uns eingegangen. Bitte bewahren Sie diese E-Mail für Ihre Unterlagen auf. Es ist möglich, den Status Ihrer Bestellung online einzusehen. 
            
            http://xxxxxxx.de/index.php?_a=vieworder&cart_order_id=140226-133458-9882
            
            ----------------------------------------------------------------------
            Rechnungsadresse:
            ÜÄÖ Mustermann
            Maxstraße 4
            Berlin
            Baden-Württemberg
            123456

    ....

     

    Subject (Bestätigung der Bestellung #140226-133458-9882), names and adresses are correct, but the text has some sign errors.

    In /language/email_de-DE.xml I find the text

     

     

    <?xml version="1.0" encoding="UTF-8"?>
    <emails version="2.0" language="de-DE">

    ...

    ...

    <email name="cart.order_confirmation">

        <subject>
          <![CDATA[bestätigung der Bestellung #{$DATA.cart_order_id}]]>
        </subject>
        <content type="html">
          <![CDATA[<p>Danke, {$DATA.first_name}!</p>
            <p>Ihre Bestellung {$DATA.cart_order_id}, die am {$DATA.order_date} aufgegeben wurde, ist bei uns eingegangen. Bitte bewahren Sie diese E-Mail für Ihre Unterlagen auf. Es ist möglich, den Status Ihrer Bestellung online einzusehen.</p> 
            <p><a href="{$DATA.link}">{$DATA.link}</a></p>
    ...
    ...
        </content>
      </email>
    </emails>

    Rewriting, i.e.: ü -> &uuml; didn't help, same sign errors.

    Any ideas?

     

    Thanks a lot and best regards,

    Atomreaktor

  3. Hello guys,
    I'm running one stores with german language. On the page allover the charset seems to be right, but when a customer buys, he gets the automatic emails with ä,ü,ö displayed.

     

     

    Bitte bewahren Sie diese E-Mail für Ihre Unterlagen auf.

     

    How can I fix it, where is the .php data to fix? How can i get these chars to display?

    Re-typing the German characters in /language didn`t help. I use php mail function.

     

    Regards,

    Atomreaktor

     

×
×
  • Create New...