From 7ed2913450713655d2e962846d795dc6b4091de4 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Mar 2023 15:17:59 +0700
Subject: cart

---
 src/lib/product/components/Product/ProductDesktop.jsx | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

(limited to 'src/lib/product/components/Product/ProductDesktop.jsx')

diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx
index 663d5a74..2f73d124 100644
--- a/src/lib/product/components/Product/ProductDesktop.jsx
+++ b/src/lib/product/components/Product/ProductDesktop.jsx
@@ -125,7 +125,7 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
                   {productPrice?.data?.priceExcludeAfterDiscount > 0 ? (
                     currencyFormat(productPrice?.data?.priceExcludeAfterDiscount)
                   ) : (
-                    <span className='text-gray_r-11 leading-6 font-normal'>
+                    <span className='text-gray_r-12/90 font-normal text-h-sm'>
                       Hubungi kami untuk dapatkan harga terbaik,&nbsp;
                       <a href='https://wa.me/' className='text-red_r-11 underline'>
                         klik disini
@@ -261,7 +261,11 @@ const VariantPrice = ({ id }) => {
           </span>{' '}
         </>
       )}
-      {currencyFormat(variantPrice?.data?.priceExcludeAfterDiscount)}
+      {variantPrice?.data?.priceExcludeAfterDiscount > 0 ? (
+        currencyFormat(variantPrice?.data?.priceExcludeAfterDiscount)
+      ) : (
+        <a href='https://wa.me/' className='text-red_r-11'>Call for price</a>
+      )}
     </>
   )
 }
-- 
cgit v1.2.3

