สร้างหน้าคำนวณค่างวดผ่อนรถ: เต็นท์รถให้ลูกค้าคิดเอง ส่งยอดเข้า LINE
ทดสอบกับ Claude
ได้ไฟล์ HTML ไฟล์เดียวที่เปิดในมือถือได้ ลูกค้าเลือกรถ ดาวน์ และระยะผ่อน เห็นค่างวดเทียบกัน แล้วส่งยอดเข้า LINE พร้อมข้อความโปรโมตหน้านี้
ใช้กับ: Claude, ChatGPT, Gemini, Claude Code
Prompt เต็ม พร้อมคัดลอก
=== STEP 1: BUILD THE INSTALLMENT CALCULATOR (Claude, ChatGPT or Gemini) === You are a web developer who builds mobile-friendly pages for small shops. Build an "installment calculator" page for my vehicle shop as a single HTML file (HTML + CSS + JavaScript in one file) that works on phones and computers. All on-screen text must be in Thai. Shop details: - Shop name: [shop_name] - Shop LINE: [line_id] - Yearly interest rate on a reducing balance (effective rate) for the estimate: [rate] - Loan terms to offer (months): [terms] - Vehicles with prices: [car_list] - Brand color: [brand_color] The page must: 1. Show the shop name and the line "Estimate your installment before you message us" in Thai. 2. Have a dropdown of the vehicles (choosing one fills in the price) plus an "other vehicle (enter price)" option. 3. Have a down payment slider from 0 to 50% in 5% steps, showing the percent and the baht amount live. 4. Show large buttons for each loan term set by the shop. 5. Have an interest rate field prefilled with the shop rate that the user can edit. 6. Calculate on a reducing balance: payment = financed amount x r / (1 - (1 + r)^-n), where r = yearly rate / 100 / 12 and n = months; if the rate is 0, use financed amount / n. 7. Show the monthly payment in large type, plus a table of down payment, financed amount, total interest and total paid including the down payment. 8. Show a comparison table of the payment and total interest for every loan term. 9. Have an optional nickname field, a green "Send this estimate to the shop on LINE" button using https://line.me/R/share?text= followed by the encodeURIComponent message (vehicle, price, down payment, term, monthly payment), and a "Copy message" button that falls back to a copy box if the clipboard fails. 10. Show a note: this is an estimate only, the real payment depends on the finance company's approval, insurance and other fees are not included, and no ID number or personal documents should be sent through this page. Style: text at least 18px using the Sarabun font from Google Fonts, buttons at least 48px tall, no horizontal scrolling on a 390px screen, money shown with thousands separators, rounded to whole baht, never showing -0. Keep all shop data in one SHOP object at the top of the script so the shop can edit it easily. Do not: add fields for ID numbers, income, phone numbers or personal documents; take payments; use LINE Notify; use external libraries other than Google Fonts; promise guaranteed approval, zero down or the lowest rate unless the shop gave that information. Output: the full code in one block, then short step-by-step instructions in Thai on saving it as index.html, testing it on a phone, and putting it online for free with Netlify Drop or GitHub Pages. === STEP 2: MESSAGES THAT BRING PEOPLE TO THE PAGE (Claude, ChatGPT or Gemini) === I have launched the installment calculator for [shop_name]. Write in plain Thai: 2 page posts inviting people to tap the link and estimate their own payment, 3 chat replies for when a customer asks "how much per month", and a short line for a QR sign stuck on car windows in the shop. Every message must say the numbers are an estimate, must not promise guaranteed approval, and must not ask for personal documents in chat.
=== ขั้น 1: สร้างหน้าคำนวณค่างวด (Claude, ChatGPT หรือ Gemini) === คุณคือนักพัฒนาเว็บที่ทำหน้าเว็บให้ร้านเล็กใช้บนมือถือ ช่วยสร้าง "หน้าคำนวณค่างวดผ่อนรถ" ให้ร้านของฉัน เป็นไฟล์ HTML ไฟล์เดียว (HTML + CSS + JavaScript อยู่ในไฟล์เดียว) เปิดได้ทั้งมือถือและคอม ภาษาไทยทั้งหมด ข้อมูลร้าน: - ชื่อร้าน: [ชื่อร้าน] - LINE ของร้าน: [ไลน์ร้าน] - ดอกเบี้ยต่อปีแบบลดต้นลดดอกที่ใช้คำนวณเบื้องต้น: [ดอกเบี้ย] - ระยะผ่อนที่ให้เลือก (เดือน): [ระยะผ่อน] - รายการรถพร้อมราคา: [รายการรถ] - สีหลักของร้าน: [สีร้าน] สิ่งที่หน้าเว็บต้องทำ: 1. หัวหน้าแสดงชื่อร้าน และประโยค "คำนวณค่างวดเบื้องต้น ก่อนทักมาคุยกับร้าน" 2. ช่องเลือกรถจากรายการ เลือกแล้วราคาเติมเอง และมีตัวเลือก "รถคันอื่น (ใส่ราคาเอง)" 3. แถบเลื่อนเงินดาวน์ 0-50% ทีละ 5% แสดงเป็นเปอร์เซ็นต์และจำนวนบาททันที 4. ปุ่มใหญ่เลือกระยะผ่อนตามที่ร้านกำหนด 5. ช่องดอกเบี้ยตั้งค่าเริ่มต้นตามร้าน ผู้ใช้แก้ได้ 6. คำนวณแบบลดต้นลดดอก: ค่างวด = ยอดจัด x r ÷ (1 - (1 + r) ยกกำลัง -n) โดย r = ดอกเบี้ยต่อปี ÷ 100 ÷ 12 และ n = จำนวนเดือน ถ้าดอกเบี้ยเป็น 0 ให้ใช้ ยอดจัด ÷ n 7. แสดงค่างวดต่อเดือนตัวใหญ่ พร้อมตาราง เงินดาวน์ ยอดจัดไฟแนนซ์ ดอกเบี้ยรวมทั้งสัญญา และจ่ายรวมทั้งหมด (รวมดาวน์) 8. ตารางเทียบค่างวดและดอกเบี้ยรวมของทุกระยะผ่อน 9. ช่องชื่อเล่น (ไม่บังคับ) ปุ่มสีเขียว "ส่งยอดนี้ให้ร้านทาง LINE" ใช้ลิงก์ https://line.me/R/share?text= ตามด้วยข้อความที่เข้ารหัสด้วย encodeURIComponent (ชื่อรถ ราคา ดาวน์ ระยะผ่อน ค่างวด) และปุ่ม "คัดลอกข้อความ" ถ้าคัดลอกอัตโนมัติไม่ได้ให้เปิดกล่องให้คัดลอกเอง 10. กล่องหมายเหตุ: ตัวเลขเป็นการคำนวณเบื้องต้น ค่างวดจริงขึ้นกับผลอนุมัติของไฟแนนซ์ ไม่รวมประกันภัยและค่าธรรมเนียมอื่น ไม่ต้องส่งเลขบัตรประชาชนหรือเอกสารส่วนตัวผ่านหน้านี้ รูปแบบ: ตัวอักษรอย่างน้อย 18px ใช้ฟอนต์ Sarabun จาก Google Fonts ปุ่มสูงอย่างน้อย 48px ไม่มีแถบเลื่อนแนวนอนบนจอกว้าง 390px ตัวเลขเงินมีลูกน้ำ ปัดเป็นจำนวนเต็ม และไม่แสดง -0 เก็บข้อมูลร้านทั้งหมดไว้ในตัวแปร SHOP บนสุดของสคริปต์ ให้ร้านแก้เองได้ง่าย ข้อห้าม: ห้ามมีช่องกรอกเลขบัตรประชาชน รายได้ เบอร์โทร หรือเอกสารส่วนตัว ห้ามรับชำระเงิน ห้ามใช้ LINE Notify ห้ามใช้ไลบรารีภายนอกนอกจาก Google Fonts ห้ามเขียนว่าอนุมัติแน่นอน ฟรีดาวน์ หรือดอกเบี้ยต่ำสุด ถ้าร้านไม่ได้ให้ข้อมูลนั้นมา ผลลัพธ์: ส่งโค้ดเต็มไฟล์ในบล็อกเดียว แล้วบอกเป็นภาษาไทยสั้นๆ ทีละขั้นว่า บันทึกเป็นไฟล์ชื่อ index.html อย่างไร เปิดทดสอบในมือถืออย่างไร และเอาขึ้นออนไลน์ฟรีด้วย Netlify Drop หรือ GitHub Pages === ขั้น 2: ข้อความพาคนมาใช้หน้านี้ (Claude, ChatGPT หรือ Gemini) === ฉันเปิดหน้าคำนวณค่างวดของ [ชื่อร้าน] แล้ว เขียนเป็นภาษาไทยบ้านๆ: โพสต์เพจ 2 แบบชวนคนกดลิงก์ไปคิดค่างวดเอง ข้อความตอบแชต 3 แบบเมื่อลูกค้าถามว่า "ผ่อนเดือนละเท่าไหร่" และข้อความสั้นสำหรับป้าย QR ที่ติดกระจกรถในร้าน ทุกข้อความต้องบอกว่าตัวเลขเป็นการคำนวณเบื้องต้น ห้ามสัญญาว่าอนุมัติแน่นอน และห้ามขอเอกสารส่วนตัวทางแชต
คำ[ในวงเล็บสีแดง] แก้เป็นของคุณได้
คำใน [ ] ที่ต้องแก้
[shop_name]ชื่อร้านชื่อเต็นท์รถหรือร้านที่แสดงบนหัวหน้าเช่น เต็นท์รถโชคดีออโต้[line_id]ไลน์ร้านLINE ID หรือ LINE OA ของร้านเช่น @chokdeeauto[rate]ดอกเบี้ยดอกเบี้ยต่อปีแบบลดต้นลดดอกที่ไฟแนนซ์ที่ร้านใช้บ่อยแจ้ง ไม่ใช่ดอกเบี้ยคงที่ (flat rate)เช่น 6.99%[terms]ระยะผ่อนจำนวนเดือนที่ให้ลูกค้าเลือกเช่น 48, 60, 72, 84 เดือน[car_list]รายการรถรถในสต๊อกพร้อมราคา บรรทัดละคันเช่น Toyota Yaris Ativ 2022 สีขาว 429,000 / Honda City 2021 สีเทา 459,000 / Isuzu D-Max 2020 กระบะ 4 ประตู 589,000[brand_color]สีร้านสีหลักของร้าน บอกเป็นชื่อสีหรือรหัสสีเช่น น้ำเงินเข้ม #0b3d91
เวอร์ชันตัวอย่าง
เต็นท์รถเก๋งและกระบะมือสอง
ผลลัพธ์ ทดสอบด้วย Playwright บนจอ 390x844 แล้ว: เก๋ง 429,000 บาท ดาวน์ 15% ผ่อน 60 เดือน ได้ค่างวดประมาณ 7,219 บาท มีตารางเทียบ 4 ระยะผ่อน และปุ่มส่งเข้า LINE
=== STEP 1: BUILD THE INSTALLMENT CALCULATOR (Claude, ChatGPT or Gemini) === You are a web developer who builds mobile-friendly pages for small shops. Build an "installment calculator" page for my vehicle shop as a single HTML file (HTML + CSS + JavaScript in one file) that works on phones and computers. All on-screen text must be in Thai. Shop details: - Shop name: เต็นท์รถโชคดีออโต้ - Shop LINE: @chokdeeauto - Yearly interest rate on a reducing balance (effective rate) for the estimate: 6.99% - Loan terms to offer (months): 48, 60, 72, 84 เดือน - Vehicles with prices: Toyota Yaris Ativ 2022 สีขาว 429,000 / Honda City 2021 สีเทา 459,000 / Isuzu D-Max 2020 กระบะ 4 ประตู 589,000 - Brand color: น้ำเงินเข้ม #0b3d91 The page must: 1. Show the shop name and the line "Estimate your installment before you message us" in Thai. 2. Have a dropdown of the vehicles (choosing one fills in the price) plus an "other vehicle (enter price)" option. 3. Have a down payment slider from 0 to 50% in 5% steps, showing the percent and the baht amount live. 4. Show large buttons for each loan term set by the shop. 5. Have an interest rate field prefilled with the shop rate that the user can edit. 6. Calculate on a reducing balance: payment = financed amount x r / (1 - (1 + r)^-n), where r = yearly rate / 100 / 12 and n = months; if the rate is 0, use financed amount / n. 7. Show the monthly payment in large type, plus a table of down payment, financed amount, total interest and total paid including the down payment. 8. Show a comparison table of the payment and total interest for every loan term. 9. Have an optional nickname field, a green "Send this estimate to the shop on LINE" button using https://line.me/R/share?text= followed by the encodeURIComponent message (vehicle, price, down payment, term, monthly payment), and a "Copy message" button that falls back to a copy box if the clipboard fails. 10. Show a note: this is an estimate only, the real payment depends on the finance company's approval, insurance and other fees are not included, and no ID number or personal documents should be sent through this page. Style: text at least 18px using the Sarabun font from Google Fonts, buttons at least 48px tall, no horizontal scrolling on a 390px screen, money shown with thousands separators, rounded to whole baht, never showing -0. Keep all shop data in one SHOP object at the top of the script so the shop can edit it easily. Do not: add fields for ID numbers, income, phone numbers or personal documents; take payments; use LINE Notify; use external libraries other than Google Fonts; promise guaranteed approval, zero down or the lowest rate unless the shop gave that information. Output: the full code in one block, then short step-by-step instructions in Thai on saving it as index.html, testing it on a phone, and putting it online for free with Netlify Drop or GitHub Pages. === STEP 2: MESSAGES THAT BRING PEOPLE TO THE PAGE (Claude, ChatGPT or Gemini) === I have launched the installment calculator for เต็นท์รถโชคดีออโต้. Write in plain Thai: 2 page posts inviting people to tap the link and estimate their own payment, 3 chat replies for when a customer asks "how much per month", and a short line for a QR sign stuck on car windows in the shop. Every message must say the numbers are an estimate, must not promise guaranteed approval, and must not ask for personal documents in chat.
ร้านมอเตอร์ไซค์ผ่อน
ผลลัพธ์ หน้าคำนวณสีแดงสำหรับมอเตอร์ไซค์ ผ่อนสั้น 12-36 เดือน เหมาะกับลูกค้าที่อยากรู้ค่างวดก่อนเดินทางมาดูรถ
=== STEP 1: BUILD THE INSTALLMENT CALCULATOR (Claude, ChatGPT or Gemini) === You are a web developer who builds mobile-friendly pages for small shops. Build an "installment calculator" page for my vehicle shop as a single HTML file (HTML + CSS + JavaScript in one file) that works on phones and computers. All on-screen text must be in Thai. Shop details: - Shop name: สมชายมอเตอร์ ขอนแก่น - Shop LINE: @somchaimotor - Yearly interest rate on a reducing balance (effective rate) for the estimate: 15% - Loan terms to offer (months): 12, 24, 36 เดือน - Vehicles with prices: สกู๊ตเตอร์ 125cc มือสองสีแดง 42,000 / รถครอบครัว 110cc สีดำ 35,000 / บิ๊กสกู๊ตเตอร์ 160cc สีเทา 79,000 - Brand color: แดง #c62828 The page must: 1. Show the shop name and the line "Estimate your installment before you message us" in Thai. 2. Have a dropdown of the vehicles (choosing one fills in the price) plus an "other vehicle (enter price)" option. 3. Have a down payment slider from 0 to 50% in 5% steps, showing the percent and the baht amount live. 4. Show large buttons for each loan term set by the shop. 5. Have an interest rate field prefilled with the shop rate that the user can edit. 6. Calculate on a reducing balance: payment = financed amount x r / (1 - (1 + r)^-n), where r = yearly rate / 100 / 12 and n = months; if the rate is 0, use financed amount / n. 7. Show the monthly payment in large type, plus a table of down payment, financed amount, total interest and total paid including the down payment. 8. Show a comparison table of the payment and total interest for every loan term. 9. Have an optional nickname field, a green "Send this estimate to the shop on LINE" button using https://line.me/R/share?text= followed by the encodeURIComponent message (vehicle, price, down payment, term, monthly payment), and a "Copy message" button that falls back to a copy box if the clipboard fails. 10. Show a note: this is an estimate only, the real payment depends on the finance company's approval, insurance and other fees are not included, and no ID number or personal documents should be sent through this page. Style: text at least 18px using the Sarabun font from Google Fonts, buttons at least 48px tall, no horizontal scrolling on a 390px screen, money shown with thousands separators, rounded to whole baht, never showing -0. Keep all shop data in one SHOP object at the top of the script so the shop can edit it easily. Do not: add fields for ID numbers, income, phone numbers or personal documents; take payments; use LINE Notify; use external libraries other than Google Fonts; promise guaranteed approval, zero down or the lowest rate unless the shop gave that information. Output: the full code in one block, then short step-by-step instructions in Thai on saving it as index.html, testing it on a phone, and putting it online for free with Netlify Drop or GitHub Pages. === STEP 2: MESSAGES THAT BRING PEOPLE TO THE PAGE (Claude, ChatGPT or Gemini) === I have launched the installment calculator for สมชายมอเตอร์ ขอนแก่น. Write in plain Thai: 2 page posts inviting people to tap the link and estimate their own payment, 3 chat replies for when a customer asks "how much per month", and a short line for a QR sign stuck on car windows in the shop. Every message must say the numbers are an estimate, must not promise guaranteed approval, and must not ask for personal documents in chat.
เต็นท์รถกระบะทำงานต่างจังหวัด
ผลลัพธ์ หน้าคำนวณสีส้มสำหรับกระบะ 3 คัน เทียบค่างวด 4 ระยะผ่อน ใช้คู่กับป้าย QR ที่กระจกรถ
=== STEP 1: BUILD THE INSTALLMENT CALCULATOR (Claude, ChatGPT or Gemini) === You are a web developer who builds mobile-friendly pages for small shops. Build an "installment calculator" page for my vehicle shop as a single HTML file (HTML + CSS + JavaScript in one file) that works on phones and computers. All on-screen text must be in Thai. Shop details: - Shop name: ช่างเอกกระบะมือสอง นครสวรรค์ - Shop LINE: @ekpickup - Yearly interest rate on a reducing balance (effective rate) for the estimate: 8.5% - Loan terms to offer (months): 36, 48, 60, 72 เดือน - Vehicles with prices: Isuzu D-Max 2020 สีเทา 589,000 / Toyota Hilux Revo 2019 สีขาว 549,000 / Ford Ranger 2018 แคป สีดำ 459,000 - Brand color: ส้ม #ef6c00 The page must: 1. Show the shop name and the line "Estimate your installment before you message us" in Thai. 2. Have a dropdown of the vehicles (choosing one fills in the price) plus an "other vehicle (enter price)" option. 3. Have a down payment slider from 0 to 50% in 5% steps, showing the percent and the baht amount live. 4. Show large buttons for each loan term set by the shop. 5. Have an interest rate field prefilled with the shop rate that the user can edit. 6. Calculate on a reducing balance: payment = financed amount x r / (1 - (1 + r)^-n), where r = yearly rate / 100 / 12 and n = months; if the rate is 0, use financed amount / n. 7. Show the monthly payment in large type, plus a table of down payment, financed amount, total interest and total paid including the down payment. 8. Show a comparison table of the payment and total interest for every loan term. 9. Have an optional nickname field, a green "Send this estimate to the shop on LINE" button using https://line.me/R/share?text= followed by the encodeURIComponent message (vehicle, price, down payment, term, monthly payment), and a "Copy message" button that falls back to a copy box if the clipboard fails. 10. Show a note: this is an estimate only, the real payment depends on the finance company's approval, insurance and other fees are not included, and no ID number or personal documents should be sent through this page. Style: text at least 18px using the Sarabun font from Google Fonts, buttons at least 48px tall, no horizontal scrolling on a 390px screen, money shown with thousands separators, rounded to whole baht, never showing -0. Keep all shop data in one SHOP object at the top of the script so the shop can edit it easily. Do not: add fields for ID numbers, income, phone numbers or personal documents; take payments; use LINE Notify; use external libraries other than Google Fonts; promise guaranteed approval, zero down or the lowest rate unless the shop gave that information. Output: the full code in one block, then short step-by-step instructions in Thai on saving it as index.html, testing it on a phone, and putting it online for free with Netlify Drop or GitHub Pages. === STEP 2: MESSAGES THAT BRING PEOPLE TO THE PAGE (Claude, ChatGPT or Gemini) === I have launched the installment calculator for ช่างเอกกระบะมือสอง นครสวรรค์. Write in plain Thai: 2 page posts inviting people to tap the link and estimate their own payment, 3 chat replies for when a customer asks "how much per month", and a short line for a QR sign stuck on car windows in the shop. Every message must say the numbers are an estimate, must not promise guaranteed approval, and must not ask for personal documents in chat.
Prompt นี้ช่วยอะไร
คำถามแรกที่เต็นท์รถโดนทักมากที่สุดคือ “ดาวน์เท่าไหร่ ผ่อนเดือนละเท่าไหร่” เว็บขายรถอย่าง ชอบรถ มีบทความสอนคำนวณค่างวดรถมือสองเอง ส่วน ธนาคารแห่งประเทศไทยอธิบายดอกเบี้ยแบบลดต้นลดดอก (Effective Rate) ที่ใช้เทียบต้นทุนเงินกู้ได้ตรงกว่า Prompt นี้ให้ AI สร้างหน้าเว็บที่ลูกค้าคิดค่างวดเองแบบลดต้นลดดอก แล้วกดส่งยอดเข้า LINE เต็นท์ได้ทันทีครับ
- เลือกรถจากสต๊อก ราคาเติมเอง หรือใส่ราคารถคันอื่นได้
- เลื่อนดาวน์ เลือกงวด เห็นค่างวด ยอดจัด ดอกเบี้ยรวม และตารางเทียบทุกระยะผ่อน
- ส่งยอดเข้า LINE ลูกค้ากดปุ่มเดียว ข้อความมีรุ่นรถ ดาวน์ และค่างวดครบ ไม่ต้องพิมพ์ถามซ้ำ
- ทางทำเงิน เต็นท์ได้ลูกค้าที่คิดเงินมาแล้วและพร้อมคุยจริง หรือรับทำหน้านี้ให้เต็นท์รถ ร้านมอเตอร์ไซค์ และร้านเครื่องใช้ไฟฟ้าผ่อนเป็นงานเสริม
ใช้คู่กับ Prompt ภาพขายรถ AI ครึ่งพิมพ์เขียวครึ่ง 3D เพื่อดึงคนดูมาที่หน้านี้ และถ้าอยากได้เครื่องคิดกำไรของร้าน ดู Prompt สร้างเครื่องคิดราคาขายและกำไร
คำถามเกี่ยวกับ Prompt นี้
ตัวเลขตรงกับไฟแนนซ์ไหม
ใกล้เคียงเมื่อใส่อัตราดอกเบี้ยแบบลดต้นลดดอกที่ไฟแนนซ์แจ้ง แต่ค่างวดจริงอาจต่างเพราะภาษี ประกัน และผลอนุมัติ หน้านี้จึงบอกทุกครั้งว่าเป็นการคำนวณเบื้องต้น ควรเทียบกับใบเสนอจริงก่อนเปิดใช้
เอาไปหาเงินได้อย่างไร
เต็นท์รถใช้เองเพื่อได้ลูกค้าที่คิดเงินมาแล้ว คุยสั้นลง หรือรับทำหน้านี้ให้เต็นท์รถ ร้านมอเตอร์ไซค์ และร้านเครื่องใช้ไฟฟ้าผ่อน พร้อมค่าดูแลอัปเดตรายการรถรายเดือน
ต้องมีเว็บหรือเซิร์ฟเวอร์ไหม
ไม่ต้อง เป็นไฟล์ HTML ไฟล์เดียว เอาขึ้น Netlify Drop หรือ GitHub Pages ได้ฟรี ข้อความลูกค้าส่งผ่าน LINE โดยตรง ไม่มีข้อมูลเก็บไว้ที่ไหน
ใช้กับสินค้าอื่นได้ไหม
ได้ เปลี่ยนคำว่ารถเป็นสินค้าใน Prompt เช่น แอร์ โซลาร์เซลล์ เครื่องจักรการเกษตร แต่ต้องใช้อัตราดอกเบี้ยจริงของผู้ให้สินเชื่อที่ร้านใช้
ข้อควรระวังตัวเลขบนหน้านี้เป็นการคำนวณเบื้องต้น ห้ามใช้สัญญาว่าอนุมัติแน่นอน และต้องใส่ดอกเบี้ยแบบลดต้นลดดอกที่ไฟแนนซ์แจ้งจริง ถ้าใส่ดอกเบี้ยคงที่ค่างวดจะต่ำกว่าความจริง ลูกค้าจะรู้สึกถูกหลอก
