Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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!
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
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!
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!
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?
1 Attachment(s)
Re: Return Authorization Module (RMA)
FOUND IT, CLYDE!
POST #489 you posted the a zip called osaeed_fix which adds those /n/n before the breaks in modules/pages/returns/header_php.php
Thanks so much!
I'll re-attach it to this post for others if they need it.
Re: Return Authorization Module (RMA)
I know the Returns Request "Number" has been mentioned before and the answer has been "... make up a number yourself."
But...
Is there any "simple" php that could generate a 6-digit number (random or sequential) that is emailed to both the Return Seeker and the Store Owner. It wouldn't need to be stored in the SQL database, but just be a hidden field that gets emailed along with the other form info.
This way there would be a Returns Request Number that is different from the order number that both the customer and the store can reference - and it would be received by the costumer on "first contact" instead of having to email the customer at a later time with a number. It would be even better to have the Order Number incorporated somehow at then end or beginning of the Generated Number.
Just a thought..:lookaroun
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Sorry, :blush: Don't use quick_fix.zip It includes a file that shouldn't be included.
Use this instead. You'll have to rename the YOUR_TEMPLATE folders to match your custom template name.
Attachment 1461
Hi CLyde
Way back in Feb 2007 (post #80) you provided a solution for the automatic inclusion of customer's country into RMA titled QuickFix2.zip, but which is now a non-existant Attachment 1461.
Having recently reverted back to the less cluttered layout of RMA2.2.2, I am hoping you could repost or PM me this file to me so that I can compare/repair my botched solution with your fix.
Thanks in advance.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
dw08gm
Hi CLyde
Way back in Feb 2007 (post #80) you provided a solution for the automatic inclusion of customer's country into RMA titled QuickFix2.zip, but which is now a non-existant Attachment 1461.
Having recently reverted back to the less cluttered layout of RMA2.2.2, I am hoping you could repost or PM me this file to me so that I can compare/repair my botched solution with your fix.
Thanks in advance.
All the fixes mentioned in this thread are included in the latest version of RMA
Re: Return Authorization Module (RMA)
Hi Clyde
Thanks for your prompt reply. I will check out the update and report back.
FWIW, wrt a Returns Request "Number", I changed the references to EMAIL_SUBJECT in the zen-mail code to $email_subject and added the definition:
$email_subject = EMAIL_SUBJECT . ' ' . $order_number
Cheers