block.shopify_attributes

Solved
bettybooper
Excursionist
24 1 4

What does this do and when should I be using it in my sections? Is it just whenever I call a block in my html? I've read the doc and still don't understand what it exactly does and when and why it is needed.

 

Accepted Solution (1)

Accepted Solutions
LitExtension
Shopify Partner
1985 330 405

This is an accepted solution.

Hi @bettybooper ,

It helps to display block in file section. Refer https://help.shopify.com/en/manual/online-store/themes/os20/theme-structure/sections/#customize-your... 
You can refer to this code, it will show blocks when declaring schema, ex: https://github.com/Shopify/dawn/blob/main/sections/collection-list.liquid 
https://i.imgur.com/sYe3MD5.png 
Hope it clear to you.

If my answer can help you solve your issue, please mark it as a solution. Thank you and good luck.

LitExtension - #1 Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!

View solution in original post

Reply 1 (1)
LitExtension
Shopify Partner
1985 330 405

This is an accepted solution.

Hi @bettybooper ,

It helps to display block in file section. Refer https://help.shopify.com/en/manual/online-store/themes/os20/theme-structure/sections/#customize-your... 
You can refer to this code, it will show blocks when declaring schema, ex: https://github.com/Shopify/dawn/blob/main/sections/collection-list.liquid 
https://i.imgur.com/sYe3MD5.png 
Hope it clear to you.

If my answer can help you solve your issue, please mark it as a solution. Thank you and good luck.

LitExtension - #1 Shopping Cart Migration Expert
If our answer is helpful then please accept as solution!
Are you looking for a solution to migrate to Shopify? Contact us for further assistance.
Try our FREE DEMO now!

View solution in original post