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

Return Authorization Module (RMA)

Views: 109,995

Results 481 to 500 of 644
24 Jun 2010, 11:00 PM
#481
clydejones avatar

clydejones

Deceased

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

Return Authorization Module (RMA)

osaeed:

The RMA email I receive in my admin email, the format is all screwed up. I installed your awesomeness addon, and I have gotten the customers email format working fine, with spaces between the paragraphs and etc.

In the customers email, i just added <br after <br on every line.

In the admin email, I get everything squished together. Its not spaced between one and another.

This is the default code, I added <br after the <br and everything disspeared in my email. the tag doesnt work. What code can I add to put a space between these lines?

// Prepare Text-only portion of message
$text_message = OFFICE_FROM . "\t" . $name . "<br />" .
OFFICE_EMAIL . "\t" . $email_address . "<br />" .
"Phone Number:" . "\t" .$telephone . "<br />" .
"Address:" . "\t" . $address . "<br />" .
"City:" . "\t" . $city . "<br />" .
"Post Code:" . "\t" . $postcode . "<br />" .
"Country:" . "\t" . $country . "<br />" .
"State:" . "\t" . $state . "<br />" .
"Order Number:" . "\t" . $order_number . "<br />" .
"Total Value:" . "\t" . $value . "<br />" .
"Item Number:" . "\t" . $item_number . "<br />" .
"Item Name:" . "\t" . $item_name . "<br />" .
"Action Requested:" . "\t" . $action . "<br />" .
'------------------------------------------------------' . "<br />" .
"Reason:" . "\t" . $reason . "<br />" .
'------------------------------------------------------' . "<br />" .
$extra_info['TEXT'];

This is the output when I get the admin email

From: mynameEmail: myemailPhone
Number: mynumberAddress: addressCity: floriedaPost
Code: 51234Country: romaniaState: MAOrder Number: 0Total Value: Item
Number: Item Name: sdsdfAction
Requested: Refund------------------------------------------------------Reason: testing
RMA email------------------------------------------------------Office Use
Only:
From: myname
Email: myemail
Telephone: 000-000-0000
IP Address: 0.0.0.0.0.0
Host Address: 0.0.0.0.0.0
Date and Time: Thu Jun 24 2010 15:49:10 EDT

How can or what do I add to put a space between the lines?

Thank you.

Try this:

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

Attachment #7727

24 Jun 2010, 11:32 PM
#482
osaeed avatar

osaeed

New Zenner

Join Date:
Jan 2010
Posts:
51
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

HOLY (input any swear)

WOW that is awesomeness! Thats amazing.

Thank you Clyde for your help!.

11 Jul 2010, 3:20 AM
#483
supplyman avatar

supplyman

New Zenner

Join Date:
Feb 2008
Location:
Alabama
Posts:
12
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

After searching the entire lenght of the RMA thread, I did not find an answer to my problem. I have installed RAMA version 1.38 on my test server. I am running ver 1.38a zen cart. I have installed preminum 5A template. I have checked and rechecked to make sure all the files from RMA are in the correct location. I have also uninstalled and re installed way too many times.

My problem is shown on the attached picture of the web page, Most of the Names of information needed shows correctly but many do not. How do I repair this problem. I have also use the debugging pluggin but no luck.

Thanks for any help you can give me.
Supplyman

11 Jul 2010, 3:27 AM
#484
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

supplyman:

After searching the entire lenght of the RMA thread, I did not find an answer to my problem. I have installed RAMA version 1.38 on my test server. I am running ver 1.38a zen cart. I have installed preminum 5A template. I have checked and rechecked to make sure all the files from RMA are in the correct location. I have also uninstalled and re installed way too many times.

My problem is shown on the attached picture of the web page, Most of the Names of information needed shows correctly but many do not. How do I repair this problem. I have also use the debugging pluggin but no luck.

Thanks for any help you can give me.
Supplyman

Make sure you have changed each and every instance if YOUR_TEMPLATE to match the name of your custom template and that you have uploaded the following folder/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

7 Sep 2010, 6:40 PM
#485
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

I wasn't sure which support thread this needed to be in (this one or the Footer Menu), so I picked this one. :)

I just installed the Return Authorization mod on our 1.3.9d cart. I've installed this mod many times before and as usual everything went smooth except for one issue this time.

I also have the Footer Menu mod installed.
So I replaced the 'Privacy' link under Customer Service with the Returns link info and I think I've double checked everything.

In the /includes/languages/english/extra_definitions/MY TEMPLATE/footer_menu_defines.php

I found:

Define('PRIVACY', '<li><a href="' . zen_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a></li>');

Replaced it with:

Define('RETURNS', '<li><a href="' . zen_href_link(FILENAME_RETURNS, '', 'SSL') . '">' . BOX_INFORMATION_RETURNS . '</a></li>');

Then I found:

Define('CUSTOMER_SERVICE', '<dd class="third">
<ul>' . TITLE_THREE . ACCOUNT . CONTACT . SHIPPING . CONDITIONS . PRIVACY . '</ul></dd>');

And replaced it with:

Define('CUSTOMER_SERVICE', '<dd class="third">
<ul>' . TITLE_THREE . ACCOUNT . CONTACT . SHIPPING . CONDITIONS . RETURNS . '</ul></dd>');

The link works perfect, but in my footer menu it still says: BOX_INFORMATION_RETURNS.

I've checked the includes/languages/english/extra_definitions/MY TEMPLATE/returns_defines.php file and it looks fine.

It says:

define('BOX_INFORMATION_RETURNS', 'Returns & Exchanges');

I tried adding the code specified in the Readme/Install file in the includes/modules/sideboxes/YOUR_TEMPLATE/information.php and the more_information.php files.

Yes - I did change the YOUR_TEMPLATE to my template's name. :)

I know I must have missed something else, but for the life of me can't figure out what.

Here is a link to our site so you can see: http://www.nybikergear.com

Any help is greatly appreciated! :)

7 Sep 2010, 6:52 PM
#486
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

Boggled:

I wasn't sure which support thread this needed to be in (this one or the Footer Menu), so I picked this one. :)

Try adding the following to:

includes/languages/YOUR_TEMPLATE/english.php

define('BOX_INFORMATION_RETURNS', 'Returns & Exchanges');
7 Sep 2010, 6:56 PM
#487
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Thank you, thank you, thank you!! That fixed it. :clap:

I knew it had to be something simple. :)

7 Sep 2010, 7:35 PM
#488
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

Boggled:

Thank you, thank you, thank you!! That fixed it. :clap:

I knew it had to be something simple. :)

glad to help

13 Nov 2010, 12:21 PM
#489
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Hallo,

I have installed the Return Authorization Module and it works great.

The issue I would like to solve is a minor one and has to do with my store's particular configuration. However, I would be grateful if you could help me.

Although in my store I am using the "State" field, I use it for a very different reason than it is actually intended.

Therefore, I would like to disable the State field entry in the RMA module, despite the fact that I use it in my store.

Is this possible?

Thank you for your time.

Kind regards,
orange_juice

13 Nov 2010, 2:23 PM
#490
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

orange_juice:

Hallo,

I have installed the Return Authorization Module and it works great.

The issue I would like to solve is a minor one and has to do with my store's particular configuration. However, I would be grateful if you could help me.

Although in my store I am using the "State" field, I use it for a very different reason than it is actually intended.

Therefore, I would like to disable the State field entry in the RMA module, despite the fact that I use it in my store.

Is this possible?

Thank you for your time.

Kind regards,
orange_juice

In order to do this, you will need to edit the following files and disable the error handling for that particular field.

includes/modules/pages/returns/header_php.php

includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php

13 Nov 2010, 7:55 PM
#491
orange_juice avatar

orange_juice

Zen Follower

Join Date:
Apr 2009
Location:
Athens, Europe
Posts:
125
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

In order to do this, you will need to edit the following files and disable the error handling for that particular field.

includes/modules/pages/returns/header_php.php

includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php

Thanx!
I commented out all lines and "if expressions" that contained the " state " issue.

However there were two instances where I just deleted the state entries:

includes/modules/pages/returns/header_php.php
line 41

if ($zc_validate_email and !empty($reason) and !empty($name) and !empty($address) and !empty($city) and !empty($state) and !empty($country) and !empty($postcode) and !empty($order_number)) {

includes/modules/pages/returns/header_php.php
line 137

$sql = "SELECT c.customers_id, c.customers_firstname, c.customers_lastname, c.customers_email_address, c.customers_default_address_id, c.customers_telephone, ab.customers_id, ab.entry_street_address, ab.entry_city, ab.entry_postcode, ab.entry_state, ab.entry_zone_id, ab.entry_country_id, z.zone_id, z.zone_code, cn.countries_id, cn.countries_name FROM " . TABLE_CUSTOMERS . " c, " . TABLE_ADDRESS_BOOK . " ab, "  . TABLE_ZONES  . " z, " . TABLE_COUNTRIES . " cn WHERE c.customers_id = :customersID AND ab.customers_id = c.customers_id AND ab.entry_country_id = cn.countries_id";

Seems to be working OK.

Kind regards,
orange_juice

9 Feb 2011, 1:44 AM
#492
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

Hi clydejones,

I've installed this mod(RMA) on my site and I want to add a "Print" buttom next to the "Send Now" buttom, so my customer can print the "RMA form" from my website and attached it in the return box to me! Please help me write some code for it!

Thank you for your help!

9 Feb 2011, 4:25 AM
#493
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

zfw88788301:

Hi clydejones,

I've installed this mod(RMA) on my site and I want to add a "Print" buttom next to the "Send Now" buttom, so my customer can print the "RMA form" from my website and attached it in the return box to me! Please help me write some code for it!

Thank you for your help!

I'm not sure exactly what it is you want to code.

When the form is submitted, you will receive an e-mail with the information contained in the form.

9 Feb 2011, 5:11 AM
#494
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

I'm not sure exactly what it is you want to code.

When the form is submitted, you will receive an e-mail with the information contained in the form.

Hi!clyde,

Thank you for response! I just want you to write a print page code for me, so my customers can print the RMA form page which they can include it with the return package back to me. For return.

Thank you!

9 Feb 2011, 4:05 PM
#495
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

zfw88788301:

Hi!clyde,

Thank you for response! I just want you to write a print page code for me, so my customers can print the RMA form page which they can include it with the return package back to me. For return.

Thank you!

You're duplicating functionality that should be (and is) handled by web browsers.
Users can click the "file" in the browser tool bar and select "print" and the page will be printed.

Adding/duplicating this functionality requires using javascript. If a user has java turned off, then of course the functionality disappears.

I'm not saying it can't be done; I'm just pointing out that the functionality already exists and can be handled by the browser.

9 Feb 2011, 11:46 PM
#496
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

You're duplicating functionality that should be (and is) handled by web browsers.
Users can click the "file" in the browser tool bar and select "print" and the page will be printed.

Adding/duplicating this functionality requires using javascript. If a user has java turned off, then of course the functionality disappears.

I'm not saying it can't be done; I'm just pointing out that the functionality already exists and can be handled by the browser.

Hi! clyde,

Thank you again for your response! I knew that the "print" funcion has already exsits on the browser, but I just want to add the java code to the RMA form, so my customer can print them easily and they can also send a "RMA request" e-mail to me! I want to know which file i can edit the code to! Here is my RMA page!

Please Help me figure out! Thank you so much for your help!

9 Feb 2011, 11:59 PM
#497
clydejones avatar

clydejones

Deceased

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

Re: Return Authorization Module (RMA)

zfw88788301:

Hi! clyde,

Thank you again for your response! I knew that the "print" funcion has already exsits on the browser, but I just want to add the java code to the RMA form, so my customer can print them easily and they can also send a "RMA request" e-mail to me! I want to know which file i can edit the code to! Here is my RMA page!

Please Help me figure out! Thank you so much for your help!

You can edit includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php

find the following section of code

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>

and insert your javascript

Be aware that if a user clicks the "send now" button **before **clicking the "print page" link then there will be nothing to print.

10 Feb 2011, 3:17 AM
#498
zfw88788301 avatar

zfw88788301

New Zenner

Join Date:
Dec 2010
Posts:
28
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

clydejones:

You can edit includes/templates/YOUR_TEMPLATE/templates/tpl_returns_default.php

find the following section of code

<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SEND, BUTTON_SEND_ALT); ?></div>

and insert your javascript

Be aware that if a user clicks the "send now" button **before **clicking the "print page" link then there will be nothing to print.

Thank you clyde for your help!now, my customers can print the form and return to me! ThanKs!

2 Mar 2011, 9:32 PM
#499
brooklynartist avatar

brooklynartist

New Zenner

Join Date:
Jan 2011
Location:
Brooklyn
Posts:
75
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

How can edit the format of the EMAIL that the STORE RECEIVES containing the info on the form the customer fills out.

The info runs together. It needs some line breaks!

Thanks!

2 Mar 2011, 11:20 PM
#500
brooklynartist avatar

brooklynartist

New Zenner

Join Date:
Jan 2011
Location:
Brooklyn
Posts:
75
Plugin Contributions:
0

Re: Return Authorization Module (RMA)

To be more specific:

Top part of the email is running together. The bottom part, after "Office Use Only" is listing the info nicely.

Here' what I'm getting:

From: Joe PublicEmail: joe######################Phone
Number: 2125551234Address: 123 Street RdCity: SpringfieldPost
Code: 11111Country: USAState: NYOrder Number: 2Total Value: Item
Number: Item Name: Action
Requested: Replacement------------------------------------------------------Reason: because------------------------------------------------------Office
Use Only:
From: Joe Public
Email: [email protected]
Telephone: 2125551234
IP Address: xxxxxx - xxxxxxxx
Host Address: xxxxxxxxxxx.nyc.res.rr.com
Date and Time: Wed Mar 2 2011 15:11:14 CST

Any ideas how I can get that top part of the email to have line breaks like the bottom section?