function view_product_tab() {

  var view = app.views.current

  let js = JSON.parse(localStorage.getItem('f04_product'));

  if(js) {

  //console.log(js)

  let dt = js.data.by_brand;

  //console.log(dt)

  var strHtml = ``;

  for(let i=0;i<dt.length;i++) {

    strHtml += `<div class="block-title">`+dt[i].brand+`</div>`;

    strHtml += ``;

    for(let f=0;f<dt[i].items.length;f++) {

    strHtml +=`

<div class="promo-banner">

  <div class="container">

    <a href="/product_trx/`+dt[i].items[f].id+`">

      <div class="content-box">

        <div class="content color-white content-left">

          <h5 class="title-item color-white">`+dt[i].items[f].name+`</h5>

          <p class="text-small">`+dt[i].items[f].hpp+`</p>

        </div>

        <div class="content content-right">

          <div class="button button-icon-large">

            <ion-icon name="arrow-forward-outline" role="img" class="md hydrated">

            </ion-icon>

          </div>

        </div>

      </div>

    </a>

  </div>

</div>`;

    }

    strHtml +=``;

  }

   strHtml += ``;  

  //console.log(strHtml)

  $$("#product_content_tab").html(strHtml); 

  }

}