Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why doesn't parse_json take effect? #1777

Open
hogan96 opened this issue Jan 13, 2024 · 1 comment
Open

Why doesn't parse_json take effect? #1777

hogan96 opened this issue Jan 13, 2024 · 1 comment

Comments

@hogan96
Copy link

hogan96 commented Jan 13, 2024

{%- assign tech_details = product.metafields.custom.product_technical_details | parse_json -%}

image

@tekhaus
Copy link

tekhaus commented Feb 8, 2024

Because sadly parse_json is not a filter in Shopify Liquid. Which is odd given that list and json metafields both return a json string, so this would be a very useful addition.

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

No branches or pull requests

2 participants