Hi
I need the option to sell products in square meter, though some products will be sold as normal price. The square meter option needs to provide the user two dropdowns, length and width on the product page, once selected the price should be calculated and displayed. Then the user can add to cart.
After doing some research I found javascript code is needed in template/catalog/product/view/options.phtml file for the frontend price. And observers are required (which ensure correct cart price is added on server side) but I don't know where to add them.
Could someone confirm please and assist?