đ§Includes Troubleshooting
Common things to check when experiencing problems with includes:
Check the syntax is correct, are you using commas ',' to separate parameters passed to the include and colons ':' to separate keys and values?
For Siteglide features, generally arrays are passed into variables as a comma-separated string e.g. item_ids: '1,2,3'- have you passed in as a Liquid array by mistake?
If you assign a variable inside a partial with the same name as the partial's filename it can cause a problem. E.g. if you are inside a file called
marketplace_builder/views/partials/order.liquid
and you write the code:
...this can cause a bug.
Last updated