Skip to main content

How to show Popular service items in frontend portal in V2 code.

 

Need Handlebar liquid keyword for popular items. 

I have used below code, It fetching all the items from the service catalog: But I need popular alone.

 

 

{{#renderFromApi url="/catalog/items" method="GET"}}

    <section id="solutions-banner">

      <h2>Topics</h2>
      {{name}}

      {{#this}}

        <a href="{{#if external_url}}{{external_url}}{{else}}/support/solutions/articles/{{id}}{{/if}}" class="card solution-card">

           <div class="elem-inline-mid">

             <h3>{{name}}</h3>


         </div>

         </a>

      {{/this}}

    </section>

  {{/renderFromApi}}


Reply