<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>รวมวิธีการใช้ Wordpress, Joomla, Drupal, Magento และ SEO &#187; featured products</title> <atom:link href="http://killthewhat.com/tag/featured-products/feed/" rel="self" type="application/rss+xml" /><link>http://killthewhat.com</link> <description>Knowledge Base by howhost.com</description> <lastBuildDate>Fri, 24 Dec 2010 15:00:17 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.3</generator> <item><title>โชว์สินค้าแบบเป็นสไลด์รูปใน prestashop</title><link>http://killthewhat.com/prestashop-tutorials/%e0%b9%82%e0%b8%8a%e0%b8%a7%e0%b9%8c%e0%b8%aa%e0%b8%b4%e0%b8%99%e0%b8%84%e0%b9%89%e0%b8%b2%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%80%e0%b8%9b%e0%b9%87%e0%b8%99%e0%b8%aa%e0%b9%84%e0%b8%a5%e0%b8%94%e0%b9%8c/</link> <comments>http://killthewhat.com/prestashop-tutorials/%e0%b9%82%e0%b8%8a%e0%b8%a7%e0%b9%8c%e0%b8%aa%e0%b8%b4%e0%b8%99%e0%b8%84%e0%b9%89%e0%b8%b2%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%80%e0%b8%9b%e0%b9%87%e0%b8%99%e0%b8%aa%e0%b9%84%e0%b8%a5%e0%b8%94%e0%b9%8c/#comments</comments> <pubDate>Mon, 02 Nov 2009 19:06:05 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[PrestaShop]]></category> <category><![CDATA[featured products]]></category> <category><![CDATA[module]]></category> <category><![CDATA[product]]></category> <category><![CDATA[slide]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=5061</guid> <description><![CDATA[วันนี้จะมานำเสนอ module ที่จะช่วยให้เราโชว์สินค้าที่หน้าแรกของ prestashop ให้มีลูกเล่นเพิ่มเติม คือจากปกติในส่วนของ featured product จะโชว์สินค้าออกมาเลยโดดๆ แต่ module ตัวนี้จะช่วยให้ featured product ของเราแสดงผลออกมาเป็นแบบ slide (ตัวอย่าง) ทำให้เว็บเราดูน่าสนใจมากยิ่งขึ้น แทบประหยัดเนื้อที่ของเว็บเราด้วยถ้าต้องการโชว์สินค้ามากๆ ให้ดาวโหลด module Home featured and new products SlideShow มาทำการติดตั้ง แล้วไปที่หน้า backend ของ prestashop ไปที่เมนู module และเลื่อนลงมาที่ Slide featured products เพื่อเปิดใช้งาน เราสามารถตั้งค่าจำนวนสินค้าที่ต้องการให้โชว์ใน slide ได้ via : http://www.prestashop.com/forums/viewthread/16134]]></description> <content:encoded><![CDATA[<p>วันนี้จะมานำเสนอ module ที่จะช่วยให้เราโชว์สินค้าที่หน้าแรกของ prestashop ให้มีลูกเล่นเพิ่มเติม คือจากปกติในส่วนของ featured product จะโชว์สินค้าออกมาเลยโดดๆ แต่ module ตัวนี้จะช่วยให้ featured product ของเราแสดงผลออกมาเป็นแบบ slide<span
id="more-5061"></span> (<a
href="http://css-tricks.com/examples/StartStopSlider/">ตัวอย่าง</a>) ทำให้เว็บเราดูน่าสนใจมากยิ่งขึ้น แทบประหยัดเนื้อที่ของเว็บเราด้วยถ้าต้องการโชว์สินค้ามากๆ</p><p>ให้ดาวโหลด <strong><a
href=" http://www.prestashop.com/forums/viewthread/16134">module Home featured and new products SlideShow</a></strong> มาทำการติดตั้ง แล้วไปที่หน้า backend ของ prestashop ไปที่เมนู module และเลื่อนลงมาที่ Slide featured products เพื่อเปิดใช้งาน<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/11/screenshot_0012.png" alt="screenshot_001" title="screenshot_001" width="602" height="170" class="aligncenter size-full wp-image-5062" /></p><p>เราสามารถตั้งค่าจำนวนสินค้าที่ต้องการให้โชว์ใน slide ได้<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/11/screenshot_002.png" alt="screenshot_002" title="screenshot_002" width="588" height="187" class="aligncenter size-full wp-image-5063" /></p><p>via : http://www.prestashop.com/forums/viewthread/16134</p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/prestashop-tutorials/%e0%b9%82%e0%b8%8a%e0%b8%a7%e0%b9%8c%e0%b8%aa%e0%b8%b4%e0%b8%99%e0%b8%84%e0%b9%89%e0%b8%b2%e0%b9%81%e0%b8%9a%e0%b8%9a%e0%b9%80%e0%b8%9b%e0%b9%87%e0%b8%99%e0%b8%aa%e0%b9%84%e0%b8%a5%e0%b8%94%e0%b9%8c/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>ขยายชื่อสินค้าให้กับ featured products ใน prestashop</title><link>http://killthewhat.com/prestashop-tutorials/%e0%b8%82%e0%b8%a2%e0%b8%b2%e0%b8%a2%e0%b8%8a%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%aa%e0%b8%b4%e0%b8%99%e0%b8%84%e0%b9%89%e0%b8%b2%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%9a-featured-products/</link> <comments>http://killthewhat.com/prestashop-tutorials/%e0%b8%82%e0%b8%a2%e0%b8%b2%e0%b8%a2%e0%b8%8a%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%aa%e0%b8%b4%e0%b8%99%e0%b8%84%e0%b9%89%e0%b8%b2%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%9a-featured-products/#comments</comments> <pubDate>Sat, 24 Oct 2009 19:24:08 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[PrestaShop]]></category> <category><![CDATA[featured products]]></category> <category><![CDATA[จำนวนอักษร]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=5001</guid> <description><![CDATA[prestashop นั้นมี module สำหรับทำ featured products หรือรายการสินค้าที่น่าสนใจมาให้พร้อมใช้งานเลยครับ ซึ่งถือว่าสะดวกมากสำหรับวิธีนำสินค้ามาโชว์ในหน้าแรก แต่ปัญหาที่เกิดขึ้นก็คือชื่อสินค้าที่โชว์ออกมาถ้ายาวมากหรือเป็น ภาษาไทย ก็จะแสดงออกมาไม่ครบ ดังรูปด้านบนเราจะเห็นว่า ชื่อสินค้าที่ยาวมากจะแสดงออกมาไม่หมดและจะตามด้วย &#8230; ซึ่งมีคนถามมาใน killthewhat ของเราเกี่ยวกับปัญหานี้คือเขาอยากให้แสดงออกมาเต็มเลย ผมก็เลยไปลองดู code ใน module home featured products และก็ค้นพบคำตอบของปัญหานี้ครับ ให้เราไปแก้ไขไฟล์ modules/homefeatured/homefeatured.tpl ครับ โดยหาคำว่า &#38;lt;h5&#38;gt;&#38;lt;a href=&#38;quot;{$product.link}&#38;quot; title=&#38;quot;{$product.name&#124;truncate:32:'...'&#124;escape:'htmlall':'UTF-8'}&#38;quot;&#38;gt;{$product.name&#124;truncate:27:'...'&#124;escape:'htmlall':'UTF-8'}&#38;lt;/a&#38;gt;&#38;lt;/h5&#38;gt; ให้สังเกตที่คำสั่ง truncate:27 ในส่วนนี้ละครับเป็นตัวกำหนดจำนวนตัวอักษรที่จะแสดงผลออกมาให้เราใส่ตัวเลขตามต้องการ โดยถ้าชื่อสินค้าใครเป็นภาษาไทยควรกำหนดให้เยอะๆครับถ้าจะให้โชว์หมด ตัวอย่าง &#38;lt;h5&#38;gt;&#38;lt;a href=&#38;quot;{$product.link}&#38;quot; title=&#38;quot;{$product.name&#124;truncate:32:'...'&#124;escape:'htmlall':'UTF-8'}&#38;quot;&#38;gt;{$product.name&#124;truncate:300:'...'&#124;escape:'htmlall':'UTF-8'}&#38;lt;/a&#38;gt;&#38;lt;/h5&#38;gt; เพียงเท่านี้ชื่อสินค้าเราก็แสดงออกมาจนครบแล้ว อย่าสนใจชื่อสินค้านะครับผมทำมาเพื่อทดสอบเฉยๆ ^ ^]]></description> <content:encoded><![CDATA[<p>prestashop นั้นมี module สำหรับทำ featured products หรือรายการสินค้าที่น่าสนใจมาให้พร้อมใช้งานเลยครับ ซึ่งถือว่าสะดวกมากสำหรับวิธีนำสินค้ามาโชว์ในหน้าแรก แต่ปัญหาที่เกิดขึ้นก็คือชื่อสินค้าที่โชว์ออกมา<strong><span
id="more-5001"></span>ถ้ายาวมากหรือเป็น ภาษาไทย</strong> ก็จะแสดงออกมาไม่ครบ</p><p><img
src="http://killthewhat.com/wp-content/uploads/2009/10/screenshot_002.png" alt="featured-product" title="featured-product" width="554" height="501" class="aligncenter size-full wp-image-5002" /><br
/> ดังรูปด้านบนเราจะเห็นว่า ชื่อสินค้าที่ยาวมากจะแสดงออกมาไม่หมดและจะตามด้วย &#8230; ซึ่งมีคนถามมาใน killthewhat ของเราเกี่ยวกับปัญหานี้คือเขาอยากให้แสดงออกมาเต็มเลย ผมก็เลยไปลองดู code ใน module home featured products และก็ค้นพบคำตอบของปัญหานี้ครับ</p><p>ให้เราไปแก้ไขไฟล์ modules/homefeatured/homefeatured.tpl ครับ โดยหาคำว่า</p><pre class="brush: php; title: ;">
&amp;lt;h5&amp;gt;&amp;lt;a href=&amp;quot;{$product.link}&amp;quot; title=&amp;quot;{$product.name|truncate:32:'...'|escape:'htmlall':'UTF-8'}&amp;quot;&amp;gt;{$product.name|truncate:27:'...'|escape:'htmlall':'UTF-8'}&amp;lt;/a&amp;gt;&amp;lt;/h5&amp;gt;
</pre><p>ให้สังเกตที่คำสั่ง truncate:27 ในส่วนนี้ละครับเป็นตัวกำหนดจำนวนตัวอักษรที่จะแสดงผลออกมาให้เราใส่ตัวเลขตามต้องการ โดยถ้าชื่อสินค้าใครเป็นภาษาไทยควรกำหนดให้เยอะๆครับถ้าจะให้โชว์หมด</p><p>ตัวอย่าง</p><pre class="brush: php; title: ;">
&amp;lt;h5&amp;gt;&amp;lt;a href=&amp;quot;{$product.link}&amp;quot; title=&amp;quot;{$product.name|truncate:32:'...'|escape:'htmlall':'UTF-8'}&amp;quot;&amp;gt;{$product.name|truncate:300:'...'|escape:'htmlall':'UTF-8'}&amp;lt;/a&amp;gt;&amp;lt;/h5&amp;gt;
</pre><p>เพียงเท่านี้ชื่อสินค้าเราก็แสดงออกมาจนครบแล้ว อย่าสนใจชื่อสินค้านะครับผมทำมาเพื่อทดสอบเฉยๆ ^ ^<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/10/screenshot_004.png" alt="featured-product" title="featured-product" width="557" height="496" class="aligncenter size-full wp-image-5003" /></p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/prestashop-tutorials/%e0%b8%82%e0%b8%a2%e0%b8%b2%e0%b8%a2%e0%b8%8a%e0%b8%b7%e0%b9%88%e0%b8%ad%e0%b8%aa%e0%b8%b4%e0%b8%99%e0%b8%84%e0%b9%89%e0%b8%b2%e0%b9%83%e0%b8%ab%e0%b9%89%e0%b8%81%e0%b8%b1%e0%b8%9a-featured-products/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>การทำ featured products ใน prestashop</title><link>http://killthewhat.com/prestashop-tutorials/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-featured-products-%e0%b9%83%e0%b8%99-prestashop/</link> <comments>http://killthewhat.com/prestashop-tutorials/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-featured-products-%e0%b9%83%e0%b8%99-prestashop/#comments</comments> <pubDate>Mon, 28 Sep 2009 16:48:36 +0000</pubDate> <dc:creator>snappy</dc:creator> <category><![CDATA[PrestaShop]]></category> <category><![CDATA[featured products]]></category> <category><![CDATA[สินค้าที่น่าสนใจ]]></category><guid
isPermaLink="false">http://killthewhat.com/?p=4611</guid> <description><![CDATA[featured products (สินค้าที่น่าสนใจ) คือการแสดงโชว์สินค้าภายที่หน้าสนใจในร้าน prestashop ของเราออกมาที่หน้าเว็บไซต์ เพื่อให้ลูกค้าที่เข้ามาเห็นก่อนและเป้นตัวเลือกที่ดีในการจะซื้อสินค้ากับเรา หรือเราจะเอาสินค้าที่มีคนสนใจเป็นพิเศษมาโปรโมททางหน้าเว็บเลยก็ได้ วิธีการเพิ่ม featured products ใน prestashop ให้เราไปที่หน้า admin ของ perestashop จากนั้นไปที่ตัวสินค้าที่เราต้องการทำให้อยู่ใน featured products เพื่อทำการแก้ไขสินค้าตัวนั้น ดังรูปผมเข้ามาทำการแก้ไขสินค้า DDR3(1333) 1GB &#8220;Kingston&#8221; ของผม จากนั้นเลื่อนลงมาดูที่ หมวดหมู่สินค้า หรือ Catalog ให้เราทำการติ้กช่อง HOME เพิ่มดังรูป เพื่อให้สินค้าตัวนี้ขึ้นไปยัง featured products (สินค้าที่น่าสนใจ) ในหน้าแรก เพียงเท่านี้สินค้าตัวนี้ของผมก็จะถูกโชว์ในช่อง featured products (สินค้าที่น่าสนใจ) หน้าแรกแล้ว ในค่าพื้นฐานของ featured products (สินค้าที่น่าสนใจ) ใน prestashop นั้นการโชว์สินค้าที่ออกมาแสดงจะอยู่ที่ 10 ตัวถ้าเราต้องการเปลี่ยนแปลงให้ไปที่หน้า admin แล้วไปที่เมนู Modules [...]]]></description> <content:encoded><![CDATA[<p><strong>featured products (สินค้าที่น่าสนใจ)</strong> คือการแสดงโชว์สินค้าภายที่หน้าสนใจในร้าน <strong>prestashop</strong> ของเราออกมาที่หน้าเว็บไซต์ เพื่อให้ลูกค้าที่เข้ามาเห็นก่อนและเป้นตัวเลือกที่ดีในการจะซื้อสินค้ากับเรา<span
id="more-4611"></span> หรือเราจะเอาสินค้าที่มีคนสนใจเป็นพิเศษมาโปรโมททางหน้าเว็บเลยก็ได้</p><p>วิธีการเพิ่ม featured products ใน prestashop ให้เราไปที่หน้า admin ของ perestashop จากนั้นไปที่ตัวสินค้าที่เราต้องการทำให้อยู่ใน featured products เพื่อทำการแก้ไขสินค้าตัวนั้น ดังรูปผมเข้ามาทำการแก้ไขสินค้า DDR3(1333) 1GB &#8220;Kingston&#8221; ของผม<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/09/prestashop27.png" alt="prestashop" title="prestashop" width="630" height="385" class="aligncenter size-full wp-image-4612" /></p><p>จากนั้นเลื่อนลงมาดูที่ หมวดหมู่สินค้า หรือ Catalog ให้เราทำการติ้กช่อง <strong>HOME</strong> เพิ่มดังรูป เพื่อให้สินค้าตัวนี้ขึ้นไปยัง featured products (สินค้าที่น่าสนใจ) ในหน้าแรก<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/09/prestashop28.png" alt="prestashop" title="prestashop" width="630" height="205" class="aligncenter size-full wp-image-4613" /></p><p>เพียงเท่านี้สินค้าตัวนี้ของผมก็จะถูกโชว์ในช่อง featured products (สินค้าที่น่าสนใจ) หน้าแรกแล้ว<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/09/prestashop29.png" alt="prestashop" title="prestashop" width="630" height="313" class="aligncenter size-full wp-image-4616" /></p><p>ในค่าพื้นฐานของ featured products (สินค้าที่น่าสนใจ) ใน prestashop นั้นการโชว์สินค้าที่ออกมาแสดงจะอยู่ที่ 10 ตัวถ้าเราต้องการเปลี่ยนแปลงให้ไปที่หน้า admin แล้วไปที่เมนู Modules >> Featured Products on the homepage module แล้วคลิกที่ ตั้งค่า<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/09/prestashop30.png" alt="prestashop" title="prestashop" width="630" height="401" class="aligncenter size-full wp-image-4617" /></p><p>กำหนดค่าตามต้องการ<br
/> <img
src="http://killthewhat.com/wp-content/uploads/2009/09/prestashop31.png" alt="prestashop" title="prestashop" width="630" height="300" class="aligncenter size-full wp-image-4618" /></p> ]]></content:encoded> <wfw:commentRss>http://killthewhat.com/prestashop-tutorials/%e0%b8%81%e0%b8%b2%e0%b8%a3%e0%b8%97%e0%b8%b3-featured-products-%e0%b9%83%e0%b8%99-prestashop/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching 26/43 queries in 0.012 seconds using disk

Served from: killthewhat.com @ 2012-02-09 07:15:29 -->
