About the Hook requests category

If your add-on needs a hook in CS-Cart, you can request it here.

Here are our standards for hooks in CS-Cart. Your request might look like this:

I need a hook in fn.catalog.php in fn_delete_product_files

function fn_delete_product_files($file_id, $product_id = 0)
{
fn_set_hook('delete_product_files_pre', $file_id, $product_id);

I need this hook because I’m trying to [please describe what you’re trying to accomplish with the hook].

You can provide a specific hook, but this isn’t required. What we actually need is to know what you’re trying to achieve with this hook.

1 Like