Commerce

In Drupal 7, the challenge in display custom views when working with Drupal Commerce is that the Commerce fields by default are programatically separated and distinct from content fields and entities of your usual Drupal content types - including for instance the Product Display content type. In this example, we have a Content Type > Product Display, with referenced Commerce Product fields. Needless to say each has its own set of fields, normally the Commerce fields are rendered inside your Product Display, as the common and preferred setup for D7.

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: