Browse Source

feat module 6, 7 : change whatsapp sentences

master
nadia 1 day ago
parent
commit
31950c6d2e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/components/ProductDetails/ProductDetails.jsx

+ 1
- 1
src/components/ProductDetails/ProductDetails.jsx View File

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…
Cancel
Save