Zen Cart Logo
Forums / All Other Contributions/Addons / Return Authorization Module (RMA)

Return Authorization Module (RMA)

Views: 109,995

Results 221 to 240 of 644
26 Jan 2008, 1:33 AM
#221
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Return Authorization Module (RMA)

Coop1979:

Kind-of along these same lines, I would like for the RMA email to be "From" the user requesting the RMA, not "From" the default shop email address. Any chances of getting that worked into this great mod?

I'll look into it for a future upgrade

26 Jan 2008, 5:30 AM
#222
coop1979 avatar

coop1979

New Zenner

Join Date:
May 2006
Location:
Columbia, SC
Posts:
26
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

I'll look into it for a future upgrade
While I'm adding items to the wish list, it would be great to have the RMA form pull in a customer's order history from the most x recent days. X being the number of days allowed for returns per the store's return policy. Then the customer could choose the order they need to return an item from, and selecting the order would in turn show the products from that order.

A pipe dream, I'm sure, but it would be a great addition.

26 Jan 2008, 6:18 AM
#223
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

Coop1979:

While I'm adding items to the wish list, it would be great to have the RMA form pull in a customer's order history from the most x recent days. X being the number of days allowed for returns per the store's return policy. Then the customer could choose the order they need to return an item from, and selecting the order would in turn show the products from that order.

A pipe dream, I'm sure, but it would be a great addition.

you might take a look at this threadhttp://www.zen-cart.com/forum/showthread.php?t=85014

28 Jan 2008, 8:03 PM
#224
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Clyde, thank for the fix it worked great, one small problem though the text is not showing up in the action requested i am getting a 1 or a 0 and i have 4 options in the drop down box

i think i saw he fix somewhere but can't remember where it was

Item Number:
Item Name:
Action Requested: 0

clydejones:

Hope this is what you want.

I added a new e-mail define statement in:
includes/languages/english/YOUR_TEMPLATE/returns.php

define('RMA_EMAIL', '[email protected]'); change this to whatever you want.

and modified includes/modules/pages/returns/header_php.php to reflect the define statement.

unzip the file, change the YOUR_TEMPLATE folder to match your custom template name and upload the entire includes folder to your server.
[Attachment no longer available]

28 Jan 2008, 8:09 PM
#225
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

lextechs:

Clyde, thank for the fix it worked great, one small problem though the text is not showing up in the action requested i am getting a 1 or a 0 and i have 4 options in the drop down box

i think i saw he fix somewhere but can't remember where it was

Item Number:
Item Name:
Action Requested: 0

use the fix from this post

29 Jan 2008, 1:17 AM
#226
lextechs avatar

lextechs

Zen Follower

Join Date:
Mar 2005
Location:
Tempe, AZ
Posts:
316
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Thanks Clyde, one last question for this mod, the e-mail sent to customer is formated and bunched toegether into one pharagrah, i was looking in the email folder of zencart to for a returns e-mail template but there is none, what file do i need to mod for the returns so it formats the e-mail with breaks like after the dear customer, ect. Thanks

29 Jan 2008, 1:58 AM
#227
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

lextechs:

Thanks Clyde, one last question for this mod, the e-mail sent to customer is formated and bunched toegether into one pharagrah, i was looking in the email folder of zencart to for a returns e-mail template but there is none, what file do i need to mod for the returns so it formats the e-mail with breaks like after the dear customer, ect. Thanks

includes/languages/english/YOUR_TEMPLATE/returns.php

29 Jan 2008, 2:44 PM
#228
creativearc avatar

creativearc

New Zenner

Join Date:
Feb 2007
Posts:
65
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I installed the mod without any problem.

I then placed a test order, and immedietly followed with a visit to:

/index.php?main_page=returns

I submitted the info, and got the 'request sent' message. The customer received the notification email.

What else is supposed to happen? Isn't the admin supposed to receive some sort of notification? Is there a 'log' in the admin that displays past return requests?

I read through this thread but couldn't find a basic 1-2-3 walkthrough. Any help would be appreciated.

Thanks!

29 Jan 2008, 2:56 PM
#229
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

creativearc:

I installed the mod without any problem.

I then placed a test order, and immedietly followed with a visit to:

/index.php?main_page=returns

I submitted the info, and got the 'request sent' message. The customer received the notification email.

What else is supposed to happen? Isn't the admin supposed to receive some sort of notification? Is there a 'log' in the admin that displays past return requests?

I read through this thread but couldn't find a basic 1-2-3 walkthrough. Any help would be appreciated.

Thanks!

Yes you should have received an e-mail message which would have been sent to your store e-mail address.

29 Jan 2008, 3:02 PM
#230
creativearc avatar

creativearc

New Zenner

Join Date:
Feb 2007
Posts:
65
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

Yes you should have received an e-mail message which would have been sent to your store e-mail address.

Store admin emails are working for other store functions: new orders, new customers, etc. If that is working, the RMA emails should also properly go to the admin user, right?

29 Jan 2008, 3:27 PM
#231
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

creativearc:

Store admin emails are working for other store functions: new orders, new customers, etc. If that is working, the RMA emails should also properly go to the admin user, right?

Try this and see if it helps.

Just unzip the file and upload the entire includes folder to your server.

[Attachment no longer available]

30 Jan 2008, 7:17 PM
#232
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

trying to restrict order numbers to numeric I have modified this line as follows:

  if ($zc_validate_email and !empty($reason) and ($order_number !='' && $order_number == numeric)) {

		$send_to_email = RMA_EMAIL;
		$send_to_name =  STORE_NAME;
		

and added this:

	
	 if(ereg('^[\s0-9]*$', $order_number) === false){
    $error = true;
    $messageStack->add('returns', 'Order Number: Enter only numbers (must correspond to your order number).');
 }

It checks for numbers only fine, but when I enter numbers only, it does not send the form, but displays the filled in form again. What am I doing wrong?
Thanks

30 Jan 2008, 7:47 PM
#233
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Ah, now this works.. (for now anyway..)
if ($zc_validate_email and !empty($reason) and !empty($order_number) and is_numeric($order_number))

30 Jan 2008, 11:34 PM
#234
marine76 avatar

marine76

New Zenner

Join Date:
Sep 2007
Posts:
48
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Hey Clydejones,

I've recently installed the 2.2 version but never tried it;(busy,busy); and noticed that you had a newer version. I did the Upgrade per instructions and tested it but this is what I get when I click on the Return link.

Home :: NAVBAR_TITLE

Warning: require(includes/templates/template_default/templates/tpl_returns_default.php) [function.require]: failed to open stream: No such file or directory in /home/marine76/public_html/store/includes/templates/silverfish/common/tpl_main_page.php on line 126

Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_returns_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/marine76/public_html/store/includes/templates/silverfish/common/tpl_main_page.php on line 126

30 Jan 2008, 11:42 PM
#235
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

marine76:

Hey Clydejones,

I've recently installed the 2.2 version but never tried it;(busy,busy); and noticed that you had a newer version. I did the Upgrade per instructions and tested it but this is what I get when I click on the Return link.

make sure you have the following files on your server.

includes/extra_datafiles/returns_filenames.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/returns_defines.php
includes/languages/english/YOUR_TEMPLATE/returns.php
includes/languages/english/html_includes/define_returns.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_returns.php
includes/modules/pages/returns
includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
includes/templates/YOUR_TEMPLATE/css/returns.css

30 Jan 2008, 11:51 PM
#236
marine76 avatar

marine76

New Zenner

Join Date:
Sep 2007
Posts:
48
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Got dinner on the stove, I'll get back to you in a few.
:smile::smile:

clydejones:

make sure you have the following files on your server.

includes/extra_datafiles/returns_filenames.php
includes/languages/english/extra_definitions/YOUR_TEMPLATE/returns_defines.php
includes/languages/english/YOUR_TEMPLATE/returns.php
includes/languages/english/html_includes/define_returns.php
includes/languages/english/html_includes/YOUR_TEMPLATE/define_returns.php
includes/modules/pages/returns
includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
includes/templates/YOUR_TEMPLATE/css/returns.css

31 Jan 2008, 1:11 AM
#237
marine76 avatar

marine76

New Zenner

Join Date:
Sep 2007
Posts:
48
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Thanks a lot Clyde!:clap: I was missing:

includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php

Tested it and in my Inbox I got this.

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:

[email protected]
Unrouteable address

------ This is a copy of the message, including all the headers. ------

Return-path: [email protected]
Received: from marine76 by d1.zz60.net with local (Exim 4.68)
(envelope-from [email protected])
id 1JKNg7-00019r-Dp
for [email protected]; Wed, 30 Jan 2008 19:53:19 -0500
To: [email protected]
Subject: Return Authorization Request
Date: Wed, 30 Jan 2008 19:53:19 -0500
From: Frank Spata [email protected]
Reply-to: Gifts4All [email protected]
Message-ID: [email protected]
X-Priority: 3
X-Mailer: PHPMailer [version 1.73] via Zen Cart
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset="iso-8859-1"

From: Frank Spata
Email: [email protected]
Phone Number: 859
Address: 123 test
City: Lancaster
Post Code: 40444
State: KY
Order Number: 123
Total Value:
Item Number:
Item Name:
Action Requested: Refund

Reason: test test test

Office Use Only:
From: Frank Spata
Email: [email protected]
Telephone: 859
IP Address: 75.117.212.86 - 75.117.212.86
Host Address: 75.117.212.86
Date and Time: Wed Jan 30 2008 19:53:19 EST

31 Jan 2008, 1:15 AM
#238
marine76 avatar

marine76

New Zenner

Join Date:
Sep 2007
Posts:
48
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

:oops:Disregard, I checked back in the thread and found the fix. I'll try it to see if it works.

Thanks again Clyde, great mod.:clap::clap:

31 Jan 2008, 1:44 AM
#239
marine76 avatar

marine76

New Zenner

Join Date:
Sep 2007
Posts:
48
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I tried it but its still the same, any suggestions?

marine76:

:oops:Disregard, I checked back in the thread and found the fix. I'll try it to see if it works.

Thanks again Clyde, great mod.:clap::clap:

31 Jan 2008, 1:59 AM
#240
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Return Authorization Module (RMA)

marine76:

I tried it but its still the same, any suggestions?

try the fix in this post