Modify

Opened 6 years ago

Closed 6 years ago

#1824 closed Bug/Fehler (fixed)

Willkommens Gutschein/Coupon Problematik aufgrund von Schalter SEND_MAIL_ACCOUNT_CREATED

Reported by: Torsten Riemer Owned by: somebody
Priority: normal Milestone: modified-shop-2.0.6.0
Component: Shop Version: 2.0.5.1
Keywords: Cc:
Blocked By: Blocking:

Description

Wir versenden eine Account-Erstellungs E-Mail nur dann, wenn unter "Konfiguration" -> "E-Mail Optionen" -> "E-Mail bei Kontoerstellung" auf "Ja" steht.

Die Einstellung kam mit Shopversion 2.0.0.0 hinzu und wird standardmäßig auf "Nein" gesetzt.
Aktualisiert man nun einen 1.0x Shop, der entweder im Feld Willkommens Gutschein oder Coupon einen Wert einträgt und davon ausgeht, dass der Kunde diesen auch erhält, dann wird kein Code an den Kunden versendet.

Wir sollten den Code in der "create_(guest_)account.php" entsprechend überarbeiten:

      if (SEND_EMAILS == 'true' && SEND_MAIL_ACCOUNT_CREATED == 'true') {
        xtc_php_mail(EMAIL_SUPPORT_ADDRESS, 
                     EMAIL_SUPPORT_NAME, 
                     $email_address, 
                     $name, 
                     '', 
                     EMAIL_SUPPORT_REPLY_ADDRESS, 
                     EMAIL_SUPPORT_REPLY_ADDRESS_NAME, 
                     '', 
                     '', 
                     EMAIL_SUPPORT_SUBJECT, 
                     $html_mail, 
                     $txt_mail);
      }

Alternativ können wir auch einfach bei den Config-Feldern für den Willkommens Gutschein/Coupon einen Hinweis schreiben, dass die Einstellung "Konfiguration" -> "E-Mail Optionen" -> "E-Mail bei Kontoerstellung" auf "Ja" gestellt werden muss.

Attachments (0)

Change History (1)

comment:1 by Gerhard Waldemair, 6 years ago

Resolution: fixed
Status: newclosed

In 12753:

fix #1824 - fix sending voucher/coupon if SEND_MAIL_ACCOUNT_CREATED = false

Modify Ticket

Action
as closed The owner will remain somebody.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.