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
- Discount code (coupon) 2023-05-14
- Upgrade guide 2023-03-19
- Data relations in S-Cart 2023-02-05
- Custom data fields in S-Cart 2023-02-05
- Upgrade guide 2022-10-05