thanks dr byte. didnt see your reply.

but yeah i knew that i was trying to show the code part if there was anything wrong with it.

creating a new product type is so much work! cant it be implemented like how we are adding options or attributes to a product?