Woocommerce variable products are being added to the card on the homepage (ajax)

I was trying to fix this at the last 4 hours and I got it.
You need to change:
ajax_add_to_cart add_to_cart_button button
for this:
button product_type_variable add_to_cart_button on the follow archives:

wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-a.php
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-b.php
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-c.php
wp-content/themes/tyche/inc/libraries/widgets/widget-tyche-products/view/layout-d.php

Its located between lines 60~90. You need to change in every archive.

Sorry for my bad English.

Love the community, so helpful <3

Good lucky for all !