Why isn't my add to cart button working properly with variants?

Hi, Shopify community!!
My add to cart button is not working can anyone help?
when I select add to cart it adds the product but when I change the variant it doesn’t pick the variant.
can you please please tell me how to fix it?

Hi, @Danish7 !

Thanks for reaching out in our Community forums and for sharing your concern, I’d be happy to help.

I understand that you are running into some issues with your add to cart button. This error can occur for many reasons. Have you made any changes to your theme code recently? To narrow it down, are you able to share the name of your theme? You can also share your store URL so that I can attempt to replicate this issue on my end.

Since this issue may be affecting your sales, we would be happy to continue assisting you through live chat, email, or callback immediately. Please visit our Help Center and log in to your account to create a support request.

Feel free to let me know if you have more questions!

https://www.loom.com/share/ba42c6f8bfd84f4c80e99efbc98e6fd5
Sir in this I have explained my issue
this is the preview of my theme
https://1cw9mral8740yc3j-57081135259.shopifypreview.com

Hi again, @Danish7 !

Thank you for providing the link and for thoroughly explaining the apparent issue.

While testing this on my end, it appears that the add to cart button is functioning as expected. I was able to consistently change the variants and they would be added to the cart as individual items. Feel free to check out the screen-recording here that goes over this.

Are you able to confirm if this issue is still persistent on your end? You can also consult your theme developer for more information. It looks like you are using a third-party theme so you can contact your theme developer troubleshoot further.

Kindly reply back to this thread with any questions or updates and we can continue our conversation further!

Okay, thanks for your time mate!

Hi @Danish7 !

No problem at all. I’m happy I could help.

If you have any other questions, feel free to follow up and let me know! Additionally, I’m always looking to help out merchants with ideas or feedback related to their stores as well!