kiri Posted December 21, 2009 Share Posted December 21, 2009 HI,I offer a return address different than my business adress for the convenience of my customers.BUT the return form they print when rturning an item online tells them to send it to my biz in the US rather than my return point in france... WAY more expensive and they get annoyed.How cna i chnage that??Thanks!! Link to comment Share on other sites More sharing options...
kiri Posted January 12, 2010 Author Share Posted January 12, 2010 Hi,anyone can help me?this is a big issue and I have NO idea how to change it.Anyone knows where the address sued on the return form can be changed??? Link to comment Share on other sites More sharing options...
rocky Posted January 13, 2010 Share Posted January 13, 2010 It looks like it is line 94 of admin/tabs/AdminReturn.php that sends the "order_return_state" email. All the Prestashop emails, except ones sent from the contact form, use the shop email address entered on the Preferences > Contact page. If you want to make just the return email go to a different email than the one entered there, change line 94 of admin/tabs/AdminReturn.php from: Mail::Send(intval($cookie->id_lang), 'order_return_state', html_entity_decode($this->l('Your order return state has changed'), ENT_NOQUOTES, 'UTF-8'), $vars, $customer->email, $customer->firstname.' '.$customer->lastname); to: Mail::Send(intval($cookie->id_lang), 'order_return_state', html_entity_decode($this->l('Your order return state has changed'), ENT_NOQUOTES, 'UTF-8'), $vars, $customer->email, $customer->firstname.' '.$customer->lastname, '[email protected]'); Replace [email protected] with the address you want in the "To" field of the email. Link to comment Share on other sites More sharing options...
kiri Posted January 13, 2010 Author Share Posted January 13, 2010 thanks but I am looking at changing the actual mailing address.I will take a look anyway as it might be around the same vicinity!thanks! Link to comment Share on other sites More sharing options...
rocky Posted January 13, 2010 Share Posted January 13, 2010 In that case, I think you may need to edit the Header() function of classes/PDF.php. It is currently using the address you entered on the Preferences > Contact page. You can use the self::$orderReturn variable to determine whether this is a return or not. For example, you could change line 132 to: $conf['PS_SHOP_ADDR1'] = self::$orderReturn ? 'This is the address line of the return address' : (isset($conf['PS_SHOP_ADDR1']) ? Tools::iconv('utf-8', self::encoding(), $conf['PS_SHOP_ADDR1']) : 'Your company'); Link to comment Share on other sites More sharing options...
keypieces Posted September 24, 2011 Share Posted September 24, 2011 I have the same problem. We use a fufillment company that handles our returns. How can I change the return address on the RMA pdf? Any suggestions would be much appreciated V1.4.4.1 Link to comment Share on other sites More sharing options...
intx Posted May 11, 2012 Share Posted May 11, 2012 I have the same problem. We use a fufillment company that handles our returns. How can I change the return address on the RMA pdf? Any suggestions would be much appreciated V1.4.4.1 Hi, i'm wondering about the same question - is any solution so far? My business and returns addresses are different. Link to comment Share on other sites More sharing options...
mortenbennedsen Posted April 9, 2014 Share Posted April 9, 2014 (edited) Hi I found a solution - and its pretty simple and works. You can change it in the following TPL-file: /public_html/pdf/order-return.tpl <table style="width: 100%"> <tr> <td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top"> </td> <td style="width: 80%; padding-right: 7px; text-align: left; vertical-align: top"> <table style="background-color:#DDD; line-height: 4px; padding: 7px;"> <tr> <td style="font-weight: bold">{l s='If the following conditions are not respected we reserve the rights to refuse your package and/or reimbursement:' pdf='true'}</td> </tr> <tr> <td> <ul> <li>{l s='Please include this number return reference on your return package:' pdf='true'} {$order_return->id}</li> <li>{l s='All products must be returned in their original package without damage or wear.' pdf='true'}</li> <li>{l s='Please print out this document and slip it into your package.' pdf='true'}</li> <li>{l s='The package should be sent to the following address:' pdf='true'}</li> </ul> {$shop_address} </td> </tr> </table> <br /> {l s='Upon receiving your package, we will notify you by e-mail. We will then begin processing the reimbursement of your order total. Let us know if you have any questions' pdf='true'} </td> </tr> </table> (Delete the string in line 139 - {$shop_address}, and replace it with this:) <table style="width: 100%"> <tr> <td style="width: 20%; padding-right: 7px; text-align: right; vertical-align: top"> </td> <td style="width: 80%; padding-right: 7px; text-align: left; vertical-align: top"> <table style="background-color:#DDD; line-height: 4px; padding: 7px;"> <tr> <td style="font-weight: bold">{l s='If the following conditions are not respected we reserve the rights to refuse your package and/or reimbursement:' pdf='true'}</td> </tr> <tr> <td> <ul> <li>{l s='Please include this number return reference on your return package:' pdf='true'} {$order_return->id}</li> <li>{l s='All products must be returned in their original package without damage or wear.' pdf='true'}</li> <li>{l s='Please print out this document and slip it into your package.' pdf='true'}</li> <li>{l s='The package should be sent to the following address:' pdf='true'}</li> </ul> <u1> <li>{l s='ADRESS LINE 1' pdf='true'}</li> <li>{l s='ADRESS LINE 2' pdf='true'}</li> <li>{l s='ADRESS LINE 3' pdf='true'}</li> <li>{l s='ADRESS LINE 4' pdf='true'}</li> <li>{l s='ADRESS LINE 5' pdf='true'}</li> </u1> </td> </tr> </table> <br /> {l s='Upon receiving your package, we will notify you by e-mail. We will then begin processing the reimbursement of your order total. Let us know if you have any questions' pdf='true'} </td> </tr> </table> Then you just type your adress in the adress line fields - and you could at more if you need. You can after this also change the adress from the translation tab in Backoffice - PDF translations. This is tested and works for PrestaShop 1.5.5.0 Edited April 9, 2014 by mortenbennedsen (see edit history) Link to comment Share on other sites More sharing options...
mododoc Posted September 10, 2014 Share Posted September 10, 2014 This is work for me. Thank you mortenbennedsen. Link to comment Share on other sites More sharing options...
mkrmitsolutions Posted February 19, 2015 Share Posted February 19, 2015 those lines you added "Address Line 1, Address Line 2, etc" do I replace "address Line 1 with my company, Line 2 with my street address, etc right there in the code or do i type the code as is and that generates somewhere to put my address on the admin side? Thanks MM Link to comment Share on other sites More sharing options...
mkrmitsolutions Posted February 20, 2015 Share Posted February 20, 2015 After much searching and changing, I found someone who could help me and I didn't have to change any files, yay!!!!! Go to you backoffice of Prestashop In the left-hand panel select: Preferences Store Contact Then scroll down on the right to the bottom (Contact details). This is where you enter your shop info. This address will also be used in the RMA. credit goes to Kimya from inmotionhosting :-) 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