-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
ScrapbookSupplies
AHH! I see where my problem and confusion is coming from! On the page where I got the download from, the link at the top of the page must go to the older version, whereas the newest version (the 2.2 that you were talking about) is down a bit lower. I just assumed that the link at the top right where it says "download now" is the most current. Will try to fix it right now and see where it takes me.
Thanks for your input on it! Am going to leave my original reply (before I found the err of my ways :wink:) in case anyone else has done the same thing.
Many thanks!!
Jeanne
I noticed this (that the fields were not pre-populated) but thought it was because I haven't processed any orders yet. Oh goodness! This really concerns me.
And... The email (phew!) - this is what it looks like (I was actually going to make a post to see if anyone knew how to customize it a bit so it would be easier to read, so thank you for posting the sample):
From: Email: sales1 @ scrapbookxsuppliesxdirect.com Phone Number: Address: City: Post Code: State: Order Number: 12345 Total Value: Item Number: Item Name: Action Requested: Refund ------------------------------------------------------ Reason: dafadsfdsfs ------------------------------------------------------ Office Use Only: From: Email: sales1 @ scrapbookxsuppliesxdirect.com IP Address: 70.216.85.107 - 70.216.85.107 Host Address: 107.sub-70-216-85.myvzw.com Date and Time: Mon Jun 16 2008 12:08:47 MDT
So, I suppose I have a problem here then - I thought I was good to go on it. It is version 1.3.6
????
The download link at the top right should get you v2.2.2
-
Re: Return Authorization Module (RMA)
It did, I read it too fast and the site would not let me edit my post again because too much time passed. So I wanted to re-install the mod again before I re-posted to make sure that I covered all of the bases. I looked at it too fast, with too many things happening around me. Once it got quiet I downloaded the package again, then ran thru the mod again, but still have the same problem.
All of the files are in the right place. This time I can't remember which file I edited to change the link name from "returns" to "return authorizations", which is no biggie. It's the rest of it that's making me crazy! eeee!
I will try to run the upgrade and see if that does anything.
Please let me know if anything comes to mind.
Thanks so much for your help,
Jeanne
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
ScrapbookSupplies
It did, I read it too fast and the site would not let me edit my post again because too much time passed. So I wanted to re-install the mod again before I re-posted to make sure that I covered all of the bases. I looked at it too fast, with too many things happening around me. Once it got quiet I downloaded the package again, then ran thru the mod again, but still have the same problem.
All of the files are in the right place. This time I can't remember which file I edited to change the link name from "returns" to "return authorizations", which is no biggie. It's the rest of it that's making me crazy! eeee!
I will try to run the upgrade and see if that does anything.
Please let me know if anything comes to mind.
Thanks so much for your help,
Jeanne
Make sure you have ALL the files installed. The YOUR_TEMPLATE folder(s) should be renamed to your custom template name (in your case - orange)
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
-
Re: Return Authorization Module (RMA)
Hi Clyde, :smile:
After going over it and over it and over it again I finally found the problem for real this time. I'm a little slow but at least I know where my issue is, fixing it is another story, am hoping you can shed some advice on it.
I finally re-ran the SQL query, and to my surprise it did not give me an error, so of course I felt silly at first, thinking I must have forgotten to run it the first time - but that didn't fix the problem. Then something told me to look at the dB thru MySQL, and I could not find any rows with the word "return" in them. So, I ran the query directly in the phpAdmin screen and got a #1146 Error - - Table 'scrapcha_zencart.configuration_group' doesn't exist. I will paste the exact error below, along with a copy of the query below. I think the only thing that I need to do is change the name from configuration_group_id to just configuration_group, but not being very familiar with My SQL, I am afraid to make any kind of change to it on my own. Also, we have a configuration_group but no configuration_group_title.
Can you tell? Please?
SQL Query ERROR:
Quote:
SELECT @configuration_group_id := configuration_group_id
FROM configuration_group
WHERE configuration_group_title = 'Return Authorization'
LIMIT 1 ;
ATTEMPTED QUERY:
Quote:
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''),');
Thank you so much for your help!!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
ScrapbookSupplies
Hi Clyde, :smile:
After going over it and over it and over it again I finally found the problem for real this time. I'm a little slow but at least I know where my issue is, fixing it is another story, am hoping you can shed some advice on it.
I finally re-ran the SQL query, and to my surprise it did not give me an error, so of course I felt silly at first, thinking I must have forgotten to run it the first time - but that didn't fix the problem. Then something told me to look at the dB thru MySQL, and I could not find any rows with the word "return" in them. So, I ran the query directly in the phpAdmin screen and got a #1146 Error - - Table 'scrapcha_zencart.configuration_group' doesn't exist. I will paste the exact error below, along with a copy of the query below. I think the only thing that I need to do is change the name from configuration_group_id to just configuration_group, but not being very familiar with My SQL, I am afraid to make any kind of change to it on my own. Also, we have a configuration_group but no configuration_group_title.
Can you tell? Please?
Thank you so much for your help!!
Open admin -> tools -> install sql patches
copy and paste the following sql statement into the text area and then press send.
Code:
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_group WHERE configuration_group_id = @configuration_group_id;
DELETE FROM configuration WHERE configuration_key = 'DEFINE_RETURNS_STATUS';
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''),');
-
Re: Return Authorization Module (RMA)
:no: Oh Clyde! :no:
Am still getting the error:
[quote}Error
SQL query:
SELECT @configuration_group_id := configuration_group_id
FROM configuration_group
WHERE configuration_group_title = 'Return Authorization'
LIMIT 1 ;
MySQL said:
#1146 - Table 'scrapcha_zencart.configuration_group' doesn't exist [/quote]
I'll keep looking at it and see if I can figure it out too. I need to add an SQL class to my list of classes to take. :wink:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
ScrapbookSupplies
:no: Oh Clyde! :no:
Am still getting the error:
[quote}Error
SQL query:
SELECT @configuration_group_id := configuration_group_id
FROM configuration_group
WHERE configuration_group_title = 'Return Authorization'
LIMIT 1 ;
MySQL said:
#1146 - Table 'scrapcha_zencart.configuration_group' doesn't exist
I'll keep looking at it and see if I can figure it out too. I need to add an SQL class to my list of classes to take. :wink:[/QUOTE]
check your PM
-
Re: Return Authorization Module (RMA)
Please forgive me if this is listed somewhere in this thread....but with 300+ posts I may have missed it.
On the return auth. page, at the top of the input fields instead of saying Return Authorization Request....It says "Specials" How can I fix this. I have used an editor and searched through all the files in the folders, however the word "specials" is not showing as listed in any of them. I have installed version 2.2.2 and zen cart version 1.3.8
Here is the LINK to what I'm asking about.
Thank you for any help.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
FunkyPapa
Please forgive me if this is listed somewhere in this thread....but with 300+ posts I may have missed it.
On the return auth. page, at the top of the input fields instead of saying Return Authorization Request....It says "Specials" How can I fix this. I have used an editor and searched through all the files in the folders, however the word "specials" is not showing as listed in any of them. I have installed version 2.2.2 and zen cart version 1.3.8
Here is the
LINK to what I'm asking about.
Thank you for any help.
Make sure that ALL the listed files are uploaded. Make sure that you've renamed the YOUR_TEMPLATE folders to match the name of your custom template folder (in your case apple_zen)
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
-
Re: Return Authorization Module (RMA)
I've double checked all the files you mentioned, they are all where they are supposed to be and named accordingly. I even re-uploaded just to be sure I had installed them all properly.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
FunkyPapa
I've double checked all the files you mentioned, they are all where they are supposed to be and named accordingly. I even re-uploaded just to be sure I had installed them all properly.
Generally, this means that there is a misplaced language file somewhere, but without seeing/looking at the file structure and the individual files, its hard to say where or which file it might be.
-
Re: Return Authorization Module (RMA)
So, under the assumption that something has to make it "say" the word Specials there, I used the developer tool kit to search the language files for the word "Specials". Below are all the options that were found that were not in the admin section.
c:/public/funkymunkys.ca/websites/www/includes/languages/english/apple_zen/specials.php
Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $
Line #22 : define('NAVBAR_TITLE', 'Specials');
Line #23 : define('TEXT_NO_SPECIALS', 'There are currently no specials. Please check back later.');
##################################################################################################################################
c:/public/funkymunkys.ca/websites/www/includes/languages/english/extra_definitions/apple_zen/headermenu.php
Line #25 : define('HEADER_TITLE_SPECIALS','Specials');
##################################################################################################################################
c:/public/funkymunkys.ca/websites/www/includes/languages/english/extra_definitions/apple_zen/specials.php
Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $
Line #22 : define('NAVBAR_TITLE', 'Specials');
Line #23 : define('TEXT_NO_SPECIALS', 'There are currently no specials. Please check back later.');
##################################################################################################################################
c:/public/funkymunkys.ca/websites/www/includes/languages/english/extra_definitions/faq_manager.php
Line #29 : define('FAQ_CATEGORIES_BOX_HEADING_SPECIALS','Specials ...');
##################################################################################################################################
c:/public/funkymunkys.ca/websites/www/includes/languages/english/page_not_found.php
Line #21 : define('PAGE_SPECIALS', 'Specials');
##################################################################################################################################
c:/public/funkymunkys.ca/websites/www/includes/languages/english/site_map.php
Line #22 : define('PAGE_SPECIALS', 'Specials');
##################################################################################################################################
c:/public/funkymunkys.ca/websites/www/includes/languages/english/specials.php
Line #19 : // $Id: specials.php 1969 2005-09-13 06:57:21Z drbyte $
Line #22 : define('NAVBAR_TITLE', 'Specials');
I hope it's one of these as I went back and checked file by file to make sure everything was put into the proper place :(
Also on the files you said to double check in your previous posts on this line
includes/modules/pages/returns/header_php
should it read as is with the red text?....As I have double checked these files again.
If nothing here solves it and there's something else you can think of that I can look up.....I've tried just about everything I can think to search under in the tool kit and not finding anything that looks bad.
Again thank you for your time and effort.
<edit> on another note, I also looked up the phrases return authorization request
c:/public/funkymunkys.ca/websites/www/includes/languages/english/apple_zen/returns.php
Line #11 : define('HEADING_TITLE', '<h1>Return Authorization Request</h1>');
Line #12 : define('NAVBAR_TITLE', 'Return Authorization Request');
Line #14 : define('EMAIL_SUBJECT', 'Return Authorization Request');
Line #19 : define('EMAIL_WARNING', '<b>Note:</b> This email address was given to us during a Return Authorization Request. If you have a problem, please send an email to ' . STORE_OWNER_EMAIL_ADDRESS . '.' . "\n");
and return_authorization_request:
Warning Error: No matching Configuration Keys were found ... return_authorization_request
in all files and that was all that was found....thinking that's what I'm looking to have at the top of the box as should be. And as stated, that is all I can really think of to search for
</edit>
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by FunkyPapa
Also on the files you said to double check in your previous posts on this line
includes/modules/pages/returns/header_php
should it read as is with the red text?....As I have double checked these files again.
The highlighted portion should read header_php.php
-
Re: Return Authorization Module (RMA)
sorry I didn't put the .php at the end, yes that's what it says. Since....I have even tried un-installing and re-installing to no avail.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
FunkyPapa
sorry I didn't put the .php at the end, yes that's what it says. Since....I have even tried un-installing and re-installing to no avail.
I took another look at your site and I've noticed that in your breadcrumb bar, whenever you go to any of the following pages
privacy
conditions of use
shipping info
about us
site map
gift certificate FAQ
discount coupons
unsubscribe
links of interest
charities
store locator
FAQ
manufacturers
returns
The breadcrumb indicates Home :: Specials on every page
The breadcrumb should change as the page changes.
Again this indicates that one or more of the language files are conflicting with each other.
You'll need to check the language files for each of those pages to track down where the conflict might be.
includes/languages/english/*.*
includes/languages/english/extra_definitions/*.*
-
Re: Return Authorization Module (RMA)
Thank you. I'll look there as soon as I get some time. I was going crazy thinking I was missing something in those searches I should see. I will post back again after I've checked through each the files.
-
Re: Return Authorization Module (RMA)
I started looking thru the files and noticed there was a file.....
includes/english/extra_definitions/apple_zen/specials.php
I downloaded that in case it was something I needed I could put it back...deleted it, and problem solved
Thank you tons for your help :clap:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
FunkyPapa
I started looking thru the files and noticed there was a file.....
includes/english/extra_definitions/apple_zen/specials.php
I downloaded that in case it was something I needed I could put it back...deleted it, and problem solved
Thank you tons for your help :clap:
glad you got it sorted
-
Re: Return Authorization Module (RMA)
Help.....
I have added this mod to my store, but can't seem to get it to work. After installing it, and the absolute first time I go to the customer orders/edit, I see the correct way to do a return.
Then, whenever I move to another customers order, and from that point on, I get what you see in the next picture,http://mistkits.com/images/retauth.jpg
Any ideas why it reverts to what is in the picture?
I have uninstalled and installed the sql and all files, but it always reverts to what is seen in the picture. Obviously, I cannot do a return without an auth number, and I see no way of getting it with this pic.
version 1.3.8 of zen
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
daneh
Help.....
I have added this mod to my store, but can't seem to get it to work. After installing it, and the absolute first time I go to the customer orders/edit, I see the correct way to do a return.
Then, whenever I move to another customers order, and from that point on, I get what you see in the next picture,
http://mistkits.com/images/retauth.jpg
Any ideas why it reverts to what is in the picture?
I have uninstalled and installed the sql and all files, but it always reverts to what is seen in the picture. Obviously, I cannot do a return without an auth number, and I see no way of getting it with this pic.
version 1.3.8 of zen
I'm not sure which mod you have installed but it is not the return authorization Mod.
The return authorization Mod only provides a form through which a customer may request authorization to return/exchange items which have been purchased.
You can see an example here
-
Re: Return Authorization Module (RMA)
Here is the link to the one I downloaded and installed.
http://www.zen-cart.com/index.php?ma...roducts_id=433
I did a test purchase, then did a return request using the exact form you sent a link to. I received an email stating "the customer" (me) wanted to do a return. When I went to admin/customers/orders/edit, I saw what you see in the picture.
I thought it was a little strange that it asks for the auth number when I don't have one.
I then removed all the files related to the ret auth mod, ran the uninstall sql. then I reuploaded all files and ran the install sql.
The first time I went to the admin/customers/orders/edit, I saw a totally different dialog box. It had two buttons...I can't remember what else it said. I then went to a different customer/edit, and then I get what you see in the picture. Every customer/edit has the same thing....what is in the picture.
Is there an admin file associated with this mod I may have missed?
I will keep trying to duplicate the issue and let you know what I find....OH, I should mention that it does it with the classic template also. Not that that should affect admin, right?
-
Re: Return Authorization Module (RMA)
The plot thickens....
I just removed ALL files associated with RAM, ran the unistall sql, reinstalled files and sql again (always using the new install) .
I then started to scroll through ALL my customers/orders/edit. I ran across a few that had the following:
http://mistkits.com/images/authret1.jpg, and the others had this:
http://mistkits.com/images/retauth.jpg.
Any idea why some would have the correct way to do the return and others not?
These are all customers who have had the items SHIPPED.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
daneh
Here is the link to the one I downloaded and installed.
http://www.zen-cart.com/index.php?ma...roducts_id=433
I did a test purchase, then did a return request using the exact form you sent a link to. I received an email stating "the customer" (me) wanted to do a return. When I went to admin/customers/orders/edit, I saw what you see in the picture.
I thought it was a little strange that it asks for the auth number when I don't have one.
I then removed all the files related to the ret auth mod, ran the uninstall sql. then I reuploaded all files and ran the install sql.
The first time I went to the admin/customers/orders/edit, I saw a totally different dialog box. It had two buttons...I can't remember what else it said. I then went to a different customer/edit, and then I get what you see in the picture. Every customer/edit has the same thing....what is in the picture.
Is there an admin file associated with this mod I may have missed?
I will keep trying to duplicate the issue and let you know what I find....OH, I should mention that it does it with the classic template also. Not that that should affect admin, right?
There are no admin files associated with the return authorization mod.
The only thing in admin are the configuration options for the mod:
admin -> configuration -> return authorization.
The return authorization mod has nothing to do with voiding an order and/or refunding a payment.
-
Re: Return Authorization Module (RMA)
So basically what you are telling me is that what these pictures show has nothing to do with the return auth?
Hmmm....I don't recall installing any other mod that has anything to do with returns....
So a fresh install of Zen doesn't have either of those huh?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
daneh
So basically what you are telling me is that what these pictures show has nothing to do with the return auth?
Hmmm....I don't recall installing any other mod that has anything to do with returns....
So a fresh install of Zen doesn't have either of those huh?
Correct.
Return Authorization is an add-on and is not a part of the initial installation of Zen Cart.
-
Re: Return Authorization Module (RMA)
I installed this mod and no matter what, I can't get the link to show up in the information box. It says if (DEFINE_RETURNS_STATUS <= 1) but I don't know where that is defined?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Scarlet
I installed this mod and no matter what, I can't get the link to show up in the information box. It says if (DEFINE_RETURNS_STATUS <= 1) but I don't know where that is defined?
Did you run the sql statement that is included with the mod?
If you did then check in:
admin -> configuration -> Define Page Status -> Define Return Authorization (set it to 1)
If you haven't run the sql statement, run it now and you should be all set.
-
Re: Return Authorization Module (RMA)
Thanks, that's what I needed - I didn't know where to find to set it to "1"
-
Re: Return Authorization Module (RMA)
I guess I'm just being stupid here, but this:
if (DEFINE_RETURNS_STATUS <= 1) {
$information[] = '<li><a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a></li>';
}
doesn't work.. This:
if (DEFINE_RETURNS_STATUS <= 1) {
$content = '<li><a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a></li>';
}
Does.
-
Re: Return Authorization Module (RMA)
First off, thank you very much for the great mod Clyde
It works great
One thing I have been looking to do is change the email address where the emails go to, is there any way to do that?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
stevenlee
First off, thank you very much for the great mod Clyde
It works great
One thing I have been looking to do is change the email address where the emails go to, is there any way to do that?
Its set to send the e-mail to whatever you have set in
admin -> configuration -> e-mail options -> Email Address (Displayed to Contact you)
-
Re: Return Authorization Module (RMA)
Hello Clyde,
I'm sorry I should have been more specific, I wanted to know if there is a way to have it sent to a different email address so it can be sent directly to the rma guy's email
thank you,
Steve
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
stevenlee
Hello Clyde,
I'm sorry I should have been more specific, I wanted to know if there is a way to have it sent to a different email address so it can be sent directly to the rma guy's email
thank you,
Steve
You'd have to modify two files in order to achieve this.
includes/languages/english/YOUR_TEMPLATE/returns.php
add a new define statement
define('RMA_EMAIL', '[email protected]')
open includes/modules/pages/returns/header_php.php
find the following line of code (around line 83)
PHP Code:
zen_mail(STORE_OWNER, EMAIL_FROM, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg, 'Returns');
and replace the it with the following:
PHP Code:
zen_mail(STORE_OWNER, RMA_EMAIL, EMAIL_SUBJECT, $text_message, $name, $email_address, $html_msg, 'Returns');
-
Re: Return Authorization Module (RMA)
I installed the mod some time ago, but did not test it completely, and now someone has use it and it does not work right, it sent an e-mail to the requester but does not notify the store owner, I imagine it should send an e-mail to the store owner?
pete
-
Re: Return Authorization Module (RMA)
I got it, after reviewing the files some of the files got over writing, I fix it by upgrading to the newest version, sorry to bother!
pete
-
Re: Return Authorization Module (RMA)
clydejones I am using this module also but it shows in the information side box. I want to move it to my drop down menu under information. I am using the css_horizontal_drop_down_menu_1-5. I have ask jettrue in that thread where I need to place the code. What code do I need to move to get this to work for me . Thanks in advance.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
countrycharm
clydejones I am using this module also but it shows in the information side box. I want to move it to my drop down menu under information. I am using the css_horizontal_drop_down_menu_1-5. I have ask jettrue in that thread where I need to place the code. What code do I need to move to get this to work for me . Thanks in advance.
I don't use this module, but if I'm not mistaken you will have to edit -
includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
and add the following code where you want it.
PHP Code:
<?php if (DEFINE_RETURNS_STATUS <= 1) {
<li><a href="<?php echo zen_href_link(FILENAME_RETURNS, '', 'SSL'); ?>"><?php echo BOX_INFORMATION_RETURNS; ?></a></li>
<?php } ?>
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
I don't use this module, but if I'm not mistaken you will have to edit -
includes/templates/YOUR_TEMPLATE/common/
tpl_drop_menu.php
and add the following code where you want it.
PHP Code:
<?php if (DEFINE_RETURNS_STATUS <= 1) {
<li><a href="<?php echo zen_href_link(FILENAME_RETURNS, '', 'SSL'); ?>"><?php echo BOX_INFORMATION_RETURNS; ?></a></li>
<?php } ?>
Thanks again for the pointer in the right direction. You were right in the file you gave me. The code you gave me was close I just removed some to look like this. It will go to the login SSL page so it will work. Thank you again.
PHP Code:
<?php if (DEFINE_RETURNS_STATUS <= 1) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_RETURNS); ?>"><?php echo BOX_INFORMATION_RETURNS; ?></a></li>
<?php } ?>
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
countrycharm
Thanks again for the pointer in the right direction. You were right in the file you gave me. The code you gave me was close I just removed some to look like this. It will go to the login SSL page so it will work. Thank you again.
PHP Code:
<?php if (DEFINE_RETURNS_STATUS <= 1) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_RETURNS); ?>"><?php echo BOX_INFORMATION_RETURNS; ?></a></li>
<?php } ?>
Glad you got it worked out.
-
Re: Return Authorization Module (RMA)
hi, i installed RMA v2.2.2, but the customer details are not automatically inserted if log in, i think i did upload all files and run sql correctly. :unsure: any ideas?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi, i installed RMA v2.2.2, but the customer details are not automatically inserted if log in, i think i did upload all files and run sql correctly. :unsure: any ideas?
Make sure if you are using a custom folder you rename the YOUR_TEMPLATE to the name you are using.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi, i installed RMA v2.2.2, but the customer details are not automatically inserted if log in, i think i did upload all files and run sql correctly. :unsure: any ideas?
URL for your site?
-
Re: Return Authorization Module (RMA)
hi clyde, i did a test:
if i sign up with the country USA , UK or others, on returns page, the contact information automatically filled.
if i sign up with the country France, the information couldnt be automatically filled. even if i change the principal address to USA after i sign up, the information on return page still cant be filled automatically.
ps: france is the default country
then i nothice there isn't a country field on the returns page ?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi clyde, i did a test:
if i sign up with the country USA , UK or others, on returns page, the contact information automatically filled.
if i sign up with the country France, the information couldnt be automatically filled. even if i change the principal address to USA after i sign up, the information on return page still cant be filled automatically.
ps: france is the default country
then i nothice there isn't a country field on the returns page ?
URL for your site?
-
Re: Return Authorization Module (RMA)
hi clydejones, thanks for your help from PM, now RMA works fine on my site, but i found a problem, its the email address. after i receive the email of return authorization from the customer, i try to reply this mail, but if i click "REPLY" from my mail box, the email address next to the "SEND TO" is my own email address, it should be the customer's email address. what do i fix this problem? :unsure:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi clydejones, thanks for your help from PM, now RMA works fine on my site, but i found a problem, its the email address. after i receive the email of return authorization from the customer, i try to reply this mail, but if i click "REPLY" from my mail box, the email address next to the "SEND TO" is my own email address, it should be the customer's email address. what do i fix this problem? :unsure:
Let me do some checking, I'll post back ASAP
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Let me do some checking, I'll post back ASAP
hi, is this the problem of RMA or problem of my site?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi, is this the problem of RMA or problem of my site?
I'm still checking to see what the problem might be.
-
1 Attachment(s)
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi clydejones, thanks for your help from PM, now RMA works fine on my site, but i found a problem, its the email address. after i receive the email of return authorization from the customer, i try to reply this mail, but if i click "REPLY" from my mail box, the email address next to the "SEND TO" is my own email address, it should be the customer's email address. what do i fix this problem? :unsure:
Quote:
Originally Posted by
myworld20091
hi, is this the problem of RMA or problem of my site?
Sorry it took so long.
This should fix the problem.
Just unzip the file and upload the entire includes folder to your server.
Attachment 5654
-
Re: Return Authorization Module (RMA)
hi clyde, i uploaded this file, the problem was fixed immediately, thanks for your time and knowledge :clap:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
myworld20091
hi clyde, i uploaded this file, the problem was fixed immediately, thanks for your time and knowledge :clap:
glad its working.
-
Re: Return Authorization Module (RMA)
I uploaded the module via sql and ftp and all seemed to be fine. I do not have a includes/modules/sideboxes/YOUR_TEMPLATE/information.php:
in that exact order. I uploaded it to:includes/modules/sideboxes/information.php
I've got all the files in the zen cart admin and on my server. My problem is I cant get the link to show up in the information box.
Any ideas as to whats going on?
-
Re: Return Authorization Module (RMA)
Meant to say pasted the code to the above folder sequence not uploaded.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
EAPerformanceParts
Meant to say pasted the code to the above folder sequence not uploaded.
check admin -> configuration -> define pages status and make sure it is set to 1
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
EAPerformanceParts
I uploaded the module via sql and ftp and all seemed to be fine. I do not have a includes/modules/sideboxes/YOUR_TEMPLATE/information.php:
in that exact order. I uploaded it to:includes/modules/sideboxes/information.php
I've got all the files in the zen cart admin and on my server. My problem is I cant get the link to show up in the information box.
Any ideas as to whats going on?
YOUR_TEMPLATE = the name of the custom template you are using for your site.
In your case I believe it is cherry_zen
-
Re: Return Authorization Module (RMA)
The define page status is set to 1 and yes "YOUR_TEMPLATE" for me is cherry_zen.
Thats why I'm unsure whats going on, all should be fine but its not showing up.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
EAPerformanceParts
The define page status is set to 1 and yes "YOUR_TEMPLATE" for me is cherry_zen.
Thats why I'm unsure whats going on, all should be fine but its not showing up.
I uploaded it to:includes/modules/sideboxes/information.php
try uploading it to includes/modules/sideboxes/cherry_zen/information/php
-
Re: Return Authorization Module (RMA)
I didnt have this file:
try uploading it to includes/modules/sideboxes/cherry_zen/information/php
I even created it and still nothing. Everything was there but the link would just not show up.
I removed all associated files until I can figure out why this is not working.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
EAPerformanceParts
I didnt have this file:
try uploading it to includes/modules/sideboxes/cherry_zen/information/php
I even created it and still nothing. Everything was there but the link would just not show up.
I removed all associated files until I can figure out why this is not working.
You have an information sidebox showing up on your site it includes the following:
shipping and returns
privacy notice
conditions of use
contact us
So the template file must be located somewhere!
so its either in includes/modules/sideboxes/information.php
or
in includes/modules/sideboxes/cherry_zen/information.php
You just add this code snipit to into the file information.php
if (DEFINE_RETURNS_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';
}
-
Re: Return Authorization Module (RMA)
Hey Clyde, not sure what happened but I got it to work and its there now. The only thing I noticed is my manufacturers and search box has black text, how can I change that back to white?
Thanks for your time!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
EAPerformanceParts
Hey Clyde, not sure what happened but I got it to work and its there now. The only thing I noticed is my manufacturers and search box has black text, how can I change that back to white?
Thanks for your time!
All the sidebox headings appear to be white
-
Re: Return Authorization Module (RMA)
Hmmm, I checked two different computers and both had the manufacturers and search heading in black on the new return page.
??
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
EAPerformanceParts
Hmmm, I checked two different computers and both had the manufacturers and search heading in black on the new return page.
??
open includes/templates/YOUR_TEMPLATE/css/returns.css
delete the highlighted portion from this declaration
label {
float: left;
width: 11em;
margin-right: 1em;
color: #000;
font-weight: bold;
}
-
Re: Return Authorization Module (RMA)
Got it thank you! Also removed the bold.
:thumbsup:
-
Re: Return Authorization Module (RMA)
ok i have a problem i installed the code did the update and i installed the html in the information sidebox and when i do it comes up with this BOX_INFORMATION_RETURNS as the link. so i click on it and it just takes me back to the home page. does anyone know what is wrong please. thank you
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
jlcaudio
ok i have a problem i installed the code did the update and i installed the html in the information sidebox and when i do it comes up with this BOX_INFORMATION_RETURNS as the link. so i click on it and it just takes me back to the home page. does anyone know what is wrong please. thank you
Make sure you have installed ALL of the following files
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Make sure you have installed ALL of the following files
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
got it thank you i was missing 1 file
-
Re: Return Authorization Module (RMA)
Hi clyde,
I have a small issue with this module. I've installed the files in the appropriate folder and also cross referrenced it to the above check list you posted, but I'm not sure what I'm missing.
The return mod shows up fine on my site, and it works. I sent myself a test return email, and that went through okay, no issues there.
When I go to Admin / Configuration / Return Authorization, nothing appears. The page loads fine, but without any data or fields.
Did I forget to activate something?
Posted via Mobile Device
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
dpet102
Hi clyde,
I have a small issue with this module. I've installed the files in the appropriate folder and also cross referrenced it to the above check list you posted, but I'm not sure what I'm missing.
The return mod shows up fine on my site, and it works. I sent myself a test return email, and that went through okay, no issues there.
When I go to Admin / Configuration / Return Authorization, nothing appears. The page loads fine, but without any data or fields.
Did I forget to activate something?
Posted via Mobile Device
Make sure you've run the install_return_authorization.sql.
open admin -> tools -> install sql patches
copy and paste the following into the text area and then click the send button.
Code:
#Return Authorization SQL Install
# For Zen-Cart 1.3.8
# Last Updated: 1/12/2009
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, 'Return - Show Store Name and Address', 'RETURN_STORE_NAME_ADDRESS', 'true', 'Include Store Name and Address', @configuration_group_id, 6, NULL, now(), NULL, 'zen_cfg_select_option(array(''true'', ''false''),');
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', @configuration_group_id, 7, NULL, now(), NULL, 'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),');
-
Re: Return Authorization Module (RMA)
Thank you Clyde, that worked. I'll compare the sql that came with the download, to your posting and see where the difference is to let you know.
I'll post it tomorrow.
Thanks once again.
-
Re: Return Authorization Module (RMA)
Hi again Clyde.. As I indicated in the testimonials support thread I am having another error/strange behavior with this Returns Authorization add-on and Simple SEO.
The problem is this: I have "Only registered customers may submit a return request" set to true. So when the user tries to create a testimonial and they are not logged in, the user is presented with the login page. (so far so good..) after they enter their login information, instead of being redirected back to the returns entry form, they are redirected back to a page that does not exist.. As a matter of fact it looks like they are being redirected to is the SWF file that is on my main page. :huh:If I turn off SEO, it all works just fine..
I could set "Only registered customers may submit a return request" to false, but I REALLY don't want the form available to unregistered visitors.. Hope you can help me figure this out..
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
DivaVocals
Hi again Clyde.. As I indicated in the testimonials support thread I am having another error/strange behavior with this Returns Authorization add-on and Simple SEO.
The problem is this: I have "Only registered customers may submit a return request" set to true. So when the user tries to create a testimonial and they are not logged in, the user is presented with the login page. (so far so good..) after they enter their login information, instead of being redirected back to the returns entry form, they are redirected back to a page that does not exist.. As a matter of fact it looks like they are being redirected to is the SWF file that is on my main page. :huh:If I turn off SEO, it all works just fine..
I could set "Only registered customers may submit a return request" to false, but I REALLY don't want the form available to unregistered visitors.. Hope you can help me figure this out..
I'm not sure exactly how simple seo works so I'm afraid I can't help with this.
You'd probably be better off checking the simple seo support thread and or contacting Yellow1912 directly.
-
Re: Return Authorization Module (RMA)
I have just installed this mod and can't seem to see what it does different than the normal "contact us" form.
Can anyone help me?
Is it supposed to generate a random Returns Authorization number to be used or something?:frusty:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
blackwolf
I have just installed this mod and can't seem to see what it does different than the normal "contact us" form.
Can anyone help me?
Is it supposed to generate a random Returns Authorization number to be used or something?:frusty:
I'm not sure what's not clear about what's different about the RA form.. The fields specific to the purpose of this form CLEARLY distinguish it from the "Contact Us" form. As for the purpose of this form I believe the highlighted section tells it all:
Quote:
This module adds a Return Authorization Request page to your store where your customer can read your returns policy and fill in a form to obtain a return authorization request. The contents of the form are emailed to the store owner.
In short this is a form that allows your customers to REQUEST a return.. If you've installed it, the admin controls and the form itself should give you a clear idea of the purpose and functionality of the RA form.. If this is still not clear, I suggest that now that you've got it installed that you should try using the form so you can understand how it works..
-
Re: Return Authorization Module (RMA)
Hello all, I have been searching for hours trying to figure this out :censored:
How can I disable the (2) images (exclamation.gif & optional.gif) from displaying.
I removed the info from return.php (see below) but there is a small broken icon appearing.
FYI - Firefox is displaying the RMA form correctly, however, IE is not..
MY WEBSITE: CLICK HERE
Thank you
define('RETURN_REQUIRED_INFORMATION', ' = Required Information<br />');
define('RETURN_OPTIONAL_INFORMATION', '');
define('RETURN_OPTIONAL_IMAGE','');
define('RETURN_OPTIONAL_IMAGE_ALT', '');
define('RETURN_OPTIONAL_IMAGE_HEIGHT', '');
define('RETURN_OPTIONAL_IMAGE_WIDTH', '');
define('RETURN_REQUIRED_IMAGE', 'star.gif');
define('RETURN_REQUIRED_IMAGE_ALT', 'required information');
define('RETURN_REQUIRED_IMAGE_HEIGHT', '');
define('RETURN_REQUIRED_IMAGE_WIDTH', '');
define('RETURN_WARNING_IMAGE', '');
define('RETURN_WARNING_IMAGE_ALT', '');
define('RETURN_WARNING_IMAGE_HEIGHT', '');
define('RETURN_WARNING_IMAGE_WIDTH', '');
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Aplus Shoes
Hello all, I have been searching for hours trying to figure this out :censored:
How can I disable the (2) images (exclamation.gif & optional.gif) from displaying.
I removed the info from return.php (see below) but there is a small broken icon appearing.
FYI - Firefox is displaying the RMA form correctly, however, IE is not..
MY WEBSITE:
CLICK HERE
Thank you
define('RETURN_REQUIRED_INFORMATION', ' = Required Information<br />');
define('RETURN_OPTIONAL_INFORMATION', '');
define('RETURN_OPTIONAL_IMAGE','');
define('RETURN_OPTIONAL_IMAGE_ALT', '');
define('RETURN_OPTIONAL_IMAGE_HEIGHT', '');
define('RETURN_OPTIONAL_IMAGE_WIDTH', '');
define('RETURN_REQUIRED_IMAGE', 'star.gif');
define('RETURN_REQUIRED_IMAGE_ALT', 'required information');
define('RETURN_REQUIRED_IMAGE_HEIGHT', '');
define('RETURN_REQUIRED_IMAGE_WIDTH', '');
define('RETURN_WARNING_IMAGE', '');
define('RETURN_WARNING_IMAGE_ALT', '');
define('RETURN_WARNING_IMAGE_HEIGHT', '');
define('RETURN_WARNING_IMAGE_WIDTH', '');
two options available ( 1 simple, 1 more involved )
simple - create two 1 pixel transparent images and name them ( exclamation.gif , optional.gif )
upload these new images to includes/templates/YOUR_TEMPLATE/images
more involved - open includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
find each src reference to ( exclamation.gif , optional.gif ) and delete them.
Code:
. zen_image($template->get_template_dir(RETURN_OPTIONAL_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_OPTIONAL_IMAGE, RETURN_OPTIONAL_IMAGE_ALT, RETURN_OPTIONAL_IMAGE_WIDTH, RETURN_OPTIONAL_IMAGE_HEIGHT)
. zen_image($template->get_template_dir(RETURN_WARNING_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_WARNING_IMAGE, RETURN_WARNING_IMAGE_ALT, RETURN_WARNING_IMAGE_WIDTH, RETURN_WARNING_IMAGE_HEIGHT)
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
DivaVocals
Hi again Clyde.. As I indicated in the testimonials support thread I am having another error/strange behavior with this Returns Authorization add-on and Simple SEO.
The problem is this: I have "Only registered customers may submit a return request" set to true. So when the user tries to create a testimonial and they are not logged in, the user is presented with the login page. (so far so good..) after they enter their login information, instead of being redirected back to the returns entry form, they are redirected back to a page that does not exist.. As a matter of fact it looks like they are being redirected to is the SWF file that is on my main page. :huh:If I turn off SEO, it all works just fine..
I could set "Only registered customers may submit a return request" to false, but I REALLY don't want the form available to unregistered visitors.. Hope you can help me figure this out..
Make sure you have cleared your simple seo cache. I have simple seo install along with this add-on with no problems. I know what you are talking about, maybe yellow can give you a hint. You could try adding login to your Exclude list in simple seo configuration.
Sorry clydejones for going off topic.
-
Re: Return Authorization Module (RMA)
Thanks.. actually did all of this, and still no joy.. but no worries..:smile: I installed a different SEO, and all is right with the world.. Sorry Clyde.. no more hijacking from me!
Quote:
Originally Posted by
countrycharm
Make sure you have cleared your simple seo cache. I have simple seo install along with this add-on with no problems. I know what you are talking about, maybe yellow can give you a hint. You could try adding login to your Exclude list in simple seo configuration.
Sorry clydejones for going off topic.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
two options available ( 1 simple, 1 more involved )
simple - create two 1 pixel transparent images and name them ( exclamation.gif , optional.gif )
upload these new images to includes/templates/YOUR_TEMPLATE/images
more involved - open includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
find each src reference to ( exclamation.gif , optional.gif ) and delete them.
Code:
. zen_image($template->get_template_dir(RETURN_OPTIONAL_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_OPTIONAL_IMAGE, RETURN_OPTIONAL_IMAGE_ALT, RETURN_OPTIONAL_IMAGE_WIDTH, RETURN_OPTIONAL_IMAGE_HEIGHT)
. zen_image($template->get_template_dir(RETURN_WARNING_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_WARNING_IMAGE, RETURN_WARNING_IMAGE_ALT, RETURN_WARNING_IMAGE_WIDTH, RETURN_WARNING_IMAGE_HEIGHT)
Thank you for your help clydejones....I was able to fix the problem:clap:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
ScrapbookSupplies
Hi Clyde, :smile:
After going over it and over it and over it again I finally found the problem for real this time. I'm a little slow but at least I know where my issue is, fixing it is another story, am hoping you can shed some advice on it.
I finally re-ran the SQL query, and to my surprise it did not give me an error, so of course I felt silly at first, thinking I must have forgotten to run it the first time - but that didn't fix the problem. Then something told me to look at the dB thru MySQL, and I could not find any rows with the word "return" in them. So, I ran the query directly in the phpAdmin screen and got a #1146 Error - - Table 'scrapcha_zencart.configuration_group' doesn't exist. I will paste the exact error below, along with a copy of the query below. I think the only thing that I need to do is change the name from configuration_group_id to just configuration_group, but not being very familiar with My SQL, I am afraid to make any kind of change to it on my own. Also, we have a configuration_group but no configuration_group_title.
Can you tell? Please?
SQL Query ERROR:
ATTEMPTED QUERY:
Thank you so much for your help!!
New to this mod, but I too am getting this same error from phpMyAdmin. If I copy/paste into SQL Query, (inside of admin) I get the pink bar at top with "failed".
Any ideas?
Thanks...
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
ohgoodiee
New to this mod, but I too am getting this same error from phpMyAdmin. If I copy/paste into SQL Query, (inside of admin) I get the pink bar at top with "failed".
Any ideas?
Thanks...
Try this from the install_returns_authorization.txt file.
Run the included install_return_authorization.sql using the Zen-Cart Sql Patches tool
(admin -> tools -> install sql patches)
For best results, copy-and-paste the code into the query field and press 'Send'.
-
Re: Return Authorization Module (RMA)
I am having a problem with this mod. I have installed and reinstalled many times with the same result. When I add the link code to the information.php to put returns in the information sidebox the information box on the web page is removed along with the center and right columns. When I restore the old information.php file everything is returned to normal. I can't work out why this is happening. Any help would be appreciated.
-
1 Attachment(s)
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
kevy
I am having a problem with this mod. I have installed and reinstalled many times with the same result. When I add the link code to the information.php to put returns in the information sidebox the information box on the web page is removed along with the center and right columns. When I restore the old information.php file everything is returned to normal. I can't work out why this is happening. Any help would be appreciated.
Try this:
Just unzip the package and upload the information.php file to your server (includes/modules/sideboxes/YOUR_TEMPLATE/information.php)
Attachment 6822
-
Re: Return Authorization Module (RMA)
Mate you are a legend that worked just fine it now works. Not sure what I did but it mustn't have been that. Thanks for the quick reply and your great help.:D
-
Re: Return Authorization Module (RMA)
Kevy & Clyde, I had the same problem and just installed your kevyfix and it populated my columns and pictures again but when I click on the link nothing happens. I've read and re-read but I can not figure out where /how to make the form show up. Here is my link https://www.dittanybaby.com/test/ind...LENAME_RETURNS
Can u help clyde?
Shannon
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
booghaboobaby
Kevy & Clyde, I had the same problem and just installed your kevyfix and it populated my columns and pictures again but when I click on the link nothing happens. I've read and re-read but I can not figure out where /how to make the form show up. Here is my link
https://www.dittanybaby.com/test/ind...LENAME_RETURNS
Can u help clyde?
Shannon
Make sure you have uploaded ALL the files necessary for this mod to function properly:
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
-
Re: Return Authorization Module (RMA)
Yes I confirmed that all of those files are there. I did miss renaming one of the YOUR_TEMPLATE but even fixing that I still am having the same issue. https://www.dittanybaby.com/test/ind...LENAME_RETURNS
Is there someplace else I should look?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
booghaboobaby
download and install the debug error logging utility
-
Re: Return Authorization Module (RMA)
thanks I will as soon as i rebuild it! I crashed it loading the customer rewards module and am having to re-install it now. I'll let you know.
thanks again!
-
Re: Return Authorization Module (RMA)
Hi Clyde,
Thanks for all of your great mods, we use several of them! I have been using this mod for a while now, v2.2, and have always meant to figure out how to change the action requested:0 in the email to read action requested:Return or whatever the value is in the admin configuration. Could you please tell me how to fix that?
Thanks!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
lankeeyankee
Hi Clyde,
Thanks for all of your great mods, we use several of them! I have been using this mod for a while now, v2.2, and have always meant to figure out how to change the action requested:0 in the email to read action requested:Return or whatever the value is in the admin configuration. Could you please tell me how to fix that?
Thanks!
Not sure what you mean:
This is what you should get:
Order Number: T00000
Total Value:
Item Number:
Item Name:
Action Requested: Replacement
------------------------------------------------------
Reason: Test of return authorization mod
What are the settings you have in the admin configuration settings?
-
Re: Return Authorization Module (RMA)
Order Number: 74770
Total Value:
Item Number:
Item Name:
Action Requested: 0
I haven't changed anything from the stock module, I have the setting set to:
Phone Number true
Total Value false
Item Number true
Only registered customers may submit a return request false
Set "Return Action" Dropdown List Refund, Replacement
When searching through this thread for "Action Requested" I see where other people have posted their emails that they have the array number instead of the value, too, but others have the value. Search the thread if you want to see what I mean.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
lankeeyankee
Order Number: 74770
Total Value:
Item Number:
Item Name:
Action Requested: 0
I haven't changed anything from the stock module, I have the setting set to:
Phone Number true
Total Value false
Item Number true
Only registered customers may submit a return request false
Set "Return Action" Dropdown List Refund, Replacement
When searching through this thread for "Action Requested" I see where other people have posted their emails that they have the array number instead of the value, too, but others have the value. Search the thread if you want to see what I mean.
can you post the code from tpl_returns_default.php
from about line(s) 123 to 137
BTW - the most recent version in the downloads section is 2.3.0
-
Re: Return Authorization Module (RMA)
PHP Code:
<?php
if (RETURN_ACTION_LIST !=''){
foreach(explode(",", RETURN_ACTION_LIST) as $k => $v) {
$entry_action_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v));
}
?>
<label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION; ?></label>
<?php echo zen_draw_pull_down_menu('action', $entry_action_array, 'id="entry-action"');?>
<?php
} else {
$default_action = ENTRY_ACTION_DEFAULT;
?>
<label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION; ?></label>
<?php echo zen_draw_input_field('action', $default_action, 'size="20" id="entry-action"') ; ?>
<?php
}
?>
Is that what you are looking for? I guess I should look at the update module!:blush:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
lankeeyankee
PHP Code:
<?php
if (RETURN_ACTION_LIST !=''){
foreach(explode(",", RETURN_ACTION_LIST) as $k => $v) {
$entry_action_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v));
}
?>
<label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION; ?></label>
<?php echo zen_draw_pull_down_menu('action', $entry_action_array, 'id="entry-action"');?>
<?php
} else {
$default_action = ENTRY_ACTION_DEFAULT;
?>
<label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION; ?></label>
<?php echo zen_draw_input_field('action', $default_action, 'size="20" id="entry-action"') ; ?>
<?php
}
?>
Is that what you are looking for? I guess I should look at the update module!:blush:
Try changing this line:
$entry_action_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v));
TO this
$entry_action_array[] = array('id' => $v, 'text' => preg_replace('/\<[^*]*/', '', $v));
-
Re: Return Authorization Module (RMA)
can anyone help me with this, I've altered this mod and just need a little help to finish it off.
What I've done is provide a return request link from a customers account page, this passes the order id to the Return request page, which fills in the order id for the customer.
I've also added the code below to pull in the items from the order so the customer can select via checkbox which item they want to return.
The problem I am having is looping through the checkboxes when its posted and then adding them to the e-mail sent to the site admin.
Its probably quite simple but my brain is now fried.
Once I've got this sorted I'll post my tweaks as someone may find them useful.
This section get the order id
Code:
<?php if ($_GET['order_id'] != '') {$order_number = $_GET['order_id'];} ?>
<?php if ($_POST['order_id'] != '') {$order_number = $_POST['order_id'];} ?>
<? $orderidnumber = $order_number;?>
This section gets the items from the order
Code:
<li>
<label for="item_name"><?php echo ENTRY_ITEM_NAME . zen_image($template->get_template_dir(RETURN_OPTIONAL_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_OPTIONAL_IMAGE, RETURN_OPTIONAL_IMAGE_ALT, RETURN_OPTIONAL_IMAGE_WIDTH, RETURN_OPTIONAL_IMAGE_HEIGHT); ?></label>
<? global $db;?>
<? $rmaproduct = $db->Execute("SELECT * from " . TABLE_ORDERS_PRODUCTS . " WHERE orders_id = $orderidnumber" );
while (!$rmaproduct ->EOF) {
echo '<input name="item_name" checked="checked" type="checkbox" value="'. $rmaproduct->fields['products_name'] . ' model='. $rmaproduct->fields['products_model'] . '" />'. $rmaproduct->fields['products_name'] . '<br />';
$rmaproduct->MoveNext();
}?>
</li>
-
Re: Return Authorization Module (RMA)
If I have multiple orders how do you select which order number to use?
Quote:
Originally Posted by
steveyork136
can anyone help me with this, I've altered this mod and just need a little help to finish it off.
What I've done is provide a return request link from a customers account page, this passes the order id to the Return request page, which fills in the order id for the customer.
I've also added the code below to pull in the items from the order so the customer can select via checkbox which item they want to return.
The problem I am having is looping through the checkboxes when its posted and then adding them to the e-mail sent to the site admin.
Its probably quite simple but my brain is now fried.
Once I've got this sorted I'll post my tweaks as someone may find them useful.
This section get the order id
Code:
<?php if ($_GET['order_id'] != '') {$order_number = $_GET['order_id'];} ?>
<?php if ($_POST['order_id'] != '') {$order_number = $_POST['order_id'];} ?>
<? $orderidnumber = $order_number;?>
This section gets the items from the order
Code:
<li>
<label for="item_name"><?php echo ENTRY_ITEM_NAME . zen_image($template->get_template_dir(RETURN_OPTIONAL_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_OPTIONAL_IMAGE, RETURN_OPTIONAL_IMAGE_ALT, RETURN_OPTIONAL_IMAGE_WIDTH, RETURN_OPTIONAL_IMAGE_HEIGHT); ?></label>
<? global $db;?>
<? $rmaproduct = $db->Execute("SELECT * from " . TABLE_ORDERS_PRODUCTS . " WHERE orders_id = $orderidnumber" );
while (!$rmaproduct ->EOF) {
echo '<input name="item_name" checked="checked" type="checkbox" value="'. $rmaproduct->fields['products_name'] . ' model='. $rmaproduct->fields['products_model'] . '" />'. $rmaproduct->fields['products_name'] . '<br />';
$rmaproduct->MoveNext();
}?>
</li>
-
Re: Return Authorization Module (RMA)
Hi clydejones
I add a link from the customers account page, so on page tpl_account_default.php where a customer can view their orders, next to the view button there is a "return request button", clicking this button sends the customer (with the order_id in the url) to the return request page.
This is the code for the tpl_account_default.php page
The extra code is <th scope="col"><?php echo TABLE_HEADING_RMA; ?></th> which adds the column header
and
<td width="120px"><?php echo '<a href="' . zen_href_link(FILENAME_RETURNS, 'order_id=' . $orders['orders_id'], 'SSL') . '"> ' . zen_image_button(BUTTON_IMAGE_RMA_SMALL, BUTTON_RMA_SMALL_ALT) . '</a>'; ?></td>
which builds the link using the zen button scheme
Code:
<table width="100%" border="0" cellpadding="0" cellspacing="0" id="prevOrders">
<caption><h2><?php echo OVERVIEW_PREVIOUS_ORDERS; ?></h2></caption>
<tr class="tableHeading">
<th scope="col"><?php echo TABLE_HEADING_DATE; ?></th>
<th scope="col"><?php echo TABLE_HEADING_ORDER_NUMBER; ?></th>
<th scope="col"><?php echo TABLE_HEADING_SHIPPED_TO; ?></th>
<th scope="col"><?php echo TABLE_HEADING_STATUS; ?></th>
<th scope="col"><?php echo TABLE_HEADING_TOTAL; ?></th>
<th scope="col"><?php echo TABLE_HEADING_VIEW; ?></th>
<th scope="col"><?php echo TABLE_HEADING_RMA; ?></th>
</tr>
<?php
foreach($ordersArray as $orders) {
?>
<tr>
<td width="80px"><?php echo zen_date_short($orders['date_purchased']); ?></td>
<td width="40px"><?php echo TEXT_NUMBER_SYMBOL . $orders['orders_id']; ?></td>
<td align="center"><address><?php echo zen_output_string_protected($orders['order_name']) . '<br />' . $orders['order_country']; ?></address></td>
<td width="80px"><?php echo $orders['orders_status_name']; ?></td>
<td width="80px" align="right"><?php echo $orders['order_total']; ?></td>
<td align="center"><?php echo '<a href="' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $orders['orders_id'], 'SSL') . '"> ' . zen_image_button(BUTTON_IMAGE_VIEW_SMALL, BUTTON_VIEW_SMALL_ALT) . '</a>'; ?></td>
<td width="120px"><?php echo '<a href="' . zen_href_link(FILENAME_RETURNS, 'order_id=' . $orders['orders_id'], 'SSL') . '"> ' . zen_image_button(BUTTON_IMAGE_RMA_SMALL, BUTTON_RMA_SMALL_ALT) . '</a>'; ?></td>
</tr>
<?php
}
?>
</table>
-
Re: Return Authorization Module (RMA)
Using Zen-Cart ver 1.3.8a
Also using RMA Version: v2.3.2
Last Updated: Jan 29 2010
The form is showing up fine, I can fill everything out, however when you hit submit, the customer receives an email however I don't receive an email containing the customer's information.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
sonjamichelle
Using Zen-Cart ver 1.3.8a
Also using RMA Version: v2.3.2
Last Updated: Jan 29 2010
The form is showing up fine, I can fill everything out, however when you hit submit, the customer receives an email however I don't receive an email containing the customer's information.
Check your email settings admin -> configuration -> e-mail options
Also check the spam filter settings on your e-mail accounts