function bystock_home() {

  let dt2=get_localstorage('item_pria');

  let dt=dt2.data.by_stock.bysort.data;

  var content = ``;

  dt.forEach(v => {

    content +=`

  <swiper-slide>

    <a href="p/by_stock/${v.id}" data-href="p/by_stock/${v.id}" class="card card-album">

      <div class="card-image">

        <img src="${v.n_img}" alt="${v.name} ${v.pid}">

        <div class="card-movie-rating">

          <i class="icon f7-icons text-color-yellow">star_fill</i>Rp.${v.rp_min}</div>

      </div>

    </a>

  </swiper-slide>

    `;

  });

  content +=``;

  $("#home_by_stock").html(content);

  

}