I have created a new attribute type of 'size' and added it to the table, and i created an option value to go with it to allow me to add to the product.
I edited attributes.php to handle the new size attribute (PRODUCT_OPTIONS_TYPE_SIZE) in a very similar manner like a text box..
The difference is that the input name will be id[width] or id[height]
.... I need to handle it this way because although w&h will be displayed, I need to calculate the area and apply a calculation to the result to generate an option price .... which I have done in shopping_cart.php
My problem is that the option adds an entry in the cart summary, but the name & value pair is blank.
I can't see where $product['attribute']['product_options_name'] is being set for this type... should i even bother trying to set this? or hack in a lookup to ignore it for those 2 fields ?
I would like to integrate these 2 options as much as possible into the 'normal' attribute settings...




