Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
{%- liquid
assign isModal = false
if template == 'product.modal'
assign isModal = true
endif
-%}
1. isModal shows
2. isModal shows
How can I fix this?
@chriss use snake case🐍
ref: https://shopify.dev/docs/storefronts/themes/tools/theme-check/checks/variable-name
{%- liquid
assign is_modal = false
if template == 'product.modal'
assign is_modal = true
endif
-%}
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025