I have an ecommerce site where you can specify the size of a product and any number of options depending on the different products. Each option has a category. For example, for each product you can choose:
Size - 8.5 x 11, 11 x 17, 8.5 x 5.5 Paper - 100#, 14pt, 80# Coating - Aqueous, UV
Coating is a category while UV is an option. The customer can only choose one size, one type of paper, and one coating option.
The products have different numbers of categories and different numbers of options in those categories. Also, sizes can cause the number of options and categories to vary.
Update - To clarify, not every option is available for every size. So some sizes have 3 coating options available, for example, and some sizes have 2 coating options available.
How do I calculate the total number of possible size and option combinations? It could be these are variations or permutations.