WODP Posted March 6, 2009 Share Posted March 6, 2009 1. How to (better: where) change email subjects for order confirmation etc. 2. Where to change status: FREE ORDER status on history.php1*Please, i really need this to solve, because emails sent from shop end in SPAM folder. Subject is now like this: [PS_SHOP_NAME]Order status - I just want it like Order status - customized if possible.2*Free order shows if order 5€ item and pay with 5€ cupons. I have edited FREE ORDER in: order.php : if ($cart->getOrderTotal() <= 0) { $order = new FreeOrder(); $order->validateOrder(intval($cart->id), 2, 0, Tools::displayError('FREE ORDER')); Tools::redirect('history.php'); } but doesn't help...THANKS IN ADVANCE, i need it as soon as possible!!!Thanks / Merci / Grazie / Danke schon / Hvala!!!WODP Link to comment Share on other sites More sharing options...
SotEW Posted March 6, 2009 Share Posted March 6, 2009 For the question 1 :Change the ligne 93 of the file /classes/Mail.php : $message = new Swift_Message('['.Configuration::get('PS_SHOP_NAME').'] '.((is_array($_LANGMAIL) AND key_exists($subject, $_LANGMAIL)) ? $_LANGMAIL[$subject] : $subject)); with //$message = new Swift_Message('['.Configuration::get('PS_SHOP_NAME').'] '.((is_array($_LANGMAIL) AND key_exists($subject, $_LANGMAIL)) ? $_LANGMAIL[$subject] : $subject)); $message = new Swift_Message((is_array($_LANGMAIL) AND key_exists($subject, $_LANGMAIL)) ? $_LANGMAIL[$subject] : $subject); It will remove ALL the [sHOP_NAME] for ALL emails.For your second problème, I'll need more information.You WANT the order to be shown as FREE ORDER if the amount of the cart (included tax and shippment) is the same as the cupons ? Link to comment Share on other sites More sharing options...
WODP Posted March 6, 2009 Author Share Posted March 6, 2009 WOOOWW!!! SotEW THANKS!!!!!for second question: You WANT the order to be shown as FREE ORDER if the amount of the cart (included tax and shippment) is the same as the cupons ? It already shows FREE ORDER, but i prefer GRATIS.I just want to translate expression: FREE ORDER to GRATIS. Than in viewing My orders under Status: i would like to be GRATIS instead of FREE ORDER.I have changed 'FREE ORDER' line shown in my first post to 'GRATIS', but it still shows FREE ORDER under My orders (history).What am i doing wrong?Much appreciated!!!WODPedit: now it's working. THANKS AGAIN SowED!! Link to comment Share on other sites More sharing options...
Proglamour Posted June 14, 2009 Share Posted June 14, 2009 Hi WODP and SotEW, problem no 1, is it working on your site?I've edit the email title but still goes to spam folder. I think its not because of the email title as I've tried on few other website(using Presta) and in goes well to my inbox. I'm using 1.1 final. This is example on my case:- My Site title : MySiteTitle.Com- when user register : [MySiteTitle.Com] Welcome! Link to comment Share on other sites More sharing options...
WODP Posted June 14, 2009 Author Share Posted June 14, 2009 Proglamour, did you try changing site title without extension: 'MySiteTitle' without '.com'?Kind regards,WODP Link to comment Share on other sites More sharing options...
Proglamour Posted June 14, 2009 Share Posted June 14, 2009 I've try more than 5 title.- MySiteTitle.Com- MySiteTitle- My Site Title- My Site - Bla...Bla..bla..-etcEven i've try using title (PetsRight - Pet food) and email ([email protected])..heheheheSorry to bro PetsRight. I'm headache oledy.Still goes to spam folder. Is this something wrong with my hosting? Link to comment Share on other sites More sharing options...
WODP Posted June 14, 2009 Author Share Posted June 14, 2009 Hehehehm, do you have possibility to try another host? Link to comment Share on other sites More sharing options...
Proglamour Posted June 14, 2009 Share Posted June 14, 2009 not really.i'm using shared hosting, linux with cpanel.can anyone clarify this? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now