Happening now | Office Hours: Customizing Your Theme with Moeed | Ask all your theme customization questions now!

Chaining multiple commands in one {% %} set

Chaining multiple commands in one {% %} set

nagumi
Explorer
64 2 31

Hey! I'm trying to do multiple variable assigns in one bracket set, as follows. Any idea why it's not working?

{%
assign productswidth = '100%',
pageswidth = '60%',
loop = false,
playbutton = "URL"
%}
Reply 1 (1)

nagumi
Explorer
64 2 31

I found a solution:

 

{% liquid
assign productswidth = '100%'
assign pageswidth = '60%'
assign loop = false
assign playbutton = "URL"
%}