Show images column only if enabled as variant attribute
Disable sorting for columns not enabled in variants
Simplified the code to initialize a new product