{%- liquid
assign isModal = false
if template == ‘product.modal’
assign isModal = true
endif
-%}
1. isModal shows
- The variable ‘isModal’ uses wrong naming format
isModal: boolean
2. isModal shows
- The variable ‘isModal’ uses wrong naming format
How can I fix this?