Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
Did you fill in all fields?? Try one with only name, email & comment..
From: Clyde Jones
Email: clydejones##########################
Phone Number:
Address: 123 Test Street
City: Anywhere
Post Code: 45678
State: CO
Order Number: test098
Total Value: unknown
Item Number: t765
Item Name: Test Item
Action Requested: 0
------------------------------------------------------
Reason: This is a test submission and can be ignored/deleted
------------------------------------------------------
Office Use Only:
From: Clyde Jones
Email: clydejones##########################
IP Address: 75.71.164.195 - 75.71.164.195
Host Address: c-75-71-164-195.hsd1.co.comcast.net
Date and Time: Thu Jan 24 2008 19:33:45 EST
This email address was given to us by you or by one of our customers. If you
feel that you have received this email in error, please send an email to
<b>The Fine Art of Clive Kay</b> <a
href="http://store.clivekay-artist.com/index.php?main_page=contact_us">Webmaster</a>.
This email is sent in accordance with the US CAN-SPAM Law in effect
01/01/2004. Removal requests can be sent to this address and will be honored
and respected.
Other than correcting the "0" for action requested what information do you need to receive in addition to what is already there.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by Veronika7747 View Post
Did you fill in all fields?? Try one with only name, email & comment..
I tried submitting a request with only the name, e-mail and comment but the error checking kicked in and told me that I still needed to fill in the required fields.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Other than correcting the "0" for action requested what information do you need to receive in addition to what is already there.
Clyde, I do not require any additional info. My point was/is that some fields that we indicate are required to be filled in can be omitted and still the form will be submitted without giving an error message to input the missing fields.
My sencond inquiry/request is if it is possible (when I specify that RMA can be submitted ONLY when people are logged in) that the fields that are retrieved from the database are for "display ONLY" so that they cannot be altered and only additional fields not obtained from the database can/should be inputted.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
I tried submitting a request with only the name, e-mail and comment but the error checking kicked in and told me that I still needed to fill in the required fields.
strange, I am able to do it. here is another example I just did now:
From: Vera
Email: [email protected]
Phone Number:
Address:
City:
Post Code:
State:
Order Number:
Total Value:
Item Number:
Item Name:
Action Requested: 0
------------------------------------------------------
Reason: only Full name & e-mail being inputted (and the Reason)
------------------------------------------------------
Office Use Only:
From: Vera
Email: [email protected]
IP Address: 70.129.211.204 - 70.129.211.204
Host Address: ppp-70-129-211-204.dsl.hrlntx.swbell.net
Date and Time: Thu Jan 24 2008 20:30:19 EST
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
C
My sencond inquiry/request is if it is possible (when I specify that RMA can be submitted ONLY when people are logged in) that the fields that are retrieved from the database are for "display ONLY" so that they cannot be altered and only additional fields not obtained from the database can/should be inputted.
I'll have to do some checking on this.
See my other post about the error checking when trying to submit requests.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
Veronika7747
strange, I am able to do it. here is another example I just did now:
Try this fix and see if it helps.
Just unzip, rename the YOUR_TEMPLATE folder to match your custom template name and upload to your server.
I'm still checking on "freezing" the form fields after being populated from the database.
Attachment 3326
Re: Return Authorization Module (RMA)
[QUOTE=clydejones;496213]I'm still checking on "freezing" the form fields after being populated from the database.
Could this be used as the 1st part of the form??
Code:
<div class="centerColumn" id="addressBookDefault">
<h1 id="addressBookDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php if ($messageStack->size('addressbook') > 0) echo $messageStack->output('addressbook'); ?>
<br class="clearBoth" />
<address class="back"><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['customer_default_address_id'], true, ' ', '<br />'); ?></address>
<br class="clearBoth" />
<div class="instructions"><?php echo 'If this is not your current address, please <a href="index.php?main_page=account_edit">update your account</a>' ?></div>
<br class="clearBoth" />
<?php echo zen_draw_form('returns', zen_href_link(FILENAME_RETURNS, 'action=send', 'SSL')); ?>
<br class="clearBoth" />
</div>
Re: Return Authorization Module (RMA)
[QUOTE=Veronika7747;496610]
Quote:
Originally Posted by
clydejones
I'm still checking on "freezing" the form fields after being populated from the database.
Could this be used as the 1st part of the form??
Code:
<div class="centerColumn" id="addressBookDefault">
<h1 id="addressBookDefaultHeading"><?php echo HEADING_TITLE; ?></h1>
<?php if ($messageStack->size('addressbook') > 0) echo $messageStack->output('addressbook'); ?>
<br class="clearBoth" />
<address class="back"><?php echo zen_address_label($_SESSION['customer_id'], $_SESSION['customer_default_address_id'], true, ' ', '<br />'); ?></address>
<br class="clearBoth" />
<div class="instructions"><?php echo 'If this is not your current address, please <a href="index.php?main_page=account_edit">update your account</a>' ?></div>
<br class="clearBoth" />
<?php echo zen_draw_form('returns', zen_href_link(FILENAME_RETURNS, 'action=send', 'SSL')); ?>
<br class="clearBoth" />
</div>
I'll have to work with it and see how it would work.
Re: Return Authorization Module (RMA)
[QUOTE=clydejones;496648]
Quote:
Originally Posted by
Veronika7747
I'll have to work with it and see how it would work.
I was able to modify the header and tpl file to show the form and validate the 2 required fields (order number, reason), but when I hit send it just reload the same page..:flex:
hope you have more luck.
Re: Return Authorization Module (RMA)
Quote:
Originally Posted by
clydejones
Hope this is what you want.
I added a new
e-mail define statement in:
includes/languages/english/YOUR_TEMPLATE/returns.php
define('RMA_EMAIL', '
[email protected]'); change this to whatever you want.
and modified includes/modules/pages/returns/header_php.php to reflect the define statement.
unzip the file, change the YOUR_TEMPLATE folder to match your custom template name and upload the entire includes folder to your server.
Attachment 3279
Kind-of along these same lines, I would like for the RMA email to be "From" the user requesting the RMA, not "From" the default shop email address. Any chances of getting that worked into this great mod?