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

Return Authorization Module (RMA)

Views: 109,993

Results 121 to 140 of 644
24 Apr 2007, 3:12 PM
#121
meltdown avatar

meltdown

Totally Zenned

Join Date:
Jun 2006
Location:
My family and I live in Brighton, England
Posts:
947
Plugin Contributions:
0

Return Authorization Module (RMA)

MeltDown:

Hi Clyde - Thanks for this very useful module.

What am I missing here? :huh: I want to add "Store Credit" as an option to the "Action Requested:" list. I've made the following changes to returns.php:

define('ENTRY_ACTION', 'Action Requested:');
define('ENTRY_ACTION_REFUND', 'Refund');
define('ENTRY_ACTION_STORE_CREDIT', 'Store Credit');
define('ENTRY_ACTION_REPLACE', 'Replacement');
define('ENTRY_REASON', 'Reason for Return:');

> 
> But see no change. Can you see what I've done incorrectly or incompletely?
> 
> Thanks!
> 
> Tim

Sorry, Clyde, you were one step ahead of me. I just now realized that a newer version was released with the changes I wanted built-in. I upgraded and everything looks great! 

Thanks again!

Tim
24 Apr 2007, 4:39 PM
#122
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

MeltDown:

Hi Clyde - Thanks for this very useful module.

What am I missing here? :huh: I want to add "Store Credit" as an option to the "Action Requested:" list. I've made the following changes to returns.php:

define('ENTRY_ACTION', 'Action Requested:');
define('ENTRY_ACTION_REFUND', 'Refund');
define('ENTRY_ACTION_STORE_CREDIT', 'Store Credit');
define('ENTRY_ACTION_REPLACE', 'Replacement');
define('ENTRY_REASON', 'Reason for Return:');

> 
> But see no change. Can you see what I've done incorrectly or incompletely?
> 
> Thanks!
> 
> Tim

If you're using the most recent update from the downloads section you don't have to set the define statements, you can do this from admin -> configuration -> return authorization
25 Apr 2007, 3:05 AM
#123
a_1_electronics avatar

a_1_electronics

Inactive

Join Date:
Apr 2007
Posts:
117
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

When I click on the returns link in my 'Information' sidebox, the link opens the login page instead of the return authorization page. If I hover the mouse over the link it shows at the bottom of IE7 that it is going to link to the 'RA' page. However, it ends up on the 'Login' page.

Where might I begin to look for the link error?

25 Apr 2007, 3:14 AM
#124
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

A-1 Electronics:

When I click on the returns link in my 'Information' sidebox, the link opens the login page instead of the return authorization page. If I hover the mouse over the link it shows at the bottom of IE7 that it is going to link to the 'RA' page. However, it ends up on the 'Login' page.

Where might I begin to look for the link error?

Check admin -> configuration -> Return Authorization

turn off only registered users can submit a link

25 Apr 2007, 3:04 PM
#125
a_1_electronics avatar

a_1_electronics

Inactive

Join Date:
Apr 2007
Posts:
117
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

Check admin -> configuration -> Return Authorization

turn off only registered users can submit a link

Thank you. That did it.

3 May 2007, 1:06 PM
#126
modchipfitters_co_uk avatar

modchipfitters_co_uk

Zen Follower

Join Date:
Sep 2006
Location:
United Kingdom
Posts:
190
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

this is great mod thankyou

just 1 thing how can i make the order number box as a required field as this would save a lot of time in having to search for a customers through admin

3 May 2007, 1:41 PM
#127
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

modchipfitters.co.uk:

this is great mod thankyou

just 1 thing how can i make the order number box as a required field as this would save a lot of time in having to search for a customers through admin

I'll post a fix for you ASAP

3 May 2007, 2:16 PM
#128
modchipfitters_co_uk avatar

modchipfitters_co_uk

Zen Follower

Join Date:
Sep 2006
Location:
United Kingdom
Posts:
190
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

I'll post a fix for you ASAP

ok great thanks

4 May 2007, 3:33 PM
#129
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

modchipfitters.co.uk:

this is great mod thankyou

just 1 thing how can i make the order number box as a required field as this would save a lot of time in having to search for a customers through admin

Here's the fix for "order number required"

As always, unzip the file, rename the YOUR_TEMPLATE folders to match the name of your custom folder.

upload (FTP) the includes folder to your server.

[Attachment no longer available]

8 May 2007, 11:59 AM
#130
imendes avatar

imendes

New Zenner

Join Date:
Apr 2006
Posts:
4
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I installed the latest RMA version with the last fix in Zencart 1.37.

My problem is that when the user is logged, the script only fills the Full Name, Email and Phone fields with the correct information. The rest of the fields (Street Address, City, State and Zip Code) are filled with information of another user. I have only 2 users. I logged in with the second user, and I get some information of the first user.

Any help?

Thank you.

8 May 2007, 1:36 PM
#131
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

imendes:

I installed the latest RMA version with the last fix in Zencart 1.37.

My problem is that when the user is logged, the script only fills the Full Name, Email and Phone fields with the correct information. The rest of the fields (Street Address, City, State and Zip Code) are filled with information of another user. I have only 2 users. I logged in with the second user, and I get some information of the first user.

Any help?

Thank you.

I'll check on it and post back ASAP

8 May 2007, 4:22 PM
#132
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

clydejones:

I'll check on it and post back ASAP

This should fix the problem.

As always just un-zip the file and upload the entire includes directory to your server.

[Attachment no longer available]

8 May 2007, 4:39 PM
#133
imendes avatar

imendes

New Zenner

Join Date:
Apr 2006
Posts:
4
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Thanks for the quick answer, but it didn't work.

Now, even if the user is logged in, it doesn't fill any field.

I'm using PHP 5.1.2 and mySQL 5.0.27

8 May 2007, 5:12 PM
#134
imendes avatar

imendes

New Zenner

Join Date:
Apr 2006
Posts:
4
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I tried with the last version (without my fix), deleting the user #1. With just one user in the system, the script didn't filled that fields. Only the first ones (Full name, email and phone).

9 May 2007, 6:12 AM
#135
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

imendes:

I tried with the last version (without my fix), deleting the user #1. With just one user in the system, the script didn't filled that fields. Only the first ones (Full name, email and phone).

try this and see if it helps

[Attachment no longer available]

9 May 2007, 9:06 AM
#136
imendes avatar

imendes

New Zenner

Join Date:
Apr 2006
Posts:
4
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Nope. With this fix nothing is filled. All fields remains blank.

9 May 2007, 12:01 PM
#137
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

imendes:

Nope. With this fix nothing is filled. All fields remains blank.

Do you have a url for your site so I can take a look

9 May 2007, 8:28 PM
#138
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I just uploaded both the new install and the upgrade and everything seems to be fine, however when I go to Admin/config/ there is not a return authorization? I changed all of My Template to apple_zen, before uploading them. Also I have a second question, is there anyway to add this to a drop down menu? I searched through this thread and didn't see an answer, unless I missed it? Thanks for your help. :smile:

If there's a question: https://www.mommyandbabyessentials.com

9 May 2007, 8:44 PM
#139
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

helpme:

I just uploaded both the new install and the upgrade and everything seems to be fine, however when I go to Admin/config/ there is not a return authorization? I changed all of My Template to apple_zen, before uploading them. Also I have a second question, is there anyway to add this to a drop down menu? I searched through this thread and didn't see an answer, unless I missed it? Thanks for your help. :smile:

If there's a question: https://www.mommyandbabyessentials.com

First did you run the sql script included with the contribution. If not.

copy the following and paste into admin -> tools -> install sql patches click the send button.

#Return Authorization SQL Install
# For Zen-Cart 1.3.7
# Last Updated: 28/02/2007

SET @configuration_group_id=0;
SELECT @configuration_group_id:=configuration_group_id 
FROM configuration_group
WHERE configuration_group_title= 'Return Authorization'
LIMIT 1;

DELETE FROM configuration WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';
DELETE FROM configuration_group WHERE configuration_group_id = @configuration_group_id;

INSERT INTO configuration_group VALUES (NULL, 'Return Authorization', 'Return Authorization Display Settings', '1', '1');
SET @configuration_group_id=last_insert_id();
UPDATE configuration_group SET sort_order = @configuration_group_id WHERE configuration_group_id = @configuration_group_id;

INSERT INTO `configuration` VALUES (NULL, 'Phone Number', 'RETURN_PHONE', 'true', 'Display phone number field', @configuration_group_id, 1, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');

INSERT INTO `configuration` VALUES (NULL, 'Total Value', 'RETURN_VALUE', 'true', 'Display Total Value', @configuration_group_id, 2, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');

INSERT INTO `configuration` VALUES (NULL, 'Item Number', 'RETURN_ITEM_NUMBER', 'true', 'Display Item Number field', @configuration_group_id, 3, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''), ');

INSERT INTO `configuration` VALUES (NULL, 'Only registered customers may submit a return request', 'REGISTERED_RETURN', 'false', 'Only registered customers may submit a return request', @configuration_group_id, 4, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');

INSERT INTO `configuration` VALUES (NULL, 'Set "Return Action" Dropdown List', 'RETURN_ACTION_LIST', 'Refund, Replacement, Repair', 'On the "Return Authorization" Page, set the list of actions , in this format: Action 1,  Action 2', @configuration_group_id, 5, NULL, now(), NULL, 'zen_cfg_textarea(');

INSERT INTO `configuration` VALUES (NULL, 'Define Return Authorization', 'DEFINE_RETURNS_STATUS', '1', 'Enable the Defined Return Authorization Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', 25, 999, NULL, now(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');

Second:
Yes you should be able to add it to the dropdown menu.

You'll have to add a new define statement to
includes/laguages/english/extra_definitions/YOUR_TEMPLATE/headermenu.php

and then a menu item to
includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php

10 May 2007, 12:19 AM
#140
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Worked great!! Thanks a million!