left arrowBack to Seo Hub
Seo Hub
- November 29, 2024

วิธีการเขียนหัวข้อที่เหมาะสมสำหรับ SEO

สารบัญ

  1. หัวข้อ SEO คืออะไร?

บทนำ

ลองนึกภาพสิ: คุณกำลังสแกนผลการค้นหาของ Google และสายตาคุณไปหยุดที่หัวข้อหนึ่งที่ดึงดูดความสนใจของคุณในทันที คุณไม่ใช่หุ่นยนต์และไม่ได้ดึงดูดใจแค่ข้อความธรรมดา คุณกำลังมองหาการเชื่อมต่อ—สัญญาที่จะนำเสนอเนื้อหาที่มีค่า หัวข้อที่เหมาะกับ SEO ไม่ใช่แค่ชื่อเรื่อง; แต่เป็นประตูสำคัญในการดึงดูดความสนใจของผู้ใช้และเพิ่มการมองเห็นเว็บไซต์ของคุณในเครื่องมือค้นหา แต่จะเขียนหัวข้ออย่างไรจึงจะดึงดูดความสนใจและยังขึ้นอันดับในเครื่องมือค้นหาได้ดี? ในคู่มือนี้ คุณจะค้นพบศิลปะและวิทยาศาสตร์เบื้องหลังการเขียนหัวข้อที่ไม่เพียงแต่เหมาะสมกับ SEO แต่ยังมีเสน่ห์เพียงพอที่จะดึงดูดการคลิกด้วย

ความสำคัญของหัวข้อที่เป็นมิตรกับ SEO ไม่สามารถพูดเกินจริงได้ พวกเขามีอิทธิพลอย่างมากต่อการเข้าชมทางอินทรีย์ของคุณและสามารถสร้างหรือทำลายความสำเร็จของกลยุทธ์การตลาดเนื้อหาของคุณได้ ในโพสต์นี้ เราจะสำรวจกลยุทธ์ เทคนิค และหลักการต่างๆ ที่จะช่วยให้คุณเชี่ยวชาญศิลปะการเขียนหัวข้อ โดยในตอนท้ายของบทความนี้คุณจะเข้าใจไม่เพียงแต่วิธีการสร้างหัวข้อที่เหมาะกับ SEO แต่ยังรวมถึงวิธีการนำมันไปใช้ในกลยุทธ์เนื้อหาที่กว้างขึ้นเพื่อให้เกิดผลกระทบสูงสุด

พร้อมที่จะเริ่มต้นกับหัวข้อ SEO ที่ผสมผสานความคิดสร้างสรรค์และการวิเคราะห์แล้วหรือยัง? มาลงมือกันเถอะ

essence of an SEO Headline

หัวข้อ SEO คืออะไร?

หัวข้อ SEO คือชื่อเรื่องที่แสดงในหน้าผลการค้นหา (SERPs) และมีความสำคัญในการกำหนดว่าผู้ใช้จะคลิกที่เนื้อหาของคุณหรือไม่ นี่คือการผสมผสานระหว่างศิลปะและการวิเคราะห์ เพื่อดึงดูดความสนใจและสื่อสารคุณค่าของเนื้อหาอย่างถูกต้อง โดยปกติแล้ว หัวข้อเหล่านี้จะมีความสัมพันธ์อย่างใกล้ชิดกับแท็ก

แต่มีศักยภาพที่จะถูกปรับให้เหมาะสมโดยเครื่องมือค้นหาเพื่อความเกี่ยวข้องและความชัดเจน.</p> <h3>ทำไมหัวข้อ SEO ถึงสำคัญ</h3> <p>หัวข้อ SEO มีหลายหน้าที่:</p> <ol> <li><p><strong>ปัจจัยในการจัดอันดับ SEO</strong>: Google พิจารณาแท็กชื่อเป็นปัจจัยในการจัดอันดับ ถึงแม้จะเป็นปัจจัยเล็กน้อย อย่างไรก็ตาม หัวข้อ SEO ที่เหมาะสมสามารถเพิ่มการมองเห็นของหน้าคุณในผลการค้นหา ซึ่งเพิ่มโอกาสในการดึงดูดการคลิก</p> </li> <li><p><strong>ปรับปรุงอัตราการคลิก (CTR)</strong>: หัวข้อมีอิทธิพลอย่างมากต่อ CTR ของคุณจาก SERPs การศึกษาแสดงให้เห็นว่าชื่อเรื่องที่จัดทำอย่างดีที่มีคำที่สร้างอารมณ์หรือบวกดึงดูดความสนใจและการคลิกได้มากขึ้น แม้ว่าองค์ประกอบอื่นจะยังคงไม่เปลี่ยนแปลง</p> </li> <li><p><strong>การมีส่วนร่วมของผู้ใช้</strong>: หัวข้อที่ดึงดูด ชัดเจน และเกี่ยวข้องจูงใจผู้ใช้ให้คลิกและมีส่วนร่วมกับเนื้อหาของคุณ ทำให้มีความสนใจและการโต้ตอบที่ลึกซึ้งกับแบรนด์ของคุณ</p> </li> </ol> <h2>การสร้างหัวข้อ: คู่มือทีละขั้นตอน</h2> <h3>ขั้นตอนที่ 1: การเพิ่มประสิทธิภาพคำสำคัญ</h3> <p>การวางคำสำคัญอย่างถูกต้องในหัวข้อของคุณเป็นสิ่งสำคัญเพื่อให้แน่ใจว่าเครื่องมือค้นหาและผู้เข้าใช้งานเข้าใจเนื้อหาหมายเฉพาะของคุณ เมื่อเป็นไปได้ ให้รวมคำสำคัญที่สำคัญของคุณไว้ที่จุดเริ่มต้นของชื่อเพื่อเพิ่มการมองเห็นให้สูงสุด</p> <h3>ขั้นตอนที่ 2: วิเคราะห์เจตนาการค้นหา</h3> <p>ใช้เครื่องมืออย่าง Semrush หรือ Google Keyword Planner เพื่อตรวจสอบเจตนาการค้นหาสำหรับคำสำคัญที่คุณต้องการ วิเคราะห์ว่า ผู้ค้นหามองหาข้อมูล การนำทาง ธุรกรรม หรือการเปรียบเทียบ สามารถมีอิทธิพลต่อวิธีการจัดทำหัวข้อของคุณให้ตรงกับความต้องการของผู้ใช้ได้อย่างสมบูรณ์</p> <h3>ขั้นตอนที่ 3: คำที่มีพลังและตัวกระตุ้นทางอารมณ์</h3> <p>การใช้คำที่ทรงพลังสามารถเปลี่ยนหัวข้อพื้นฐานให้กลายเป็นสิ่งที่มีเสน่ห์มากขึ้น โดยกระตุ้นอารมณ์หรือความอยากรู้อยากเห็น คำอย่าง "พิเศษ," "พิสูจน์แล้ว," หรือ "ที่สุด" สามารถเพิ่มเสน่ห์ของหัวข้อคุณโดยไม่ต้องใช้กลยุทธ์คลิกเบท</p> <h3>ขั้นตอนที่ 4: ความชัดเจนและความง่าย</h3> <p>ให้ความสำคัญกับความชัดเจนและความง่ายเหนือความฉลาด หัวข้อของคุณควรจะสื่อสารได้ชัดเจนว่าสิ่งที่ผู้อ่านสามารถคาดหวังได้จากเนื้อหา หลีกเลี่ยงการใช้สำนวนหรือวลีที่ซับซ้อนที่อาจทำให้ผู้อ่านที่มีศักยภาพสับสน.</p> <h3>ขั้นตอนที่ 5: การทดสอบและปรับแต่ง</h3> <p>หลังจากสร้างหัวข้อของคุณแล้ว ให้ใช้เครื่องมืออย่าง Advanced Marketing Institute Headline Analyzer เพื่อวัดค่าทางการตลาดทางอารมณ์ของมัน นอกจากนี้ให้พิจารณาการทำการทดลอง A/B โดยใช้แพลตฟอร์มที่ให้คุณวัดผลของความแปรปรวนในการทำงานเพื่อดูว่าหัวข้อไหนสร้างผลลัพธ์ที่ดีกว่า</p> <h3>ขั้นตอนที่ 6: การอัปเดตเป็นประจำ</h3> <p>หัวข้อไม่ถูกตั้งไว้แบบตายตัว ตรวจสอบและปรับเนื้อหาหัวข้อสำหรับเนื้อหาที่มีอยู่เป็นระยะเพื่อเพิ่มประสิทธิภาพและความเกี่ยวข้อง ใช้ข้อมูลจากการวิเคราะห์เพื่อนำไปขับเคลื่อนการอัปเดตเหล่านี้ เพื่อให้เนื้อหาของคุณยังคงแข่งขันได้ตลอดเวลา</p> <h2>ตัวอย่างในโลกแห่งความเป็นจริงและแนวทางปฏิบัติที่ดีที่สุด</h2> <h3>กรณีศึกษาของ HulkApps</h3> <p>FlyRank ใช้กลยุทธ์การเพิ่มประสิทธิภาพหัวข้อ SEO เพื่อช่วย HulkApps บรรลุการเพิ่มขึ้น 10 เท่าในทราฟฟิกทางอินทรีย์ โดยการวิเคราะห์เจตนาการค้นหาและสร้างหัวข้อที่น่าสนใจและมุ่งเน้นคำสำคัญ เราสามารถปรับปรุงการมองเห็นและ CTR ของพวกเขาได้อย่างมาก <a href="https://flyrank.com/blogs/case-studies/hulkapps">อ่านเพิ่มเติม</a>.</p> <h3>กรณีศึกษาของ Serenity</h3> <p>ในเรื่องราวความสำเร็จอีกเรื่อง FlyRank ได้ช่วย Serenity ในการสร้างหัวข้อ SEO ที่ปรับให้เข้ากับท้องถิ่นเพื่อดึงดูดตลาดเยอรมัน ส่งผลให้มีการแสดงผลและการคลิกหลายพันครั้งเพียงไม่นานหลังจากการเปิดตัว <a href="https://flyrank.com/blogs/case-studies/serenity">สำรวจเรื่องราวเต็ม</a>.</p> <h2>ข้อผิดพลาดทั่วไปที่ควรหลีกเลี่ยง</h2> <h3>การยัดคำสำคัญ</h3> <p>การใส่คำสำคัญมากเกินไปในหัวข้ออาจทำให้เกิดผลเสีย ทำให้ดูเหมือนสแปมที่ขัดขวางผู้ใช้และเครื่องมือค้นหา พยายามให้การไหลอย่างเป็นธรรมชาติและเน้นคำสำคัญหลักโดยไม่ทำให้มันเกิดซ้ำซ้อน</p> <h3>การคลิกเบทที่ทำให้เข้าใจผิด</h3> <p>ให้แน่ใจว่าหัวข้อของคุณสะท้อนเนื้อหาอย่างแม่นยำ หัวข้อที่ทำให้เข้าใจผิดอาจดึงดูดผู้เข้าชมชั่วคราว แต่จะส่งผลเสียต่อความน่าเชื่อถือของแบรนด์ของคุณและเพิ่มอัตราการกลับมา</p> <h3>การละเลยความสามารถในการอ่านบนมือถือ</h3> <p>เนื่องจากผู้ใช้งานจำนวนมากเรียกดูจากอุปกรณ์มือถือ การปรับปรุงความสามารถในการอ่านบนมือถือจึงเป็นสิ่งสำคัญ รักษาหัวข้อไม่ให้ยาวเกิน 50-60 อักษรเพื่อให้แน่ใจว่าสามารถมองเห็นได้อย่างครบถ้วนในหน้าจอที่เล็กกว่า</p> <h2>บทสรุป</h2> <p>การสร้างหัวข้อที่เหมาะสมกับ SEO เป็นสิ่งสำคัญของกลยุทธ์เนื้อหาที่แข็งแกร่ง ทุกธุรกิจโดยการจัดหัวข้อให้ตรงกับเจตนาการค้นหาของผู้ใช้ การรวมคำสำคัญที่เกี่ยวข้อง และการใช้คำที่ทรงพลังทางอารมณ์สามารถเพิ่ม CTR และปรับปรุงการปรากฏตัวออนไลน์โดยรวมได้ ที่ FlyRank เรามีเครื่องมือพลัง AI และแนวทางที่ใช้ข้อมูลช่วยให้คุณสามารถรวมหลักการเหล่านี้เข้ากับความพยายามทางการตลาดของคุณได้อย่างราบรื่น ทำให้เนื้อหาของคุณน่าสนใจและสามารถเปลี่ยนให้เกิดผลลัพธ์ได้</p> <h3>คำถามที่พบบ่อย</h3> <p><strong>1. หัวข้อที่ยาวสามารถมีประสิทธิภาพสำหรับ SEO ได้หรือไม่?</strong> หัวข้อที่ยาวสามารถมีประสิทธิภาพได้หากสามารถดึงคีย์เวิร์ดที่สำคัญและมอบความชัดเจน อย่างไรก็ตามเพื่อประโยชน์ในการทำ SEO มักดีที่สุดที่จะทำให้สั้นเพื่อหลีกเลี่ยงการตัดทอนในผลการค้นหา</p> <p><strong>2. ฉันควรอัปเดตหัวข้อ SEO ของฉันบ่อยแค่ไหน?</strong> ควรกลับไปตรวจสอบหัวข้อเป็นประจำ โดยเฉพาะอย่างยิ่งหากคุณปรับปรุงเนื้อหาหรือสังเกตว่าประสิทธิภาพลดลง การทดสอบอย่างสม่ำเสมอสามารถช่วยรักษาการมีส่วนร่วมและความเกี่ยวข้อง</p> <p><strong>3. ตัวเลขสำคัญในหัวข้อหรือไม่?</strong> ใช่ ตัวเลขสามารถเพิ่มความน่าสนใจของหัวข้อได้อย่างมาก โดยเฉพาะอย่างยิ่งในรายการหรือตัวช่วย คำมั่นสัญญาที่สามารถคำนวณได้ที่ดึงดูดความสนใจ</p> <p>คุณต้องการให้ FlyRank ช่วยปรับแต่งหัวข้อ SEO ของคุณให้สมบูรณ์แบบหรือไม่? ค้นหาบริการของเราและมาร่วมกันเริ่มต้นในการเพิ่มขยายขอบเขตและประสิทธิภาพของเนื้อหาของคุณ <a href="https://flyrank.com/pages/content-engine">ที่นี่</a>.</p> </div> <div class="lg:w-1/3 text-gray mt-16 sticky top-[112px] lg:h-screen"> <div class="bg-white text-center p-5 rounded-lg mb-8"> <img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/envelope-icon.svg?v=1732181353" alt="Envelope Icon" class="mx-auto" > <div class="text-dark font-extrabold mb-5 uppercase text-xl">Enjoy content like this?</div> <div class="text-dark text-xl mb-3">Join our newsletter and 20,000 enthusiasts</div> <div class="sidebar-newsletter opacity-0 transition-opacity duration-500 h-[129px]"> <div id="shopify-block-AM2RPMG1tc3VDS1NGU__forms_inline_9wMQFJ" class="shopify-block shopify-app-block"><div id='AM2RPMG1tc3VDS1NGU__forms_inline_9wMQFJ' data-form-root='true' data-forms-id='forms-root-254557' data-forms-text-color='#0f1217' data-forms-button-background-color='#0f1217' data-forms-button-label-color='#ffffff' data-forms-links-color='#1878b9' data-forms-errors-color='#e02229' data-forms-text-alignment='center' data-forms-alignment='center' data-forms-padding-top='5' data-forms-padding-right='0' data-forms-padding-bottom='0' data-forms-padding-left='0' ></div> <script> window['ShopifyForms'] = { ...window['ShopifyForms'], currentPageType: "article" }; </script> </div> </div> </div> <div class="bg-dark-800 text-center p-5 rounded-lg"> <img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/download-icon.svg?v=1732109891" alt="Download Icon" class="mx-auto mb-3" > <div class="text-xl mb-8"> <span class="font-bold">DOWNLOAD FREE</span><br> BACKLINK DIRECTORY </div> <a href="/cart/41940050214979:1?checkout&attributes[first_visit]=%2Fth%2Fblogs%2Fseo-hub%2Fhow-to-write-headlines-that-are-optimized-for-seo" class="btn btn-green w-full" > Download </a> </div> </div> </div> </div> </div> </section><div id="shopify-section-template--16734054088771__demo_promo_K9myJY" class="shopify-section demo"><div class=" px-6 md:px-8 py-12 lg:py-32 bg-green"> <div class="container text-dark text-center"> <div class="w-full md:w-8/12 mx-auto"> <h2 class="mb-8 text-4xl sm:text-5xl">ปล่อยให้เรายกระดับแบรนด์ของคุณไปสู่จุดสูงใหม่</h2> <div class="mb-5"><p>หากคุณพร้อมที่จะก้าวข้ามเสียงรบกวนและสร้างผลกระทบที่ยั่งยืนบนโลกออนไลน์ มันเป็นเวลาที่เหมาะสมที่จะร่วมมือกับ FlyRank ติดต่อเราวันนี้ และมาเริ่มต้นนำแบรนด์ของคุณสู่เส้นทางสู่การครอบงำดิจิทัล</p></div> <div class="flex flex-col"> <div> <a class="btn btn-dark text-gray mt-8" href="/th/pages/%E0%B8%95%E0%B8%B4%E0%B8%94%E0%B8%95%E0%B9%88%E0%B8%AD"> ขอการสาธิต </a> </div> </div> </div> </div> </div> </div> </main> <footer id="shopify-section-footer" class="shopify-section footer"><div class="footer-container px-6 md:px-8 py-16 md:py-24 overflow-hidden relative"> <img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/footer-background.png?v=1730813000" alt="Image Background" class="object-contain absolute w-full z-0 bottom-0 2xl:bottom-auto 2xl:top-1/3" > <div class="container flex flex-col-reverse md:flex-row z-10 relative flex-wrap"> <div class="w-full md:w-1/2 text-gray mt-16 md:mt-0"> <div> <img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/flyrank-logo-large.svg?v=1730983842" alt="logo" > </div> <div class="w-full md:w-2/3 my-12"><p>หากคุณพร้อมที่จะก้าวผ่านเสียงรบกวนและสร้างผลกระทบที่ยั่งยืนทางออนไลน์ ก็ถึงเวลาที่จะร่วมมือกับ FlyRank.</p></div> <div class="flex"> <a href="https://x.com/flyrank_ai" target="_blank" class="bg-green w-[50px] h-[50px] inline-block flex justify-center items-center mr-3 rounded-full hover:opacity-[0.8] transition-all" ><img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/icon-twitter.svg?v=1729166778" alt="twitter" ></a> <a href="https://www.facebook.com/people/FlyRank/61566930002846/" target="_blank" class="bg-green w-[50px] h-[50px] inline-block flex justify-center items-center mr-3 rounded-full hover:opacity-[0.8] transition-all" ><img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/icon-facebook.svg?v=1729166777" alt="facebook" ></a> <a href="https://www.instagram.com/flyrank.ai/" target="_blank" class="bg-green w-[50px] h-[50px] inline-block flex justify-center items-center mr-3 rounded-full hover:opacity-[0.8] transition-all" ><img src="https://cdn.shopify.com/s/files/1/0609/8023/2259/files/icon-instagram.svg?v=1729166777" alt="instagram" ></a> </div> </div> <div class="w-full md:w-1/2 grid gap-4 grid-cols-2 sm:grid-cols-3"> <div class=""> <div class="text-dark-100 mb-5 sm:mb-12 uppercase font-medium">บริษัท</div> <ul> <li class="mb-3"> <a href="/th/pages/%E0%B9%80%E0%B8%81%E0%B8%B5%E0%B9%88%E0%B8%A2%E0%B8%A7%E0%B8%81%E0%B8%B1%E0%B8%9A" class="text-gray-50 capitalize"> เกี่ยวกับเรา </a> </li> <li class="mb-3"> <a href="/th/pages/%E0%B9%81%E0%B8%99%E0%B8%A7%E0%B8%97%E0%B8%B2%E0%B8%87%E0%B8%82%E0%B8%AD%E0%B8%87%E0%B9%80%E0%B8%A3%E0%B8%B2" class="text-gray-50 capitalize"> วิธีการของเรา </a> </li> <li class="mb-3"> <a href="/th/pages/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B9%81%E0%B8%99%E0%B8%B0%E0%B8%99%E0%B8%B3" class="text-gray-50 capitalize"> การแนะนำ </a> </li> <li class="mb-3"> <a href="https://www.flyrank.com/pages/contact?utm_source=website&utm_medium=footer" class="text-gray-50 capitalize"> ติดต่อเรา </a> </li> </ul> </div> <div class=""> <div class="text-dark-100 mb-5 sm:mb-12 uppercase font-medium">สำรวจ</div> <ul> <li class="mb-3"> <a href="/th/pages/%E0%B9%80%E0%B8%99%E0%B8%B7%E0%B9%89%E0%B8%AD%E0%B8%AB%E0%B8%B2" class="text-gray-50 capitalize"> บทความ </a> </li> <li class="mb-3"> <a href="/th/blogs/%E0%B8%81%E0%B8%A3%E0%B8%93%E0%B8%B5%E0%B8%A8%E0%B8%B6%E0%B8%81%E0%B8%A9%E0%B8%B2" class="text-gray-50 capitalize"> การศึกษาเคส </a> </li> <li class="mb-3"> <a href="/th/pages/%E0%B8%81%E0%B8%B2%E0%B8%A3%E0%B8%81%E0%B8%B3%E0%B8%AB%E0%B8%99%E0%B8%94%E0%B8%A3%E0%B8%B2%E0%B8%84%E0%B8%B2" class="text-gray-50 capitalize"> ราคาค่าบริการ </a> </li> <li class="mb-3"> <a href="/th/pages/%E0%B8%84%E0%B8%B3%E0%B8%96%E0%B8%B2%E0%B8%A1%E0%B8%97%E0%B8%B5%E0%B9%88%E0%B8%9E%E0%B8%9A%E0%B8%9A%E0%B9%88%E0%B8%AD%E0%B8%A2" class="text-gray-50 capitalize"> คำถามที่พบบ่อย </a> </li> </ul> </div> <div class="mt-5 sm:mt-0"> <div class="text-dark-100 mb-5 sm:mb-12 uppercase font-medium">ทางกฎหมาย</div> <ul> <li class="mb-3"> <a href="/th/policies/terms-of-service" class="text-gray-50 capitalize"> เงื่อนไขการให้บริการ </a> </li> <li class="mb-3"> <a href="/th/policies/privacy-policy" class="text-gray-50 capitalize"> นโยบายความเป็นส่วนตัว </a> </li> <li class="mb-3"> <a href="/th/policies/refund-policy" class="text-gray-50 capitalize"> การรับประกันคืนเงิน </a> </li> <li class="mb-3"> <a href="https://calendly.com/flyrank/30min?utm_source=website&utm_medium=footer" class="text-gray-50 capitalize"> ขอเดโม </a> </li> </ul> </div> </div> </div> <div class="container"> <div class="text-gray w-full mt-24 text-sm">© 2025 FlyRank - All Rights Reserved</div> </div> </div> </footer> <div class="minicart-wrapper" x-data x-show="$store.global.isMinicartVisible" x-on:click.outside="$store.global.isMinicartVisible = false" x-transition:enter="transition ease-out duration-300" x-transition:enter-start="off-screen-right" x-transition:enter-end="right-50" x-transition:leave="transition ease-in duration-300" x-transition:leave-start="right-50" x-transition:leave-end="off-screen-right" x-cloak :aria-hidden="$store.global.isMinicartVisible ? 'false' : 'true'" aria-modal="true" role="dialog" > <div id="shopify-section-minicart" class="shopify-section"><div class="minicart" data-ajax-cart-section x-cloak> <div class="title-row"> <h2 id="minicart-label" class="text-cloud-burst-500"> Cart </h2> <button @click="$store.global.isMinicartVisible = false"> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor"> <path d="M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"/> </svg> </button> </div> <div class="item-count-message"> You have <span class="count" style="font-weight: 600" x-data>0 </span> <span x-data></span> in your cart! </div> <hr/> <ul class="items-list" data-ajax-cart-section-scroll> </ul> <hr/> <div class="subtotal"> <p class="title">Subtotal </p> <p class="amount">$0.00 </p> </div> <a class="view-cart-details-link" href="/th/cart"> View Cart Details </a> </div> <style> /* Animation classes */ .transition { transition-property: all; } .duration-300 { transition-duration: 300ms; } .ease-out { transition-timing-function: ease-out; } .ease-in { transition-timing-function: ease-in; } .off-screen-right { right: -100px; transform: translateX(120%); } .right-50 { right: 50px; transform: translateX(0%); } @media(max-width: 576px) { .right-50 { right: 20px; transform: translateX(0%); } } /* Main styles */ .minicart-wrapper { position: fixed; top: 50px; right: 50px; z-index: 100; } @media(max-width: 576px) { .minicart-wrapper { right: 20px; } } .minicart { width: 288px; height: auto; padding: 20px; background: #fff; border-radius: 6px; box-shadow: 0 30px 130px -8px rgba(0, 0, 0, 0.25); } .minicart .view-cart-details-link { display: flex; justify-content: center; align-items: center; margin-top: 20px; width: 100%; height: 43px; font-weight: 600; background: white; border: 2px solid black; outline: none; text-decoration: none; } .minicart .view-cart-details-link:hover { cursor: pointer; color: white; background: black; } .minicart hr { margin-bottom: 20px; } .minicart .title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .minicart .title-row h2 { margin: 0; } .minicart .title-row button { border: none; background: transparent; cursor: pointer; } .minicart .title-row button svg { display: block; height: 16px; } .minicart .items-list { list-style: none; padding-left: 0; max-height: 300px; overflow: auto; } .minicart .item-count-message { margin-bottom: 10px; font-size: 0.8em; } .minicart .item-count-message .minicart--item-count { font-weight: 600; } .minicart .item { display: flex; margin-bottom: 10px; width: 100%; } .minicart .item .product-thumb-wrapper { width: 100px; height: 120px; position: relative; flex: 0 0 100px; } .minicart .item .product-thumb-wrapper img { position: absolute; top: 0; right: 0; left: 0; bottom: 0; height: 100%; width: 100%; object-fit: cover; object-position: center; } .minicart .item .item-details { margin-left: 10px; display: flex; flex-direction: column; justify-content: flex-start; } .minicart .item .item-details p { margin: 0; } .minicart .item .item-details .option-label { font-weight: 600; } .minicart .item .item-details .title { font-size: 0.9em; font-weight: 600; margin-top: 0; margin-bottom: 6px; } .minicart .item .item-details .options { margin-bottom: 2px 0; } .minicart .item .item-details .option { margin: 0 0 2px; font-size: 0.8rem; } .minicart .item .item-details .quantity-row { margin: 2px 0; } .minicart .item .item-details .quantity-row span { margin: 0 0 2px; font-size: 0.8rem; } .minicart .item .item-details .option:last-of-type { margin-bottom: 0; } .minicart .item .item-details .price { margin-top: auto; } .minicart .item .item-details .remove { font-size: 0.6em; margin-top: auto; } .minicart .subtotal { margin: 20px 0; display: flex; align-items: center; justify-content: space-between; } .minicart .subtotal .title { height: 16px; margin: 0; } .minicart .subtotal .amount { font-weight: 600; font-size: 1.2em; margin: 0; } .minicart a { color: black; text-decoration: none; } .minicart a:hover { text-decoration: underline; } </style></div> </div> <div id="shopify-section-predictive-search-main" class="shopify-section site-header w-full shadow-md p-shell fixed top-0 z-30 bg-white"> <script src="//www.flyrank.com/cdn/shop/t/33/assets/predictive-search.js?v=82854867885586265471738944035" defer="defer"></script> <predictive-search x-data x-cloak id="predictive-search" x-show="$store.global.isPredictiveSearchVisible" x-trap.inert="$store.global.isPredictiveSearchVisible" x-transition.opacity aria-modal="true" @keyup.escape="$store.global.isPredictiveSearchVisible = false" > <div id="predictive-search-form-wrapper" class="w-full bg-white fixed inset-x-0 top-0 z-40 pt-8 pb-14 shadow-md" > <h2 class="text-base !font-normal max-w-max mx-auto font-palatino mb-3"> เราสามารถช่วยคุณค้นหาอะไรได้บ้าง? </h2> <form action="/th/search" method="get" role="search" class="w-full max-w-[422px] mx-auto" @click.outside="$store.global.isPredictiveSearchVisible = false" > <div class="flex gap-x-3 w-full relative"> <input id="predictive-search-input" class="slayed-input w-full" type="search" name="q" value="" role="combobox" aria-expanded="false" aria-owns="predictive-search-results" aria-controls="predictive-search-results" aria-haspopup="listbox" aria-autocomplete="list" > <label for="predictive-search-input" class="sr-only"> Search </label> <button for="predictive-search-input" class="pill-button" > Search </button> <button type="button" class="absolute -right-[15px] top-1/2 -translate-y-1/2 translate-x-full" @click="$store.global.isPredictiveSearchVisible = false" > <span class="sr-only">Close</span> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="currentColor"> <path d="M24 20.188l-8.315-8.209 8.2-8.282-3.697-3.697-8.212 8.318-8.31-8.203-3.666 3.666 8.321 8.24-8.206 8.313 3.666 3.666 8.237-8.318 8.285 8.203z"/> </svg> </button> </div> <input name="options[prefix]" type="hidden" value="last"> <div id="predictive-search-target" tabindex="-1"></div> </form> </div> </predictive-search> </div> <div id="shopify-section-modal" class="shopify-section section-modal"> <dialog id="dialog-modal-example" x-data="modal" x-init="init($el)" class="max-w-md rounded-md" @click="close($event)" > <form action="" class="p-12"> <div class="prose"> <h1>ชื่อโมดัล</h1> <p>Modal Description. Lorem ipsum dolor sit amet consectetur adipisicing elit. Itaque totam cum cupiditate officia et quaerat blanditiis culpa? Hic, nesciunt id.</p> <button type="button" @click="open = false" class="btn rounded-none"> Close </button> </div> </form> </dialog> <script> document.addEventListener('alpine:init', () => { Alpine.data('modal', () => ({ componentElement: document.querySelector('#dialog-modal-example'), open: false, init(dialog) { if (!dialog) { return } Alpine.effect(() => { if (this.open) { dialog.showModal() document.querySelectorAll('body > *:not(#shopify-section-modal)').forEach((element) => { element.setAttribute('aria-hidden', 'true') element.setAttribute('inert', '') }) document.querySelector('body').classList.add('overflow-hidden') } else { dialog.close() document.querySelectorAll('body > *:not(#shopify-section-modal)').forEach((element) => { element.removeAttribute('aria-hidden') element.removeAttribute('inert') }) document.querySelector('body').classList.remove('overflow-hidden') } }) document.addEventListener('show-modal', () => { this.open = true }) document.addEventListener('close-modal', () => { this.open = false }) }, toggle() { this.open = !this.open }, close(event) { if (event.target === this.componentElement) { if (this.open) { this.open = false } } } })) }) </script> <style> #dialog-modal-example::backdrop { background-color: rgba(0, 0, 0, 0.5); } </style></div> <script type="application/json" data-ajax-cart-initial-state> {"note":null,"attributes":{},"original_total_price":0,"total_price":0,"total_discount":0,"total_weight":0.0,"item_count":0,"items":[],"requires_shipping":false,"currency":"USD","items_subtotal_price":0,"cart_level_discount_applications":[],"checkout_charge_amount":0} </script> <div id="shopify-block-Aajk0TllTV2lJZTdoT__15683396631634586217" class="shopify-block shopify-app-block"><script id="chat-button-container" data-horizontal-position=bottom_right data-vertical-position=lowest data-icon=chat_bubble data-text=no_text data-color=#89608e data-secondary-color=#ffffff data-ternary-color=#6a6a6a data-domain=www.flyrank.com data-shop-domain=www.flyrank.com data-external-identifier=5QqDPyGbw2L4LPYPH2LFgD67SjacIZkJCvvcz866Sws > </script> </div><div id="shopify-block-AZFd6aGFnS21FS1hVa__13768625480086291342" class="shopify-block shopify-app-block"><script> window['ShopifyForms'] = { ...window['ShopifyForms'], currentPageType: "article" }; </script> </div></body> </html>