Could not figure it out. Workaround for time being.
1. In shop151\includes\modules\pages\returns\header_php.php,
a. around line 43, replaced
withCode:!empty($action) and
b. around line 116, addedCode:($action != RMA_ACTION_SELECT) and
Code:if ($action = RMA_ACTION_SELECT) { $messageStack->add('returns', RMA_ACTION_ERROR); }
2. In shop151\includes\languages\english\mytemplate\returns.php,
around line 62, added
Code:ENTRY_ACTION_SELECT = 'Please select'Code:define('RMA_ACTION_ERROR','Please select Requested Action.');
3. In Admin > Configuration > Return Authorization > Set Return Action Dropdown List, added in front of "Get a Refund"
which must be worded identical to the ENTRY_ACTION_SELECT define in Step 2 above, except for the trailing comma and space.Code:Please select,
IIRC that is all I did.
Hi,
Had a weird problem crop up - when RMA requests are submitted - it was not recorded in the database/ not appearing in the order system.
So I thought.. why not remove and install latest version.. so I did that (removed the sql etc as well).
New version will not install... so restored the database.. that's fine.. but now I can not access the RMA administration panel in zen cart. - the option is no longer listed.
When I upload the files again from the install_files section... and go into zencart admin - I get a page error (WARNING: An Error occurred, please refresh the page and try again.) - so reload page and all seems ok - except.. Flexible RMA is not installed...
Can someone please help me? IF need more info, please ask...
Thanks
Luke
This is a bug in v1.2 auto install, it will be fixed in the next release.
Please run the sql patch from the uninstall_return_authorization.sql file
Then before you reinstall, you will need to comment out the below code from \install_files\YOUR_ADMIN\includes\init_includes\init_ra_config.php
towards the bottom, find:
and change to:Code:$sql = "ALTER TABLE " . TABLE_ORDERS_STATUS_HISTORY . " ADD rma_number VARCHAR( 255 ) NOT NULL DEFAULT ''"; $db->Execute($sql); $sql = "ALTER TABLE " . TABLE_ORDERS_STATUS_HISTORY . " ADD action VARCHAR( 255 ) NOT NULL DEFAULT ''"; $db->Execute($sql);
You are receiving that error because it is trying to add what is already there.Code:// $sql = "ALTER TABLE " . TABLE_ORDERS_STATUS_HISTORY . " ADD rma_number VARCHAR( 255 ) NOT NULL DEFAULT ''"; // $db->Execute($sql); // $sql = "ALTER TABLE " . TABLE_ORDERS_STATUS_HISTORY . " ADD action VARCHAR( 255 ) NOT NULL DEFAULT ''"; // $db->Execute($sql);
I have looked at the database (sql).. and records are recorded there but are not appearing in the customer order area?
from phpmyadmin -
orders_status_history_id orders_id orders_status_id date_added customer_notified comments rma_number action
42 112233 5 2013-11-24 11:57:07 0 faulty 11223311242013 Get a Refund
43 23232 5 2013-11-24 14:12:57 0 dsdsdsds 2323211242013 Get a Refund
The only place this will show is in
post:#54
10. Admin Orders Edit Page: We merged the Reason for Return with the comments and added a RMA# column next to the comments column.
The Admin Orders Edit Page is the only place you will see the rma_number and action requested. If it is not there, try re-uploading or merging YOUR_ADMIN/orders.php
Every now and then I get a bot using the return form. Not to offten, but just pops in from time to time.. I was thinking it's something I did when I changed the form layout, but I don't see the bot catcher! looking back at the download files, didn't see it there ether. I added the code and the bot hasn't been back.
I Like the mod, been using the older return mod and switched over to this one. I still would like some other things like the ability to return items in a order and to pervent a RMA issued more then once or control for that in the admin... think I heard you may be doing some edits on the admin side!
Anyway, off to moving more files... chancing to a new host is so much fun....
Dave
Always forward thinking... Lost my mind!
I have always added the returns page to the ROBOTS_PAGES_TO_SKIP, however if these pages have already been crawled, you will still get attempts.
/includes/languages/english/meta_tags.php
This is complete for 1.5.1, testing on 1.5.2, it will be available soon. Just been really busy with cyber "holidays".
Bookmarks