WooCommerceWordPress
Zoom ภาพสินค้าใน WooCommerce โดยไม่ต้องใช้ปลั๊กอิน
ปลั๊กอิน WooCommerce ตั้งแต่ version 3.0 ขึ้นไป ตัวภาพสินค้าจะสามารถซูมได้เลย ไม่ต้องทำอะไรเพิ่มเลย แต่ถ้ามันไม่ทำงานต้องแก้ไขตามนี้

วิธีแก้ไข
เข้า FTP ไปที่เว็บของท่านไฟล์ที่เราจะแก้อยู่ที่ wp-content/themes/ชื่อ theme folder ของคุณ/functions.php แล้วทำการเพิ่ม Code 3 บรรทัดนี้และทำการเซฟ ระบบก็จะทำงานได้ปกติ
add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-lightbox' ); add_theme_support( 'wc-product-gallery-slider' );

เพียงเท่านี้เราก็สามารถใช้การซูมภาพสินค้าได้แล้ว โดยที่ไม่ต้องลง Plugin ให้หนักเว็บไซต์
ที่มา – webwithwp