diff --git a/basic_cart.module b/basic_cart.module
index 964df14..7245f69 100644
--- a/basic_cart.module
+++ b/basic_cart.module
@@ -402,7 +402,7 @@ function basic_cart_form_alter(&$form, &$form_state, $form_id) {
     // Check if we are on a product content type.
     if (in_array($form_id, $types_)) {
       // We are - hiding the add to cart field.
-      unset($form['add_to_cart']);
+      $form['add_to_cart']['#access'] = FALSE;
     }
   }
 }
