Jump to content

[SOLVED] Status Change - email weird


Recommended Posts

Good evening.

 

So I have a very strange one!

 

I have modified the bankwire module to set the status' of orders to Pending.

 

Status "Pending" was created by editing "Awaiting Cheque Payment" status and then changing PS_OS_CHEQUE to PS_OS_PENDING

 

Both an HTML and .TXT email was also created.

 

Now when a customer places an order, using Bank Wire as their payment, the system sends the 'correct_email.jpg'.

 

If I change the order status to something else and then back again to 'Pending' then the system sends the 'incorrect_email.jpg'.

 

Does anyone have any idea why?

 

post-613669-0-22019400-1388767229_thumb.jpg

post-613669-0-60947100-1388767230_thumb.jpg

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

Hi Vekia

 

They are as follows:

 

Statuses.jpg is the complete list

 

details is the edit on "pending"

 

 

It seems that it doesn't pull the details are reverting back from one status to "pending"

 

Here is the html code

<!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">Hi <strong style="color: {color};">{firstname} {lastname}</strong>,</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="background-color: {color}; color: #fff; font-size: 12px; font-weight: bold; padding: 0.5em 1em;" align="left">Your order with the reference {order_name} - Awaiting Confirmation</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">Thank you for shopping at {shop_name}!<br /><br /> 
Your order with the reference {order_name} has been placed successfully and will be <strong>processed shortly</strong>.</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left"><p>You have selected to pay by online transfer.</p>
  <p>Please do <strong>NOT</strong> make payment yet. A staff member from {shop_name} will advise you when to make the transfer.<br />
    <br />
    Here are {shop_name}'s bank details:<br /><br /> 
    <strong>Amount:</strong> {total_paid}<br /><br /> 
    <strong>Account owner:</strong> {bankwire_owner}<br /><br /> 
    <strong>Account details:</strong><br /><br />{bankwire_details}<br /><br /> 
    <strong>Reference to use:</strong> {lastname}/{order_name}</p></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td align="left">You can review your order and download your invoice from the <a style="color: {color}; font-weight: bold; text-decoration: none;" href="{history_url}">"Order history"</a> section of your customer account by clicking <a style="color: {color}; font-weight: bold; text-decoration: none;" href="{my_account_url}">"My account"</a> on our shop.<br /><br /></td>
</tr>
<tr>
<td align="left">If you have a guest account, you can follow your order via the <a style="color: {color}; font-weight: bold; text-decoration: none;" href="{guest_tracking_url}">"Guest Tracking"</a> section on our shop.</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td style="font-size: 10px; border-top: 1px solid #D9DADE;" align="center"><a style="color: {color}; font-weight: bold; text-decoration: none;" href="{shop_url}">{shop_name}</a> powered by pure awesomeness!™</td>
</tr>
</tbody>
</table>
</body>
</html>

post-613669-0-08980900-1388835508_thumb.jpg

post-613669-0-60382900-1388835510_thumb.jpg

Link to comment
Share on other sites

buongiorno a tutti.

nel modulo email l'invio di email di conferma è positivo, quando invece dal negozio clicco su email contatti gmail  indirizza a https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=%73%6d%6f%6b%65%67%61%6d%65%73.%65%75@%67%6d%61%69%6c.%63%6f%6d

mentre l'idirizzo è smokegames.eu@gmail,com.

come si risolve?

grazie a tutti

 

English please?

Link to comment
Share on other sites

I have done more testing and I can't seem to solve this issue.

 

I am 99% sure it has to do with the linkage on the first STATUS (PS_OS_CHEQUE / AWAITING CHEQUE PAYMENT") as if I assign any other email it also gives errors.

 

I am trying to locate all files that have PS_OS_CHEQUE in them so I can change to the new database name PS_OS_PENDING.

 

I have change config.inc.php

define('_PS_OS_PENDING_',      Configuration::get('PS_OS_PENDING'));
define('_PS_OS_PAYMENT_',     Configuration::get('PS_OS_PAYMENT'));
define('_PS_OS_PREPARATION_', Configuration::get('PS_OS_PREPARATION'));
define('_PS_OS_SHIPPING_',    Configuration::get('PS_OS_SHIPPING'));
define('_PS_OS_DELIVERED_',   Configuration::get('PS_OS_DELIVERED'));
define('_PS_OS_CANCELED_',    Configuration::get('PS_OS_CANCELED'));
define('_PS_OS_REFUND_',      Configuration::get('PS_OS_REFUND'));
define('_PS_OS_ERROR_',       Configuration::get('PS_OS_ERROR'));
define('_PS_OS_OUTOFSTOCK_',  Configuration::get('PS_OS_OUTOFSTOCK'));
define('_PS_OS_BANKWIRE_',    Configuration::get('PS_OS_BANKWIRE'));
define('_PS_OS_PAYPAL_',      Configuration::get('PS_OS_PAYPAL'));
define('_PS_OS_WS_PAYMENT_', Configuration::get('PS_OS_WS_PAYMENT'));

But I can't seem to find the rest.

Any ideas?

Link to comment
Share on other sites

  • 2 weeks later...
  • 5 months later...
  • 4 weeks later...
×
×
  • Create New...