VirtueMart Core Functions

"Functions" are a core feature of VirtueMart and allow to control the access to all processes in VirtueMart. Functions are executed using the "func" parameter in the URL given the other URL parameters as function variables.

{typography icon type="alert" boxstyle="float: none; margin: 5px;"}You need to act carefully in this part of VirtueMart. Changing Core Functions and their permissions can result in locking out other users or even yourself from the store.{/typography}

Functions are always assigned to core modules. So at first you need to go to the module list ("Admin" ⇒ "List Modules") and then click on "Function List" in the row of the module you want to manage functions for.

If you have done this, you can see a list of all functions for that module.

VirtueMart Administration: Function List

Figure 4.11. VirtueMart Administration: Function List

 

To add a new function, click "New" in the top of the list and fill out the fields in the function form.

VirtueMart Administration: Function Form

Figure 4.12. VirtueMart Administration: Function Form

 

Don't forget to save and the new function is added to the list.

You can modify existing functions. To do so, just click on the name of a function in that list and a form opens and you can modify the properties of this function. Again don't forget to save your changes.

To remove one or more functions from the list, either click on the "trash bin" icon in the last column of each row and confirm to remove the function or select functions and click on "Remove" in the toolbar.