Where to add file of new functions?

I’m trying to forgo the product page generator, and rather just want to create my own “static” product pages, and use php with database queries to gather the product information so that I can display it how I want it within my own design (not all product pages will follow the same template, thus, I do not want to use a standard product page generator).

I created another file called fn.custom.php that has all my custom functions for this purpose, but I’m not sure where to put this file for use. It seems rather wrong to put in the /core/ directory, but would that be okay with future upgrades to CS-Cart? Where do people put custom functions? It’s not really an addon in the sense that it’s just a file of database functions for my product pages to use.

Thanks in advance!

This seems like an old post, but i would really like to know also what is the best place to place my custom functions!!

This might be of some help

[url]CS-Cart Documentation — CS-Cart 4.15.x documentation