Create custom functions
Sometimes, you want to create your own functions for use everywhere in S-Cart,
The easiest way is to create it in app/Library/Helpers/myfunction.php

Note:
The easiest way is to create it in app/Library/Helpers/myfunction.php

Note:
- If the folder and file "myfunction.php" are not available, you can create more yourself
- You can create any .php file in the Helpers folder, which will be loaded before the S-Cart system starts up.
Related topics
Latest Document
- Upgrade guide 2022-03-19
- Customize order id 2022-04-19
- Order processing 2022-04-17
- Customer account 2022-04-17
- Developer Documentation 2020-04-09