Recent searches


No recent searches

Serhii Danchuk's Avatar

Serhii Danchuk

Joined Dec 29, 2021

·

Last activity Jan 12, 2022

Following

0

Followers

0

Total activity

12

Votes

6

Subscription

1

ACTIVITY OVERVIEW

Latest activity by Serhii Danchuk

Serhii Danchuk commented,

Community comment Q&A - Help center and community

Daniel Dobrzensky Thank you very much it worked!)

View comment · Posted Jan 11, 2022 · Serhii Danchuk

0

Followers

1

Vote

0

Comments


Serhii Danchuk commented,

Community comment Q&A - Help center and community

Thanks for the help! Option 2 suits me and I tried to do it earlier. But I tried these options and they don't work. It is work:

{{#if categories}}
{{#each categories}}
{{#if (compare "4409347111442" "==" ../settings.category_first)}}

ok

{{/if}}
{{/each}}
{{/if}}

But i need dynamic id and try this(your option 2): 

{{#if categories}}
{{#each categories}}
{{#if (compare "id" "==" ../settings.category_first)}}

ok

{{/if}}
{{/each}}
{{/if}}

and this

{{#if categories}}
{{#each categories}}
{{#if (compare "id" "=" ../settings.category_first)}}

ok

{{/if}}
{{/each}}
{{/if}}

and this

{{#if categories}}
{{#each categories}}
{{#if (compare id "==" ../settings.category_first)}}

ok

{{/if}}
{{/each}}
{{/if}}

and this

{{#if categories}}
{{#each categories}}
{{#if (compare id "=" ../settings.category_first)}}

ok

{{/if}}
{{/each}}
{{/if}}

and this


{{#if (compare category.id "==" ../settings.category_first)}}

ok

{{/if}}

it is not work for me, maybe I'm doing something wrong?
i read documentation and i not find answer for my question:( 

View comment · Posted Jan 02, 2022 · Serhii Danchuk

0

Followers

0

Votes

0

Comments


Serhii Danchuk commented,

Community comment Q&A - Help center and community

Yes, I want to show only the category that I kept in the template settings.

View comment · Posted Dec 30, 2021 · Serhii Danchuk

0

Followers

1

Vote

0

Comments


Serhii Danchuk commented,

Community comment Q&A - Help center and community

Thanks, but I would like to use the dynamic id that is take from the category and compare with the settings value.
Like this: 

{{#if categories}}
{{#each categories}}
{{#is ../settings.category_first "dynamic category.id" }}
{{some code to render when true}}
{{/is}}
{{/each}}
{{/if}}


 

View comment · Posted Dec 30, 2021 · Serhii Danchuk

0

Followers

1

Vote

0

Comments


Serhii Danchuk created a post,

Post Q&A - Help center and community

Hi Zendesk.
I wont to show category by id. I add to setting category.id

and i wont to show this category by id, but helper "is" not work width settings.
I also tried other helpers but they don't work the way I need.


How can i show categories by id from settings?

Thank you.

Serhii Danchuk

Posted Dec 29, 2021 · Serhii Danchuk

1

Follower

5

Votes

15

Comments