this custom app is more or less implemented the configurator feature, unfortunately it is still half baked, not yet fully tested, no one really used it. but I do think it can give you some reference.
Config to order: ERPNext version of SAP’s variant configuration
Background
For product with lot of configuration options(item with variants) such as computer, the current system does not support creating master/super BOM with all possible components,instead variant item with assigned attribute values and corresponding BOM to be created, then it can be selected/used in sales and production process, creating a large number of item variants for each combination of attribute values in advance is i…
here the git repo GitHub - szufisher/config_to_order: Config To Order, ERPNext's SAP variant configuration