refactor sku form to remove some duplication and complexity