fixed the custom post type code for products