Commerce Cart

Product Display > Manage Display 

  1. Go to the Product Display (node) Display Settings
  2. Identify which Display View you want the add to cart feature disabled
    Drupal-Commerce-hide-add-cart-product-display.png
  3. Assuming "Product" is the referenced field, hide the Product reference field and hide any of the injected product attribute fields that you wouldn't want displayed. Switch from "Add to Cart" to "Hiden"

A common error on Drupal 7 running on PHP 7: Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\xxx\sites\all\modules\commerce\modules\cart\commerce_cart.module on line 1344

Fixes: