فهرست منبع

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

hgh 2 سال پیش
والد
کامیت
9b5751c392
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/components/Widgets/Store/Shop/components/productItem.vue

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

@@ -26,7 +26,8 @@
       {{ product.title }}
       {{ product.title }}
     </div>
     </div>
     <div class="product-item__price">
     <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') }}
         {{ parseInt(product.unit_price).toLocaleString('fa') }}
         تومان
         تومان
       </div>
       </div>