actindo ->product__delete_category
actindo -> product__delete_category: Delete given category (Warengruppe löschen)
Signaturstring product__delete_category( string $sid, int $id [, boolean $shop_sync] )
 
Parameter
  • string $sid
    Session identier you got from auth__login or auth__token_login
     
  • int $id
    id of category you want to delete
     
  • boolean $shop_sync
    set to true if you want to synchronize with the shop
     
Returnsstring
array('ok'=>TRUE/FALSE, 'error'=>string error message on failure)
 
DescriptionDelete given category (Warengruppe löschen)

IMPORTANT: Please note that all child categories of the given category will also be deleted if there are no products assigned to them