Hi @Marlene_Horwitz! As I wrote to you earlier, you need to create a component set with variants. The Add button and Basket must be in the same variant.
I made an example for you.
Design file:
Prototype:
Your design may be different from mine, and you may need to navigate to a different frame instead of using interactive components.