Skip to content

Commit

Permalink
more hook calls
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldpdl committed Nov 3, 2014
1 parent 921704c commit 78171a4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions catalog/admin/categories.php
Expand Up @@ -168,6 +168,8 @@
tep_reset_cache_block('also_purchased');
}

$OSCOM_Hooks->call('products', 'productActionDelete');

tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath));
break;
case 'move_category_confirm':
Expand Down Expand Up @@ -207,6 +209,8 @@
tep_reset_cache_block('also_purchased');
}

$OSCOM_Hooks->call('products', 'productActionMove');

tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $new_parent_id . '&pID=' . $products_id));
break;
case 'insert_product':
Expand Down Expand Up @@ -329,6 +333,8 @@
tep_reset_cache_block('also_purchased');
}

$OSCOM_Hooks->call('products', 'productActionSave');

tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id));
break;
case 'copy_to_confirm':
Expand Down Expand Up @@ -373,6 +379,8 @@
}
}

$OSCOM_Hooks->call('products', 'productActionCopy');

tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $categories_id . '&pID=' . $products_id));
break;
}
Expand Down

0 comments on commit 78171a4

Please sign in to comment.