![]() |
RMA - Customer request return only when order confirmed
I can't understand the logic of why you would allow a customer to create a returns request before the order has completed, maybe I am missing something?
Anyway I have changed my code to only display the returns request box for orders with a status of 'Complete' and thought I would post it here in case anyone else would like it. You need to change the skin1/main/history_order.tpl file remember to BACK UP your file first!! Find this code about a quarter of the way down: Code:
{if $active_modules.RMA ne '' && ($usertype eq 'C' || $usertype eq 'A' || ($usertype eq 'P' && $active_modules.Simple_Mode)) && $return_products ne ''} And change it to this: Code:
{if $active_modules.RMA ne '' && ($usertype eq 'C' || $usertype eq 'A' || ($usertype eq 'P' && $active_modules.Simple_Mode)) && $return_products ne ''} Then find this code right down the bottom: Code:
{if $active_modules.RMA ne '' && ($usertype eq 'C' || $usertype eq 'A' || ($usertype eq 'P' && $active_modules.Simple_Mode))} And change it to this: Code:
{if $active_modules.RMA ne '' && ($usertype eq 'C' || $usertype eq 'A' || ($usertype eq 'P' && $active_modules.Simple_Mode))} |
Moving to custom mods
|
All times are GMT -8. The time now is 12:51 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.