wallcovering calculator

Categories

Component ID

1866292

Component name

wallcovering calculator

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This is a custom calculator module created for a wallpaper store. It has a class for creating calculator objects and passing them the node (product) object and using product dimensions to recommend a quantity to order. I hope to abstract this module into a contextual calculator. With an admin form to choose which product fields to use to calculate individual product dimensions and subclasses for different calculations. For now the calculator.class can be useful with only minor tweaking in your custom module and the block and form code should be pretty versatile too. If anybody is interested in a product calculator module and would like to contribute please let me know.