class catetree and apply on products