Added option to preselect variable option
Use WordPress's checked function
Update includes/template-functions.php
Merge pull request #914 from sunnyratilal/variable-price-option

Added option to preselect variable option