The Pricing Add-On for Fancy Product Designer will let you create pricing rules to charge your customers on the basis of various element properties.