Jump to content

logo, emailadres en passwd niet zichtbaar in mails die klanten ontvangen na aankoop


Recommended Posts

Hallo,

Ik heb het volgende probleem nadat ik heb zitten experimenteren met de vertalingen:

Als een klant iets bestelt krijgt hij 2 mails:

De eerste heet "order details" en daarop is het logo dat ik heb ingesteld bij modules / themes/ factuurlogo niet te zien (er staat een kruisje met de naam van onze shop).

In de 2e mail , met de naam "Uw account login gegevens" is dit logo wel te zien, maar staat bij Emailadres: {email} en bij Wachtwoord: {passwd} i.p.v. de door de klant gekozen woorden.

 

Is hier iets aan te doen?

 

Groeten, Roel.

Link to comment
Share on other sites

Hoi,

 

Waarschijnlijk staat de code niet goed in je mail template account.html en order_conf.html

die vind je in de map mails/je taal/

 

Dit kan omstaan zijn door bijwerken vertalingen,,probeer de originele templates eens te uploaden(back-up)

Link to comment
Share on other sites

Yup, Frens heeft helemaal gelijk en dit heb ik vaker gezien.

 

Waarschijnlijk staat in de code van account.html %7Bemail%7D en %7passwd%7D. Dit moet je dan veranderen in {email} en {passwd}. En hetzelfde geldt voor order_conf.html: verander src="%7Bshop_logo%7D" in src="{shop_logo}"

 

Andreas

Link to comment
Share on other sites

Ik vraag me af of dit inmiddels is opgelost (fout in sommige email templates na vertalen) in de nieuwe versie)s)

 

 

Overigens moet dan ook de mail bestanden in de map modules/mailalerts/nl/ gecontroleerd worden o.a new_order.html

 

 

Het beste is om al deze bestanden lokaal te bewaren en na een vertaling in de BO deze weer opnieuw te uploaden,zolang deze bug er is.

Edited by Frens (see edit history)
Link to comment
Share on other sites

Hallo Andreas en Frens.

Bedankt voor jullie snelle reacties.

 

Ik heb de account.html hierbij gekopieerd:

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Message from {shop_name}</title>

</head>

<body>

<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;">

<tbody>

<tr>

<td align="left"><a title="{shop_name}" href="{shop_url}"><img style="border: none;" src="{shop_logo}" alt="{shop_name}" /></a></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Hallo <strong style="color: #db3484;">{firstname} {lastname}</strong>,</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="background-color: #db3484; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Uw account login gegevens</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Emailadres: <strong><span style="color: #db3484;">{email}</span></strong> <br /> Wachtwoord: <strong>{passwd}</strong></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left"><strong>Veiligheidstips:</strong> <br /> <br /> Bewaar uw account gegegevens op een veilige plaats. <br /> Verstrek uw login gegevens nooit aan derden. <br /> Wijzig u wachtwoord regelmatig. <br /> Als u vermoedt dan iemand anders uw account illegaal gebruikt, neem dan onmiddellijk contact met ons op.</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">U kunt nu orders op onze website plaatsen: <a href="{shop_url}">{shop_name}</a>.</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: #db3484; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a></td>

</tr>

</tbody>

</table>

</body>

</html>

 

 

Ik vind niets over %7Bemail.................... etc.

 

Hierbij de order_conf.html:

 

 

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>Message from {shop_name}</title>

</head>

<body>

<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px;" border="0">

<tbody>

<tr>

<td align="left"><a title="{shop_name}" href="%7Bshop_url%7D"><img src="%7Bshop_logo%7D" alt="{shop_name}" /></a></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Hallo <strong style="color: #db3484;">{firstname} {lastname}</strong>, bedankt voor het winkelen bij <strong>{shop_name}</strong>.</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="padding: 0.5em 1em; background-color: #db3484; color: #ffffff; font-size: 12px; font-weight: bold;" align="left">Bestelling details</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Bestelling: <strong><span style="color: #db3484;">{order_name}</span> geplaatst op {date}</strong> <br /> Betaling: <strong>{payment} op rekeningnr. 527020591 t.n.v. Roel Rutjes<br /></strong></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left"><br />

<table style="font-family: Verdana,sans-serif; font-size: 11px; color: #374953; width: 550px; height: 215px;" border="0"><!-- Title -->

<tbody>

<tr style="background-color: #b9babe; text-align: center;"><th style="padding: 0.6em 0pt; width: 15%;">Referentie</th><th style="padding: 0.6em 0pt; width: 35%;">Product</th><th style="padding: 0.6em 0pt; width: 15%;">Eenheidsprijs</th><th style="padding: 0.6em 0pt; width: 15%;">Aantal</th><th style="padding: 0.6em 0pt; width: 20%;">Totaalbedrag</th></tr>

<!-- Products --><!-- Footer: prices -->

<tr style="text-align: right;">

<td> </td>

<td style="padding: 0.6em 0.4em; background-color: #b9babe;" colspan="3">{products}  </td>

<td style="padding: 0.6em 0.4em; background-color: #b9babe;"> </td>

</tr>

<tr style="text-align: right;">

<td> </td>

<td style="padding: 0.6em 0.4em; background-color: #ebecee;" colspan="3"> </td>

<td style="padding: 0.6em 0.4em; background-color: #ebecee;"> </td>

</tr>

<tr style="text-align: right;">

<td> </td>

<td style="padding: 0.6em 0.4em; background-color: #ebecee;" colspan="3"> </td>

<td style="padding: 0.6em 0.4em; background-color: #ebecee;"> </td>

</tr>

<tr style="text-align: right;">

<td> </td>

<td style="padding: 0.6em 0.4em; background-color: #dde2e6;" colspan="3">Verzendkosten</td>

<td style="padding: 0.6em 0.4em; background-color: #dde2e6;">{total_shipping}</td>

</tr>

<tr style="text-align: right; font-weight: bold;">

<td> </td>

<td style="padding: 0.6em 0.4em; background-color: #f1aecf;" colspan="3">Totaalbedrag</td>

<td style="padding: 0.6em 0.4em; background-color: #f1aecf;">{total_paid}</td>

</tr>

</tbody>

</table>

</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="padding: 0.5em 1em; background-color: #db3484; color: #ffffff; font-size: 12px; font-weight: bold;" align="left">Verzending</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left">Vervoerder: <strong>{carrier}</strong></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td>

<table style="width: 100%; font-family: Verdana,sans-serif; font-size: 11px; color: #374953;">

<tbody>

<tr style="background-color: #b9babe; text-transform: uppercase;"><th style="padding: 0.3em 1em; text-align: left;">VERZENDADRES</th><th style="padding: 0.3em 1em; text-align: left;">FACTUURADRES</th></tr>

<tr>

<td style="padding: 0.5em 0pt 0.5em 0.5em; background-color: #ebecee;">{delivery_company} <br /> <span style="color: #db3484; font-weight: bold;">{delivery_firstname} {delivery_lastname}</span> <br /> {delivery_address1} <br /> {delivery_address2} <br /> {delivery_city} {delivery_postal_code} <br /> {delivery_country} {delivery_state} <br /> {delivery_phone} <br /> {delivery_other}</td>

<td style="padding: 0.5em 0pt 0.5em 0.5em; background-color: #ebecee;">{invoice_company} <br /> {invoice_vat_number} <br /> <span style="color: #db3484; font-weight: bold;">{invoice_firstname} {invoice_lastname}</span> <br /> {invoice_address1} <br /> {invoice_address2} <br /> {invoice_city} {invoice_postal_code} <br /> {invoice_country} {invoice_state} <br /> {invoice_phone} <br /> {invoice_other}</td>

</tr>

</tbody>

</table>

</td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td align="left"><span style="font-family: arial,helvetica,sans-serif;">U kunt deze order bekijken en uw factuur downloaden via de <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="http://translations.prestashop.com/versions/svn/trunk/mails/nl/%7Bshop_url%7Dhistory.php">"Order geschiedenis"</a> sectie van uw account door op onze website te klikken op <a style="color: #db3484; font-weight: bold; text-decoration: none;" href="http://translations.prestashop.com/versions/svn/trunk/mails/nl/%7Bshop_url%7Dmy-account.php">"Mijn account"</a>. Zodra uw overboeking op onze rekening is bijgeschreven, sturen wij het bestelde artikel op.</span></td>

</tr>

<tr>

<td> </td>

</tr>

<tr>

<td style="border-top: 1px solid #d9dade; font-size: 10px;" align="center"> </td>

</tr>

</tbody>

</table>

</body>

</html>

 

Hierbij wel %7Bshop_logo%7D.

Dit zal ik dan ook zo vervangen door shop_logo

Link to comment
Share on other sites

Wat betreft {email} en {passwd} in account.html, dat ziet er inderdaad correct uit. Dus ik weet dan ook niet waarom die variabelen niet worden omgezet in hun waarden. Heb je zelf al eens account aangemaakt op je shop en zie je dan hetzelfde als je klant? Of zijn er soms bestanden aangepast waardoor die variabelen niet meer werken?

Link to comment
Share on other sites

In de order...html is in elk geval fout

 

<td align="left"><a title="{shop_name}" href="%7Bshop_url%7D"><img src="%7Bshop_logo%7D" alt="{shop_name}" /></a></td>

 

%7B en %7D moet weg

 

dit moet zijn

 

{shop_url}

 

zoek eventueel naar meerdere %7B en %7D in bestand(en)

Dit lost je probleem nog niet helemaal op, het gaat hier om foute linken in mail

 

 

Edit

Dit had je zelf al gezien , zie ik nu !

Edited by Frens (see edit history)
Link to comment
Share on other sites

Hallo Frens en Andreas,

Het logo in de order is zichtbaar geworden nadat ik de %7 teksten eruit gehaald heb! KLASSE!

Alleen in de account-mail krijg ik nog steeds: Emailadres {email} en Wachtwoord: {passwd}.

Maar nu heb ik ontdekt dat als ik zelf iets bestel en al ingelogd ben, ik deze account-mail (waiting bank wire payment) krijg zonder mailadres en wachtwoord dus.

Als ik echter opnieuw inlog (met nieuw mailadres, dus als nieuwe klant) krijg ik 3 mails in mijn mailbox i.p.v. 2.

Nl.:

- de order mail (is okay nu)

- de foute account-mail

- een welkom-mail

 

En in die welkom-mail staan wel de juiste gegevens voor mailadres en wachtwoord.

Kan ik het misschien ergens zo instellen dat de klant altijd alleen nog de ordermail en de welkom-mail krijgt (zowel voor nieuwe als ingelogde kanten)?

Die account-mail komt dus te vervallen.

Dan is het voor mij ook opgelost.

 

Groeten, Roel.

Link to comment
Share on other sites

Hoi

 

Ik weet niet waarom het bij jou niet werkt. misschien kun je de gewijzigde bestanden eens nalopen/vervangen (datum van veranderingen).

 

"waiting bank wire payment" deze mail bevat ook geen wachtwoord .

 

Of je de account-mail naar klant uitschakelen kunt via BO is mij niet bekend, de enigste verwijzing in bestanden die ik tegenkom staat in:

classes/laquages.php

 $mFiles =  array('account.html', 'account.txt', 'bankwire.html', 'bankwire.txt',...........

Edited by Frens (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...