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
Customize function scart
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