Hi, I'm having a problem with accessing a paragraph field in a node when I enable pivot. The situation is as follows:
I have marked up a content type as a Book through the Metatag and Schema Metatag modules. This content type has a paragraph reference field and that field can contain multiple paragraphs. The paragraph type has multiple fields, one of which contains the selling price of that book at a certain store.
On the Metatag configuration page, I have created a standard metatag of that specific content type, and have enabled the Schema.org:Book for it. Under SCHEMA.ORG: BOOK > WORKEXAMPLE > POTENTIALACTION > CONSUMEACTION > EXPECTSACCEPTANCEOF I have enabled AggregateOffer and Pivot.
In the price field I have entered the token [node:field_paragraph:entity:field_price:value]
When I check the structured data of the node, the PotentialAction field is empty. Even the fields with fixed values are not visible.
But when I disable Pivot and use the token [node:field_paragraph:0:entity:field_price:value], I can see the value of the price field of the first paragraph of that node, and the other fields that have been filled in with fixed values are visible as well.
I would like to know if this is a bug, and if so, if it could be fixed. Or if this is by (current) design. In that case, could this issue then be considered a feature request?
Thank you in advance.