that was made
my question is:how to invert the marked option as default?
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:
You can simply reverse the two statements as follows:PHP Code:
<?php echo '<option value="' . ENTRY_ACTION_REFUND . '">' . ENTRY_ACTION_REFUND . '</option>' ; ?>
<?php echo '<option value="' . ENTRY_ACTION_REPLACE . '">' . ENTRY_ACTION_REPLACE . '</option>' ;?>
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) 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
Cool Clyde!![]()
I'm off to install the new version now.
I'll finish that project tomorrow, I've made enough mistakes today!
Works great!!![]()
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?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].
Thanks for all your hard work!!![]()
I'll finish that project tomorrow, I've made enough mistakes today!
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 />');
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!!![]()
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 finish that project tomorrow, I've made enough mistakes today!
Hi Clyde - Thanks for this very useful module.
What am I missing here?I want to add "Store Credit" as an option to the "Action Requested:" list. I've made the following changes to returns.php:
But see no change. Can you see what I've done incorrectly or incompletely?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:');
Thanks!
Tim
Bookmarks