Forums / All Other Contributions/Addons / Returns Mod - no email sent

Returns Mod - no email sent

Started by narsaw on 8 Jul 2006, 6:59 AM · Views: 5,376

Results 1 to 20 of 29
8 Jul 2006, 6:59 AM
#1
narsaw avatar

narsaw

New Zenner

Join Date:
May 2006
Posts:
38
Plugin Contributions:
0

Returns Mod - no email sent

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

I installed the RETURNS mod to enable my customers to request an RMA to return and item.

Seems to be working fine, except when I complete the form and click 'send', the page just reloads with all the fields empty.

No emails are sent either.

Try it here:

http://www.pcappliances.com/index.php?main_page=returns

PS: The 'store owner' is capable of recieving emails.

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

PC @ppliances

8 Jul 2006, 8:44 PM
#2
narsaw avatar

narsaw

New Zenner

Join Date:
May 2006
Posts:
38
Plugin Contributions:
0

Re: Returns Mod - no email sent

Ok I get the email. Except the "Reason" is left Blank in the email I get???

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

PC @ppliances

8 Jul 2006, 9:04 PM
#3
narsaw avatar

narsaw

New Zenner

Join Date:
May 2006
Posts:
38
Plugin Contributions:
0

Re: Returns Mod - no email sent

Email looks like this. I did this one so I know the reason was not left blank.

I typed for "Reason" the following "This is a test"

Return Authorization Request:

From: [email protected]
Address: 23234
City: Eagle
Post Code: 83706
State: ID
Order Number: 12345
Total Value: 10.00
Item Number: PCA1010
Item Name: Bluetooth Dongle
Action: Replacement
Reason:

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

PC @ppliances

14 Jul 2006, 6:16 AM
#4
lala_g_clef_jewelry avatar

lala_g_clef_jewelry

Zen Follower

Join Date:
Apr 2006
Location:
Kansas
Posts:
233
Plugin Contributions:
0

Re: Returns Mod - no email sent

did you have any luck with this?

i dont seem to be getting the emails now that i finally got it installed right and not making my site screwy...

G Clef Jewelry
Dichroic and Beaded Jewelry

15 Jul 2006, 7:53 AM
#5
lala_g_clef_jewelry avatar

lala_g_clef_jewelry

Zen Follower

Join Date:
Apr 2006
Location:
Kansas
Posts:
233
Plugin Contributions:
0

Re: Returns Mod - no email sent

okay now i get the email but my name field and my reason field were left blank

i filled it out so i know it was filled in :cry:

i think clyde is going to work on it when he gets a chance but does anyone have this working correctly?

G Clef Jewelry
Dichroic and Beaded Jewelry

15 Jul 2006, 8:09 AM
#6
narsaw avatar

narsaw

New Zenner

Join Date:
May 2006
Posts:
38
Plugin Contributions:
0

Re: Returns Mod - no email sent

That would be great to have someone work on this. Still no "reason" gets into the email

Zen Cart 1.3.0.1
Database Patch Level: 1.3.0.1

PC @ppliances

16 Jul 2006, 9:01 PM
#7
lextechs avatar

lextechs

Zen Follower

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

Re: Returns Mod - no email sent

I am having the same problem, i am getting the emails but no reason, and it just refresh the page with all blank fields, this use to work before i upgraded my site to 1.3 anyone found a upgrade of this mod to work with zen 1.3

Thanks in advance

Lextechs.com Powered By ZenCart

16 Jul 2006, 11:02 PM
#8
clydejones avatar

clydejones

Deceased

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

Re: Returns Mod - no email sent

In the tpl_returns_default.php

find the following two lines of code:

<label class="input label" for="enquiry"> </label>

<textarea name="enquiry" cols="30" rows="7" id="enquiry"></textarea>

And change them as follows (portions in red):

<label class="input label" for="reason"> </label>

<textarea name="reason" cols="30" rows="7" id="reason"></textarea>

Think that should take care of it.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Jul 2006, 4:07 AM
#9
lala_g_clef_jewelry avatar

lala_g_clef_jewelry

Zen Follower

Join Date:
Apr 2006
Location:
Kansas
Posts:
233
Plugin Contributions:
0

Re: Returns Mod - no email sent

clyde you rock :thumbsup: :D

that took care of the reason line being blank in the email sent to the store.

how about the line for the name of the person sending?

this is what mine looks like sent

Return Authorization Request:

From: [email protected]
Address: 237 main
City: topeka
Post Code: 66610
State: ks
Order Number: 37rfjh
Total Value: 37
Item Number: 3fj08e
Item Name: jvionesl
Action: Refund
Reason: test test test

note no contact name :(

G Clef Jewelry
Dichroic and Beaded Jewelry

17 Jul 2006, 4:49 AM
#10
clydejones avatar

clydejones

Deceased

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

Re: Returns Mod - no email sent

Again Not sure but will check it out.

In the meantime try this.

In includes -> modules -> pages -> returns -> header_php.php

find this line of code:

$name = zen_db_prepare_input($_POST['name']);

and change it as follows (portion in red)

$name = zen_db_prepare_input($_POST['contactname']);

check and see if that helps

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

17 Jul 2006, 5:51 AM
#11
lala_g_clef_jewelry avatar

lala_g_clef_jewelry

Zen Follower

Join Date:
Apr 2006
Location:
Kansas
Posts:
233
Plugin Contributions:
0

Re: Returns Mod - no email sent

that worked awseome

that is on lines 26 **AND **29

I also edited:

$text_message = "Return Authorization Request:\n\n"						.
	    "From:" . "\t\t" . $name . $email_address . "\n"	.

to:
$text_message = "Return Authorization Request:\n\n" .
"From:" . "\t\t" . $name . "\n" .
"Email:" . "\t\t"
. $email_address . "\n" .

This got me:

Return Authorization Request:

From: test 2
Email:[email protected]
Address: 7589 w grove
City: Topeka
Post Code: 66610
State: KS
Order Number: 37rfjh
Total Value: 37
Item Number: 3fj08e
Item Name: kjofines
Action: Refund
Reason: test test test

as opposed to:

Return Authorization Request:

From: test 2 [email protected]
Address: 7589 w grove
City: Topeka
Post Code: 66610
State: KS
Order Number: 37rfjh
Total Value: 37
Item Number: 3fj08e
Item Name: kjofines
Action: Refund
Reason: test test test

woohoo!!! :thumbsup:

G Clef Jewelry
Dichroic and Beaded Jewelry

17 Jul 2006, 6:58 AM
#12
clydejones avatar

clydejones

Deceased

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

Re: Returns Mod - no email sent

Glad its working.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

29 Jul 2006, 4:41 PM
#13
boggled avatar

boggled

Zen Follower

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

Re: Returns Mod - no email sent

I'm having a similar problem - only I'm receiving an email but all it says is:

$EMAIL_MESSAGE_HTML

Nothing else. :(

The cart I'm installing this on is version 1.2.7
I installed this same mod (or least a version of it) on another 1.2.7 cart months ago and it works perfectly.

I got the mod from a thread here in the forums. (The original one I used that works came from the OLD downloads section)

Any ideas as to what I've done wrong?

I'll finish that project tomorrow, I've made enough mistakes today!

29 Jul 2006, 4:58 PM
#14
boggled avatar

boggled

Zen Follower

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

Re: Returns Mod - no email sent

Here's where I downloaded the return mod I'm trying to install: Contribution Key

I'll finish that project tomorrow, I've made enough mistakes today!

29 Jul 2006, 5:04 PM
#15
clydejones avatar

clydejones

Deceased

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

Re: Returns Mod - no email sent

Both of these versions indicate that they are for version 1.3+.

I'm not sure where you can find a version for 1.2.7.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

29 Jul 2006, 7:41 PM
#16
boggled avatar

boggled

Zen Follower

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

Re: Returns Mod - no email sent

Okay ... I located the original 'working' zip file (version 1.2.*) for the returns mod on my old computer.

I removed the new mod and installed the old one. I'm still getting the same message in the emails. Is there something that could have been altered by the new mod that I've missed and forgotten to remove?

I've checked to make sure my regular 'contact us' emails are working and they are.

This is driving me nuts! :wacko:

I'll finish that project tomorrow, I've made enough mistakes today!

29 Jul 2006, 9:44 PM
#17
boggled avatar

boggled

Zen Follower

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

Re: Returns Mod - no email sent

Fixed it! :yes:
For future reference to others who may have this problem:
In the Admin, I had the "Use MIME HTML when sending Emails" set to 'true'.
I changed this to 'false' and now the RA is working just perfect. :D

Just hope changing that setting didn't mess anything else up that I don't know about yet!! :unsure:

I'll finish that project tomorrow, I've made enough mistakes today!

11 Aug 2006, 5:40 AM
#18
danielle avatar

danielle

Totally Zenned

Join Date:
Oct 2004
Posts:
973
Plugin Contributions:
0

Re: Returns Mod - no email sent

Has anyone found the fix to get this to go to the success page after the customer submits instead of the form just refreshing?

Also, do you notice that now, if you try and reply to the e-mail, it puts the store e-mail addy rather then the customers? It didn't use to do that on 1.2.7. Has anyone found a way to fix that yet???

Thank you!!!

Danielle

17 Nov 2009, 4:08 PM
#19
ccn1 avatar

ccn1

Zen Follower

Join Date:
Sep 2004
Location:
London. UK.
Posts:
152
Plugin Contributions:
0

Re: Returns Mod - no email sent

Hi there

I have a similar problem in that the customer gets an email after completing the form, but the store owner does not.

Emails appear to be working fine for orders though....

Im using ver: 2.3.0 on zencart 1.3+

Kind Regards

Chris

Regards,

Chris (CCN1)

17 Nov 2009, 4:43 PM
#20
clydejones avatar

clydejones

Deceased

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

Re: Returns Mod - no email sent

ccn1:

Hi there

I have a similar problem in that the customer gets an email after completing the form, but the store owner does not.

Emails appear to be working fine for orders though....

Im using ver: 2.3.0 on zencart 1.3+

Kind Regards

Chris

Please check the support thread for the Return Authorization mod

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.