Skip to content

Added Runway support - #34

Open
kevinmeijer97 wants to merge 7 commits into
masterfrom
feature/runway-support
Open

Added Runway support#34
kevinmeijer97 wants to merge 7 commits into
masterfrom
feature/runway-support

Conversation

@kevinmeijer97

Copy link
Copy Markdown
Member

Adds optional Runway support so structured data templates can target a Runway resource and apply to all models of that resource at render time.
Templates now have a new Runway blueprint type and config allowlist, available variables include blueprint fields plus model attributes/appends, and rendering works via structured-data:head (Runway URI lookup) or the new structured-data:for tag for custom/Magento routes.

Template example:
Screenshot 2026-08-04 at 14 09 21
Screenshot 2026-08-04 at 14 09 51
Screenshot 2026-08-04 at 14 09 31

<script type="application/ld+json">{"@context":"https://schema.org","@type":"Product","@id":"http://example.org/#Product","name":"Product Name","sku":"AB-123456","price":"1599"}</script>

Comment thread src/Actions/InjectStructuredDataAction.php
Comment thread src/Actions/InjectStructuredDataAction.php Outdated
Comment thread src/Fieldtypes/AvailableVariablesFieldtype.php
Comment thread src/Services/StructuredDataService.php Outdated
Comment thread src/Services/StructuredDataService.php Outdated
Comment thread stubs/runway/Runway.php
Comment thread tests/Unit/Actions/InjectStructuredDataActionRunwayTest.php Outdated
Comment thread tests/Unit/Actions/InjectStructuredDataActionRunwayTest.php Outdated
Comment thread tests/Unit/Fieldtypes/AvailableVariablesFieldtypeTest.php Outdated
@kevinmeijer97
kevinmeijer97 requested a review from BobWez98 August 5, 2026 14:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants