category tree & add variation to cart fix