Skip to content

Support content fields - #38

Merged
sstakhovski merged 2 commits into
masterfrom
fix/content-fields
Nov 27, 2025
Merged

Support content fields#38
sstakhovski merged 2 commits into
masterfrom
fix/content-fields

Conversation

@sstakhovski

Copy link
Copy Markdown
Contributor

https://app.asana.com/1/1126683767705082/project/1202302358229231/task/1212154410617310?focus=true

According to Shopify's specifications, the product.content property should store product.description. This overrides our content fields.

I added a new class to store the content and description, as well as to return the description from the toString() method.

Use {{ product.content }} to render the description

Use {{ product.content.content_field }} to render the content field

@sstakhovski
sstakhovski merged commit 4ea807f into master Nov 27, 2025
1 check passed
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.

4 participants