User Tools

Site Tools


how_to_convert_an_order_action_module_to_order_module

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
how_to_convert_an_order_action_module_to_order_module [2017/04/27 01:45]
admin
how_to_convert_an_order_action_module_to_order_module [2020/08/16 17:22] (current)
A User Not Logged in old revision restored (2017/04/27 00:21)
Line 3: Line 3:
 1. Move the file from includes/modules/order_action/oa_modulename.inc.php to includes/modules/order/om_modulename.inc.php. 1. Move the file from includes/modules/order_action/oa_modulename.inc.php to includes/modules/order/om_modulename.inc.php.
  
-2.1. Open the file in an editor and rename the class name oa_modulename to om_modulename.+2. Open the file in an editor and rename the class name oa_modulename to om_modulename.
  
-2.2. Rename the method options() to actions()+3. Rename the method options() to actions().
- +
-2.3. Rename 'options' to 'actions'.+
  
 That's it, you are done! :) That's it, you are done! :)
how_to_convert_an_order_action_module_to_order_module.1493250327.txt.gz · Last modified: 2017/04/27 01:45 by admin