Liquid syntax errors in new theme for old code for tabs
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 11.9k
- Forks
- 1.5k
- Avg merge
- 17h 55m
- Merged PRs (30d)
- 3
Description
Hello,
I am building a new theme and i want to use a code for tabs for additional information (metafields i guess).
This is the error I get "Liquid syntax error: Expected id but found open_square in "(product.metafields.[countString].name"
I read about it and i saw that I must remove the dot before the brackets and the error changes to "Liquid syntax error: Expected dotdot but found end_of_string in "(product.metafields[countString].name""
I am new to liquid and the metafields and i guess the syntax has changed. What is different in the syntax now? How do i fix this?
Best regards
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names only the failing Liquid expressions and does not identify a repository file, test, or complete template. Start by reproducing the reported syntax errors with the relevant metafield access pattern; done means documenting or validating the correct syntax for the reported tab use case.
Written by the indexing model from the issue text.
Assessment
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100