View Issue Details

IDProjectCategoryView StatusLast Update
0002033OXID eShop (all versions)1.05. Userspublic2010-08-19 16:20
ReporterBergfreunde Assigned To 
PriorityhighSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.2 revision 27884 
Fixed in Version4.4.2 revision 29492 
Summary0002033: Shop sends too many newsletter double-opt-in mails during order process when user switches back to step 2
DescriptionWhen user wants to subscribe for newsletter during the order-process and double-opt-in is activated (what it should be in germany!) the user receives an e-mail every time he switches from step 2 to step 3. To avoid mail-flooding you have to make sure only one mail gets send here.

possible solutions:
- save information in session that mail was already send and don't send again
- move action to another position (maybe to thankyou.tpl)
Steps To Reproduce- Active Double-Opt-In in shop admin --> Master Settings - Core Settings - Settings - Administration - "Activate Double Opt-In if Users register for Newsletter"
- put an article to basket
- go into basket
- activate newsletter-checkbox in step 2 (user.tpl)
- go foreward to step 3 (e-mail was send)
- go back to step 2 (maybe want to change adress-information e.g.)
- go foreward to step 3 (mail was send again)
TagsNo tags attached.
Theme
BrowserAll
PHP Versionany
Database Versionany

Activities

rimvydas_paskevicius

2010-08-19 16:20

reporter   ~0003414

Added additional checking if mail was sent in oxuser::setNewsSubscription. If yes, parameter is stored in session for informing that email already was sent. This will force sending email only once.