diff --git a/modules/cart/src/Form/AddToCartForm.php b/modules/cart/src/Form/AddToCartForm.php
index f0f90be..dbd0042 100644
--- a/modules/cart/src/Form/AddToCartForm.php
+++ b/modules/cart/src/Form/AddToCartForm.php
@@ -57,15 +57,6 @@ class AddToCartForm extends ContentEntityForm {
   protected $chainPriceResolver;
 
   /**
-   * The form instance ID.
-   *
-   * Numeric counter used to ensure form ID uniqueness.
-   *
-   * @var int
-   */
-  protected static $formInstanceId = 0;
-
-  /**
    * The current user.
    *
    * @var \Drupal\Core\Session\AccountInterface
@@ -100,7 +91,6 @@ public function __construct(EntityManagerInterface $entity_manager, CartManagerI
     $this->chainPriceResolver = $chain_price_resolver;
     $this->currentUser = $current_user;
 
-    self::$formInstanceId++;
   }
 
   /**
@@ -136,7 +126,7 @@ public function getFormId() {
     if ($this->operation != 'default') {
       $form_id = $form_id . '_' . $this->operation;
     }
-    $form_id .= '_' . self::$formInstanceId;
+    $form_id .= '_' . $this->entity->getPurchasedEntity()->id();
 
     return $form_id . '_form';
   }
