stencil-cli icon indicating copy to clipboard operation
stencil-cli copied to clipboard

accessing, modifying, replacing, or cloning a global variable

Open meecect opened this issue 3 years ago • 1 comments

Please direct me to the proper forum is this is not the correct place.

I am editing the cornerstone theme in stencil and stencil seems to work fine. I would like to alter the 'categories' variable as it is delivered to the navigation menu.

Where can that be accomplished? If I cannot alter the categories variable, where in the theme api can I grab the categories variable, copy it, modify it as I need, and then make it available to one of my templates. Then I can use it in place of the default categories variable with my modifications.

thanks,

meecect avatar Mar 17 '21 14:03 meecect

@meecect probably it’s better to ask in https://github.com/bigcommerce/cornerstone

MaxGenash avatar Mar 23 '21 15:03 MaxGenash