Open mikebridge opened 8 years ago
{% assign myhash.newvalue = 1 %} should add/update a value in a hash. Similarly,{% assign myhash.mysubhash.newvalue = 1 %} should work as expected.
{% assign myhash.newvalue = 1 %}
{% assign myhash.mysubhash.newvalue = 1 %}
Assigning to a non-existent value or a non-hash should generate an error.
This should work for capture too.
capture
(Note: This is not a feature of Shopify Liquid)
{% assign myhash.newvalue = 1 %}
should add/update a value in a hash. Similarly,{% assign myhash.mysubhash.newvalue = 1 %}
should work as expected.Assigning to a non-existent value or a non-hash should generate an error.
This should work for
capture
too.(Note: This is not a feature of Shopify Liquid)