Forráskód Böngészése

بهبود نمایش قیمت در بخش فروشگاه

hgh 2 éve
szülő
commit
9b5751c392

+ 2 - 1
src/components/Widgets/Store/Shop/components/productItem.vue

@@ -26,7 +26,8 @@
       {{ product.title }}
     </div>
     <div class="product-item__price">
-      <div class="product-item__price-base">
+      <div v-if="product.unit_price != product.sellable_price"
+           class="product-item__price-base">
         {{ parseInt(product.unit_price).toLocaleString('fa') }}
         تومان
       </div>