download and install the debug error logging utility
download and install the debug error logging utility
thanks I will as soon as i rebuild it! I crashed it loading the customer rewards module and am having to re-install it now. I'll let you know.
thanks again!
Hi Clyde,
Thanks for all of your great mods, we use several of them! I have been using this mod for a while now, v2.2, and have always meant to figure out how to change the action requested:0 in the email to read action requested:Return or whatever the value is in the admin configuration. Could you please tell me how to fix that?
Thanks!
Not sure what you mean:
This is what you should get:
Order Number: T00000
Total Value:
Item Number:
Item Name:
Action Requested: Replacement
------------------------------------------------------
Reason: Test of return authorization mod
What are the settings you have in the admin configuration settings?
Order Number: 74770
Total Value:
Item Number:
Item Name:
Action Requested: 0
I haven't changed anything from the stock module, I have the setting set to:
Phone Number true
Total Value false
Item Number true
Only registered customers may submit a return request false
Set "Return Action" Dropdown List Refund, Replacement
When searching through this thread for "Action Requested" I see where other people have posted their emails that they have the array number instead of the value, too, but others have the value. Search the thread if you want to see what I mean.
Is that what you are looking for? I guess I should look at the update module!PHP Code:<?php
if (RETURN_ACTION_LIST !=''){
foreach(explode(",", RETURN_ACTION_LIST) as $k => $v) {
$entry_action_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v));
}
?>
<label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION; ?></label>
<?php echo zen_draw_pull_down_menu('action', $entry_action_array, 'id="entry-action"');?>
<?php
} else {
$default_action = ENTRY_ACTION_DEFAULT;
?>
<label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION; ?></label>
<?php echo zen_draw_input_field('action', $default_action, 'size="20" id="entry-action"') ; ?>
<?php
}
?>![]()