-
Re: Return Authorization Module (RMA)
Hi Clyde! Is me another time.
Is it possible that this mod interferes with the order total module?
Today i have this message when i go to admin>>modules>>order total:
Fatal error: Call to a member function on a non-object in /var/www/vhost/bellezaisis.com/home/html/shop/includes/modules/order_total/ot_gv.php on line 29
I´m crazy before being more than 4 hours sking me which is the origin of this message
-
Re: Return Authorization Module (RMA)
It doesn't modify or use use any core files whatsoever and doesn't involve the use of any other modules.
-
Re: Return Authorization Module (RMA)
Don´t worry about this...
After power off computer and re-entering at zen-cart... no problem, all is ok!!!
I don´t know why, but i have read a lot of similar situations to other people that suddenly were solved "automatically"...
maybe is the version of php, maybe the system of storing sessions...
i don´t know!
-
Re: Return Authorization Module (RMA)
I have just stumbled across this mod, just what I was looking for.
Have installed it but there are a couple of issues I am having with it.
1. I modified my more_info sidebox to display the returns, it didn't work, so I have put it in the info box which did work. I suspect that this is because I modified the more_info sidebox some time back to give me an "about us" box, and I can't remember what I did, I am considering restoring the original side boxes as there is an about_us mod.
2. Everything is set to true in the admin panel, but the phone number is optional
3. There are a number of white boxes on the same side of the form as the text (left).
4. I want to remove the "Action Requested" statement and just have it default to "Repair"
I have not yet tested the form to see if it will process the emails.
If anyone has any thoughts I would like to hear them.
Note: I am not a coder and have difficulties unless you are explicit in your instruction.
URL to view:
http://seriousshooters-rotorua.co.nz
Regards
Fred
-
Re: Return Authorization Module (RMA)
Quote:
1. I modified my more_info sidebox to display the returns, it didn't work, so I have put it in the info box which did work. I suspect that this is because I modified the more_info sidebox some time back to give me an "about us" box, and I can't remember what I did, I am considering restoring the original side boxes as there is an about_us mod.
Use the following code in your more_info sidebox.
PHP Code:
if (DEFINE_RETURNS_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_RETURNS) . '">' . BOX_INFORMATION_RETURNS . '</a>';
}
Quote:
2. Everything is set to true in the admin panel, but the phone number is optional
The admin for the phone number option only sets whether the textbox will display or not.
Entering the phone number is optional since some people need it and others do not.
Quote:
3. There are a number of white boxes on the same side of the form as the text (left).
Check this post for solutions to this problem.
www.zen-cart.com/forum/showpost.php?p=349494&postcount=97
Quote:
4. I want to remove the "Action Requested" statement and just have it default to "Repair"
This would require some extensive re-coding. I can include it as an option in a future upgrade.
-
Re: Return Authorization Module (RMA)
Wow thanks Clyde your a machine, your support for this module is fantastic.
I am not sure if my "Repair" request warrants such a rewrite, but if you were so inclined, maybe if there was a admin control for the "Action Requested:" where an action can be defined or optionally turn on/off.
Once again, thanks a million for the very quick and very pro-active responce to my questions, from a newby point of view it is so helpfull.
Regards
Fred
-
Re: Return Authorization Module (RMA)
hello clyde.
How can i change the status of the marked option?
I.e: actually it´s pre-marked the option "pay-off", but i prefer "change merchandise" pre-marked.
thanx for your continuous care about our questions.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
tonibarcelona
hello clyde.
How can i change the status of the marked option?
I.e: actually it´s pre-marked the option "pay-off", but i prefer "change merchandise" pre-marked.
thanx for your continuous care about our questions.
:huh: Not quite sure what you are referring to here.
Current "action" options are "Refund" and "Replacement" these are the current default options.
-
Re: Return Authorization Module (RMA)
Yes, sorry. My english is horrible.
Yes, i´m referring to replacement and refund...
-
Re: Return Authorization Module (RMA)
Open includes/languages/english/YOUR_TEMPLATE/returns.php
Find the following entries and change them as necessary.
define('ENTRY_ACTION_REFUND', 'Refund');
define('ENTRY_ACTION_REPLACE', 'Replacement');
-
Re: Return Authorization Module (RMA)
that was made
my question is:how to invert the marked option as default?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
tonibarcelona
that was made
my question is:how to invert the marked option as default?
Open includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php
Find the following code:
PHP Code:
<?php echo '<option value="' . ENTRY_ACTION_REFUND . '">' . ENTRY_ACTION_REFUND . '</option>' ; ?>
<?php echo '<option value="' . ENTRY_ACTION_REPLACE . '">' . ENTRY_ACTION_REPLACE . '</option>' ;?>
You can simply reverse the two statements as follows:
PHP Code:
<?php echo '<option value="' . ENTRY_ACTION_REPLACE . '">' . ENTRY_ACTION_REPLACE . '</option>' ;?>
<?php echo '<option value="' . ENTRY_ACTION_REFUND . '">' . ENTRY_ACTION_REFUND . '</option>' ; ?>
-
Return Authorization Module (2.1.3)
Return Authorization Module (2.1.3) Released
This upgrade of the Return Authorization MOD contains the following Features:
Features now available in the admin menu:
admin -> configuration -> Return Authorization
Phone Number (Display phone number field) can be set to true/false
Total Value (Display Total Value field) can be set to true/false
Item Number (Display Item Number field) can be set to true/false
Only registered customers may submit a return request can be set to true/false
New option -
Set "Return Action" Dropdown List (You can set your own "Action Requested" dropdown list - refund, replacement -) making it as long or as short as necessary.
Fixed
Customer details inserted automatically if they are logged in. (fixed a problem with filling in the "State" field mentioned by Boggled
-
Re: Return Authorization Module (RMA)
Cool Clyde! :clap:
I'm off to install the new version now.
-
Re: Return Authorization Module (RMA)
Works great!! :thumbsup:
Only thing I noticed was some of the formatting on the customer's email.
This is what it looked like:
Quote:
Dear Test
EmailThank you for your recent request.
Your request has been successfully submitted to Old River Rat Driftwood. It
will be reviewed and you will receive an email with instructions on how to
proceed. If you have not received it within the next 48 hours, please
contact us before submitting your request again.For help with our Returns
Policy, please email the store-owner:
[email protected]: This
email address was given to us during a Return Authorization Request. If you
have a problem, please send an email to
[email protected].
The parts in red are what I need to fix. I think all they need is a <br> added in. Which file would I go to?
Thanks for all your hard work!! :smile:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Boggled
Works great!! :thumbsup:
Only thing I noticed was some of the formatting on the customer's email.
This is what it looked like:
The parts in red are what I need to fix. I think all they need is a <br> added in. Which file would I go to?
Thanks for all your hard work!! :smile:
Hmmmm, I just checked the new file and the <br /> tags are/were included.
Any way check includes/languages/english/YOUR_TEMPLATE/returns.php
These are the define statements involved.
PHP Code:
define('EMAIL_GREET_NONE', 'Dear %s,<br />');
define('EMAIL_WELCOME', 'Thank you for your recent request.<br />');
define('EMAIL_TEXT', 'Your request has been successfully submitted to ' . STORE_NAME . '. It will be reviewed and you will receive an email with instructions on how to proceed. If you have not received it within the next 48 hours, please contact us before submitting your request again.<br />');
define('EMAIL_CONTACT', 'For help with our Returns Policy, please email the store-owner: ' . STORE_OWNER_EMAIL_ADDRESS . '.<br />');
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 . '.<br />');
-
Re: Return Authorization Module (RMA)
many thanks for your reply, Clyde!!
Now, i´m working at installing your new version!!
You work faster at making new version than me at installing!!:smile:
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Hmmmm, I just checked the new file and the <br /> tags are/were included.
Any way check includes/languages/english/YOUR_TEMPLATE/returns.php
These are the define statements involved.
PHP Code:
define('EMAIL_GREET_NONE', 'Dear %s,<br />');
define('EMAIL_WELCOME', 'Thank you for your recent request.<br />');
define('EMAIL_TEXT', 'Your request has been successfully submitted to ' . STORE_NAME . '. It will be reviewed and you will receive an email with instructions on how to proceed. If you have not received it within the next 48 hours, please contact us before submitting your request again.<br />');
define('EMAIL_CONTACT', 'For help with our Returns Policy, please email the store-owner: ' . STORE_OWNER_EMAIL_ADDRESS . '.<br />');
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 . '.<br />');
Hi Clyde!
Sorry for the delay in returning to this thread to thank you for your response.
I checked the file and it has all the correct breaks. Not sure why it still comes thru quirky, but I'm not worrying about it too much. LOL
I did run across something else today though and seems like I remember this being a glitch in the original version. If you hit 'reply' to respond to the RA email, the store email address is who it sends the message to instead of the customer.
Is there a fix for this?
Thanks again!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Boggled
Hi Clyde!
Sorry for the delay in returning to this thread to thank you for your response.
I checked the file and it has all the correct breaks. Not sure why it still comes thru quirky, but I'm not worrying about it too much. LOL
I did run across something else today though and seems like I remember this being a glitch in the original version. If you hit 'reply' to respond to the RA email, the store email address is who it sends the message to instead of the customer.
Is there a fix for this?
Thanks again!
I'll check on this and get back to you.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Open includes/languages/english/YOUR_TEMPLATE/returns.php
Find the following entries and change them as necessary.
define('ENTRY_ACTION_REFUND', 'Refund');
define('ENTRY_ACTION_REPLACE', 'Replacement');
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:
PHP Code:
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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:
PHP Code:
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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:
PHP Code:
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
-
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?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Check admin -> configuration -> Return Authorization
turn off only registered users can submit a link
Thank you. That did it.
-
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
I'll post a fix for you ASAP
ok great thanks
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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 1870
-
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.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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 1885
-
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
-
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).
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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 1890
-
Re: Return Authorization Module (RMA)
Nope. With this fix nothing is filled. All fields remains blank.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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
-
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: www.mommyandbabyessentials.com
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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:
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.
Code:
#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
-
Re: Return Authorization Module (RMA)
Worked great!! Thanks a million!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
helpme
Worked great!! Thanks a million!
Glad to help
-
Re: Return Authorization Module (RMA)
I thought I had this working, but I just went to finish setting it up and the only thing I can find in my admin for it is under admin/config Am I missing something, I thought I could find in layout boxes, but I don't see it.....I feel like I am looking right at it but where??? I was going to add it to the drop down menu however I looked at doing that and I don't know anything about
then a menu item to
includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
thanks for your help.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
helpme
I thought I had this working, but I just went to finish setting it up and the only thing I can find in my admin for it is under admin/config Am I missing something, I thought I could find in layout boxes, but I don't see it.....I feel like I am looking right at it but where??? I was going to add it to the drop down menu however I looked at doing that and I don't know anything about
then a menu item to
includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
thanks for your help.
This is an extra page and the only reference to it in admin is in admin -> configuration.
As far as adding to the drop down menu you have to edit two files:
includes/languages/english/extra_definitions/YOUR_TEMPLATE/headermenu.php
add a new define statement for the return authorization page
the other file to edit is
includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php
-
Re: Return Authorization Module (RMA)
Okay, so I have a really stupid question, and I apoligize for it now, but how do my customers find the page unless I put it in the drop down menu? And if I am not understanding and the customer doesn't actually use this, I do, how do I find it? I am really sorry, my day is not starting right!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
helpme
Okay, so I have a really stupid question, and I apoligize for it now, but how do my customers find the page unless I put it in the drop down menu? And if I am not understanding and the customer doesn't actually use this, I do, how do I find it? I am really sorry, my day is not starting right!
from the readme.txt of the contribution:
Quote:
To add the link in your Information sidebox, copy the following code and add it in the desired location in includes/modules/sideboxes/YOUR_TEMPLATE/information.php:
if (DEFINE_RETURNS_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';
}
(If you want it in the more_information sidebox, change $information[] to $more_information[] and add it to includes/modules/sideboxes/YOUR_TEMPLATE/more_information.php)
-
Re: Return Authorization Module (RMA)
Thanks, sorry I missed that spot in the read me.txt
-
Re: Return Authorization Module (RMA)
Hi ClydeJones
Thanks for the great mod. I am using it a as a template to create a different form and I have one question. How can I modify it to send an email to a different email address? Can it be hard coded somewhere?
Thank!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
voltage
Hi ClydeJones
Thanks for the great mod. I am using it a as a template to create a different form and I have one question. How can I modify it to send an email to a different email address? Can it be hard coded somewhere?
Thank!
You can probably use a define statement in includes/languages/english/YOUR_TEMPLATE/returns.php
define('EMAIL_TO', '[email protected]');
then in includes/modules/pages/returns/header_php.php
find:
Code:
$send_to_email = EMAIL_FROM;
and change it to:
Code:
$send_to_email = EMAIL_TO;
-
Re: Return Authorization Module (RMA)
Has anybody had problems with the customer information prepopulate? I have installed this mod (and a modified version of it) and in both cases, the name and email are correct, but it pulls the address info for the customer with the id = 1 in every case.
Any ideas?
(Just in case I wasnt clear, lets say the first customer to sign up had the address:
7384 Green St
Las Vegas, NV 89106
No matter which customer is logged in, the above address is prepopulated.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
voltage
Has anybody had problems with the customer information prepopulate? I have installed this mod (and a modified version of it) and in both cases, the name and email are correct, but it pulls the address info for the customer with the id = 1 in every case.
Any ideas?
(Just in case I wasnt clear, lets say the first customer to sign up had the address:
7384 Green St
Las Vegas, NV 89106
No matter which customer is logged in, the above address is prepopulated.
Try this fix: I've checked it on each address I have and the come up correct.
Attachment 1984
Just unzip the and upload the includes folder to your server.
-
Re: Return Authorization Module (RMA)
Sweet! That fix literally had my name all over it! :D
BTW, what did you change? It worked like a charm.
Thanks
Quote:
Originally Posted by
clydejones
Try this fix: I've checked it on each address I have and the come up correct.
Attachment 1984
Just unzip the and upload the includes folder to your server.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
voltage
Sweet! That fix literally had my name all over it! :D
BTW, what did you change? It worked like a charm.
Thanks
I had to re-work the sql statement that calls the address information.
-
Re: Return Authorization Module (RMA)
I think the prepopulate feature is really slick. How would I go about doing the same thing with the contact us page?
Thanks again for your help
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
voltage
I think the prepopulate feature is really slick. How would I go about doing the same thing with the contact us page?
Thanks again for your help
The contact us page does this by default.
-
Re: Return Authorization Module (RMA)
So has anyone zipped this one up and made it an official contribution or would one have to go through the entire thread and do the fixes..?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Svanis
So has anyone zipped this one up and made it an official contribution or would one have to go through the entire thread and do the fixes..?
Most recent version is available in the downloads section (Other Modules)
-
Re: Return Authorization Module (RMA)
Clyde,
I am not sure what happened, but the link in my sidebox no longer works. It is missing the / after my url before the page name, I uninstalled, and reinstalled and it didn't fix it. Where do I fix this? Thanks!
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
helpme
Clyde,
I am not sure what happened, but the link in my sidebox no longer works. It is missing the / after my url before the page name, I uninstalled, and reinstalled and it didn't fix it. Where do I fix this? Thanks!
This is how the link should appear in the information sidebox:
Code:
if (DEFINE_RETURNS_STATUS <= 1) {
$information[] = '<a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a>';
}
-
Re: Return Authorization Module (RMA)
I just checked the link and it is correct. I even copied, pasted and uploaded it again just to make sure, but no change.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
helpme
I just checked the link and it is correct. I even copied, pasted and uploaded it again just to make sure, but no change.
You might want to uninstall/reinstall the mod.
first) manually delete these 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
second) reinstall the mod.
-
Re: Return Authorization Module (RMA)
I must be missing something because although I'm showing the mod in my define_page editor, I don't see any addition to my returns page. Is there something I need to turn on for it to appear?
Please look here
-
Re: Return Authorization Module (RMA)
Never mind, I found it. Duh....just had to add the new Define to my information sidebox. Now does anyone know which file to edit to change the words Shipping & Returns to just Shipping in the information sidebox?
Thanks
-
Re: Return Authorization Module (RMA)
After installing this mod, I attempted to change the email address on a customers account from the Admin but I receive the following error message:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if (() > 0) { and customers_id != '6'' at line 4
in:
[select customers_email_address from zen_customers where customers_email_address = 'REMOVED######################' if (() > 0) { and customers_id != '6']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Where would I correct this? Also, I'm using the current version 1.37 of Zencart.
Thanks for your help
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Robbyn7
After installing this mod, I attempted to change the email address on a customers account from the Admin but I receive the following error message:
1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if (() > 0) { and customers_id != '6'' at line 4
in:
[select customers_email_address from zen_customers where customers_email_address = 'REMOVED######################' if (() > 0) { and customers_id != '6']
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
Where would I correct this? Also, I'm using the current version 1.37 of Zencart.
Thanks for your help
Un-install the mod and then try changing the e-mail address again.
-
Re: Return Authorization Module (RMA)
I have a strange problem, I have had this installed for some time now and I just tested it, good thing I did!! When login in another customers address shows up!! Strange thing is that it is ONLY wrong on the return authorization page....my account it right, new orders are right all the other places where my address would show up is correct, but it is wrong on the RA . Oh and the house #, street, city, state and zip are the only things wrong.
Any idea why this is happening?
Thanks
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
helpme
I have a strange problem, I have had this installed for some time now and I just tested it, good thing I did!! When login in another customers address shows up!! Strange thing is that it is ONLY wrong on the return authorization page....my account it right, new orders are right all the other places where my address would show up is correct, but it is wrong on the RA . Oh and the house #, street, city, state and zip are the only things wrong.
Any idea why this is happening?
Thanks
this bug has been fixed. download the latest version from the downloads section.
-
Re: Return Authorization Module (RMA)
Thanks Clyde for the reply. I un-installed the module and re-installed to the latest one but I'm still receiving the 1064 error.
Any other suggestions?
Thanks.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Robbyn7
Thanks Clyde for the reply. I un-installed the module and re-installed to the latest one but I'm still receiving the 1064 error.
Any other suggestions?
Thanks.
1) Un install the contribution. Don't re-install it yet.
I'm not sure why the mod would be causing this error since it doesn't call anything connected with a customer e-mail address from the admin.
2) try changing the e-mail address ( if you receive the error then you'll know it had nothing to do with the mod but lies somewhere else.
-
Re: Return Authorization Module (RMA)
I tried this fix but the auto fill for the address is not working. I was having the same problem with the auto fill putting in a users address other than the user who is requesting the RA. So i tired this fix now the form does not auto fill
Quote:
Originally Posted by
clydejones
Try this fix: I've checked it on each address I have and the come up correct.
Attachment 1984
Just unzip the and upload the includes folder to your server.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
lextechs
I tried this fix but the auto fill for the address is not working. I was having the same problem with the auto fill putting in a users address other than the user who is requesting the RA. So i tired this fix now the form does not auto fill
I just created an account on the site, went to the returns page and lo and behold, there was my name and address all auto filled in and correct.
-
Re: Return Authorization Module (RMA)
Hmmm i wounder why it's not working for my test user . anyway it seems to be working now after i updated the test users address. My Question is how do i get it to sent to a specific e-mail address. and show the customer's address as the return?
Currently the head ther customer gets.
Return Authorization Request
From: Lextechs ([email protected])<<<< I would like that to say [email protected]
Sent: Tue 7/17/07 4:31 PM
Reply-to: [email protected] <<<<<<<<<<<<<< This to say the customer's e-mail in this case ajoseph619##########################
To: ajoseph619##########################
On the admin side i just want it to sent a e-mail to [email protected]
Quote:
Originally Posted by
clydejones
I just created an account on the site, went to the returns page and lo and behold, there was my name and address all auto filled in and correct.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
lextechs
Hmmm i wounder why it's not working for my test user . anyway it seems to be working now after i updated the test users address. My Question is how do i get it to sent to a specific e-mail address. and show the customer's address as the return?
Currently the head ther customer gets.
Return Authorization Request
From: Lextechs (
[email protected])<<<< I would like that to say
[email protected]
Sent: Tue 7/17/07 4:31 PM
Reply-to:
[email protected] <<<<<<<<<<<<<< This to say the customer's e-mail in this case ajoseph619##########################
To: ajoseph619##########################
On the admin side i just want it to sent a e-mail to
[email protected]
[email protected])<<<< I would like that to say [email protected]
For this you should check your admin -> configuration -> e-mail options and see what you are using for your default e-mail address.
I'll look at the other issues and see what I can do.
-
Re: Return Authorization Module (RMA)
I installed this mod and I am getting an error when the customer is on the checkout confirmation page that says:
Warning: Missing argument 2 for zen_add_tax() in /home/commtech/public_html/catalog/includes/functions/functions_taxes.php on line 112
Does anyone have some help?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
rbepple
I installed this mod and I am getting an error when the customer is on the checkout confirmation page that says:
Warning: Missing argument 2 for zen_add_tax() in /home/commtech/public_html/catalog/includes/functions/functions_taxes.php on line 112
Does anyone have some help?
This module does not interact with the checkout or the taxes function(s) or any other core files in Zen Cart. So Im not sure what might be causing this error.
You could try uploading a fresh copy of the functions_taxes.php.
-
Re: Return Authorization Module (RMA)
If I check the Insurance box I get the error listed above, if I don't check the box the page operates properly. Is it because I have the shipping insurance sort order before the taxes sort order?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
rbepple
If I check the Insurance box I get the error listed above, if I don't check the box the page operates properly. Is it because I have the shipping insurance sort order before the taxes sort order?
You might get a better answer by posting your problem in this forum topic
I'm not putting you off but your problem doesn't seem to be related to the Return Authorization Mod.
-
Re: Return Authorization Module (RMA)
Hi Clyde, hoping you can help me here. Everything seems to be working fine except the “Reason for Return” box… Currently if the user keeps typing, the box starts to expand right with a scroll bar on the bottom… Is there a way to have it word-warp and expand down-ward without having to hit the “Enter” key..?
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
SpoiledK
Hi Clyde, hoping you can help me here. Everything seems to be working fine except the “Reason for Return” box… Currently if the user keeps typing, the box starts to expand right with a scroll bar on the bottom… Is there a way to have it word-warp and expand down-ward without having to hit the “Enter” key..?
The textarea should wrap automatically every time a row reaches a width of 30/31 characters (that assumes normal typing and not holding down a single key)
for instance if you were to type the following in the text area:
The cat was playing in the garden.
you should see something like this:
The cat was playing in the
garden.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
The textarea should wrap automatically every time a row reaches a width of 30/31 characters (that assumes normal typing and not holding down a single key)
for instance if you were to type the following in the text area:
The cat was playing in the garden.
you should see something like this:
The cat was playing in the
garden.
Thanks for the quick reply... I have this installed on my PC and for some reason it does not warp... It keeps expanding right... Example, holding down any letter key, it would expand right and keeps on going without warp... Any idea that or settings i could change..? Thanks...
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
SpoiledK
Thanks for the quick reply... I have this installed on my PC and for some reason it does not warp... It keeps expanding right... Example, holding down any letter key, it would expand right and keeps on going without warp... Any idea that or settings i could change..? Thanks...
As I said above holding down a single key produces this behavior. if you type a normal sentence it should wrap at 30/31 characters.
I'm not sure why anyone would hold down a single key if they were trying to type a request such as:
When this item arrived it was broken. Could you replace the item.
This example should wrap as expected.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
As I said above holding down a single key produces this behavior. if you type a normal sentence it should wrap at 30/31 characters.
I'm not sure why anyone would hold down a single key if they were trying to type a request such as:
When this item arrived it was broken. Could you replace the item.
This example should wrap as expected.
:oops: sorry, i guess i skimmed over your response too quick and missed that part... thanks a bunch for this mod...
-
Re: Return Authorization Module (RMA)
With the latest version the email send to customer and admin are not formatted.
Thanks for help
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
100asa
With the latest version the email send to customer and admin are not formatted.
Thanks for help
I've just checked the module on 3 different sites and didn't see any glaring formatting errors either with the html messages nor the text message sent to the store owner.
What specific formatting problems are you experiencing?
-
Re: Return Authorization Module (RMA)
I am trying to replace the "icons??" on the Return's form with ordinary text like
Return Authorization, Contact Information... all the way to Verification Code. It is rather nice the way you designed it, but I would like all my forms to looks the same (Login etc.)
BTW how is this 'fancy design heading' accomplished??
Thanks Veronika
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
I am trying to replace the "icons??" on the Return's form with ordinary text like
Return Authorization, Contact Information... all the way to Verification Code. It is rather nice the way you designed it, but I would like all my forms to looks the same (Login etc.)
BTW how is this 'fancy design heading' accomplished??
Thanks Veronika
Open returns.css find the following declaration and delete the highlighted portion.
legend {font-family:verdana, arial, helvetica, sans-serif; font-size:1.1em; color: #fff; font-weight:bold; margin-bottom:5px; padding:3px; background:#fff url(../images/form.png) repeat-x center left;}
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Open returns.css find the following declaration and delete the highlighted portion.
legend {font-family:verdana, arial, helvetica, sans-serif; font-size:1.1em; color: #fff; font-weight:bold; margin-bottom:5px; padding:3px; background:#fff url(../images/form.png) repeat-x center left;}
Will do, thanks.
If you have time, I must have messed up something else, because the success page is not showing the sideboxes correctly - I am using cherry zen template. I am not sure if it is this module or the template.. the test site is at: http://store.annron.com
Thank you.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
Will do, thanks.
If you have time, I must have messed up something else, because the success page is not showing the side boxes correctly - I am using cherry zen template. I am not sure if it is this module or the template.. the test site is at:
http://store.annron.com
Thank you.
can you turn off the registration required for returns manager (just temporarily, so I can check)
-
Re: Return Authorization Module (RMA)
To everyone who is interested in having RMA module on your site:
A new RMA mod is under development (50% done), it's greatly appreciated if you can give your feedbacks:
http://www.zen-cart.com/forum/showthread.php?t=85014
The basic idea is to quickly retrieve eligible orders and products for return, make the return process as easy as possible for both customers and store owners, while also keeping high privacy security.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
can you turn off the registration required for returns manager (just temporarily, so I can check)
Done; I can leave it of for testing anyway..
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
Done; I can leave it of for testing anyway..
can you zip up your copy of tpl_returns_default.php and post it here.
I'll take a look at and see what I can do.
-
1 Attachment(s)
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
can you zip up your copy of tpl_returns_default.php and post it here.
I'll take a look at and see what I can do.
Well lets see if I can upload a file ... Attachment 3265
Thank you
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
do you have the file that contains the verification code section?
-
1 Attachment(s)
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
do you have the file that contains the verification code section?
I hope you mean this file..
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
I hope you mean this file..
No. the tpl_returns_default.php that uses the Captcha verification code.
-
1 Attachment(s)
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
No. the tpl_returns_default.php that uses the Captcha verification code.
did I sent the wrong file?? line 151 - 167 have the CAPTCHA code in; here it comes again.. hope this is the correct file.
Sorry about that..
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
did I sent the wrong file?? line 151 - 167 have the CAPTCHA code in; here it comes again.. hope this is the correct file.
Sorry about that..
I think this might be a template problem (check with jettrue in the cherry_zen support thread)
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
I think this might be a template problem (check with jettrue in the cherry_zen support thread)
Will do, thank you for your time.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
I think this might be a template problem (check with jettrue in the cherry_zen support thread)
There's an extra </div> in tpl_returns_default.php, somewhere, that is popping up on the success page. :smile: That is what is breaking the layout on that page.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
jettrue
There's an extra </div> in tpl_returns_default.php, somewhere, that is popping up on the success page. :smile: That is what is breaking the layout on that page.
There is no extra "success page". everything (introduction, submission form, success message) is all included in tpl_returns_default.php. If there were an extra </div> it should distort the returns page when it first appears with the submit form as well as when the success message shows up.
It works as is out of the box on other templates and there are no html warnings about an extra </div>.
I did notice that cherry_zen is tableless (that is you've dropped the contentMainWrapper table from tpl_main_page.php) and that the left and right columns are floated after the main content.
I'll double check in any case.
-
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
There is no extra "success page". everything (introduction, submission form, success message) is all included in tpl_returns_default.php. If there were an extra </div> it should distort the returns page when it first appears with the submit form as well as when the success message shows up.
It works as is out of the box on other templates and there are no html warnings about an extra </div>.
I did notice that cherry_zen is tableless (that is you've dropped the contentMainWrapper table from tpl_main_page.php) and that the left and right columns are floated after the main content.
I'll double check in any case.
I understand there is only one file, and while there is no "extra" div, it is misplaced, so that the success page does indeed end up with an extra div, while the other pages do not.... I tried validating the success page, and though she had a ton of other errors, one of them was a div issue. From her page source:
Code:
<div class="centerColumn" id="pageThree">
<h1>Return Authorization Request</h1>
<form name="returns" action="http://store.annron.com/index.php?main_page=returns&action=send" method="post">
<br class="clearBoth" />
<div class="mainContent success">Your message has been successfully sent.</div>
</div>
</form>
<div class="buttonRow back"><a href="http://store.annron.com/index.php?main_page=index"><img src="includes/templates/cherry_zen/buttons/english/button_back.gif" alt="Back" title=" Back " width="60" height="21" /></a></div>
<br class="clearBoth" />
</div>
See this post, I suggested a fix that fixed the issue:
http://www.zen-cart.com/forum/showpo...&postcount=739