I cannot get any of the product fields to show in my theme such as {{ product.title }} and {{ product }} in my commerce--product.html.twig file.

Also commerce--product.html.twig was not seen but page--product-page.html.twig was the only twig file that triggered a response from Drupal.

I've followed the directions from this URL but still no product fields are rendering.

I've set the default and full content view modes as well.

What is required in my theme in order to render the fields and create a custom twig template?

Comments

Dru Pal created an issue. See original summary.

jsacksick’s picture

Category: Bug report » Support request
Priority: Major » Normal
Status: Active » Closed (won't fix)

You might to read more about how theming works in Drupal. This seems to be a support request, which aren't answered from this queue anymore:

With the abundance of support available in Drupal Answers, the Drupal focused Stack Exchange site, we are no longer answering support requests in the issue queue.

Support requests opened here will be closed (won't fix), so please search for existing answers or post new questions at:

https://drupal.stackexchange.com (using the drupal-commerce tag)