Zeta determinants on cones and products