Hello,
You need replace all code in the file wp-content/themes/royal/woocommerce/loop/add-to-cart.php with the one found on this page: https://gist.github.com/claudiosmweb/5114131
Regards, Eva Kemp.