소스 검색

feat module 6, 7 : change whatsapp sentences

master
nadia 2 달 전
부모
커밋
31950c6d2e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      src/components/ProductDetails/ProductDetails.jsx

+ 1
- 1
src/components/ProductDetails/ProductDetails.jsx 파일 보기

358
   const getStoreWhatsappUrl = (store) => {
358
   const getStoreWhatsappUrl = (store) => {
359
     const productTitle = product?.title || "this item"
359
     const productTitle = product?.title || "this item"
360
     const variantText = selectedVariantLabel ? ` - ${selectedVariantLabel}` : ""
360
     const variantText = selectedVariantLabel ? ` - ${selectedVariantLabel}` : ""
361
-    const message = `Halo ${store.name}, apakah ${productTitle}${variantText} masih tersedia? Terima kasih`
361
+    const message = `Hi ${store.name}, I'd like to enquire about ${productTitle}${variantText}. May I know if it's still available? Thank you.`
362
 
362
 
363
     return `${store.whatsapp}?text=${encodeURIComponent(message)}`
363
     return `${store.whatsapp}?text=${encodeURIComponent(message)}`
364
   }
364
   }

Loading…
취소
저장