Question

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

  • 17 May 2022
  • 1 reply
  • 127 views

Badge

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

 

Need Handlebar liquid keyword for popular items. 


1 reply

Badge

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