For doing this follow given steps -
first you have to search all pages those contains this component & for doing this you can use search query as shown below -
type=nt:unstructured
path=/content
property = cq:commerceType
property.value=product
This query will return all pages those contains a node having property cq:commerceType & value as product.
Second - Now just remove the properties from these result set resources by -
first adopt these resource into ModifiableValueMap this is a extension of ValueMap in AEM.
Then simply use map.put() method to change the value & the commit the resourceResolver using resourceResolver.commit() method.
It will do what you want.
Happy Coding