Linux 软件免费装
Banner图

SazKit – Product Gallery for WooCommerce

开发者 sazzad23
更新时间 2026年7月14日 20:58
PHP版本: 8.0 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

slider woocommerce carousel swiper product gallery

下载

1.0.6

详情介绍:

SazKit – Product Gallery for WooCommerce swaps the default WooCommerce single-product image gallery (FlexSlider + zoom) for a clean Swiper slider. Features: Filter hooks render_gallery_for_product( WC_Product $product ) and enqueue_gallery_assets() are public methods add-ons can call directly to render/enqueue the gallery for an arbitrary product outside the single product page (e.g. a shortcode or block). The gallery wrapper also fires two jQuery events add-ons can listen for: sazkit:zoom (hover zoom activated on a slide) and sazkit:lightbox-open (the lightbox opened for a slide), both passed the attachment ID.

安装:

  1. Upload the sazkit-gallery folder to /wp-content/plugins/, or install it through the Plugins screen in WordPress.
  2. Activate the plugin through the Plugins screen.
  3. Make sure WooCommerce is active.
  4. Visit Settings → SazKit Gallery to configure the gallery under the General and Style tabs.

屏幕截图:

  • Plugin settings screen.

升级注意事项:

1.0.6 Plugin folder/file renamed to match the WordPress.org-assigned slug (sazkit-product-gallery-for-woocommerce). If installing manually rather than through the directory, make sure the old sazkit-gallery folder is removed first. 1.0.5 Removes the Custom CSS field (WordPress.org policy) and fixes a class-naming inconsistency flagged in plugin review. If you had Custom CSS saved, back it up before updating — it will no longer be applied after this update. 1.0.4 Changes the plugin's Text Domain to sazkit-product-gallery-for-woocommerce; translators will need updated .po/.mo files. 1.0.3 Fixes arrow icons still losing their position on themes whose own CSS uses !important with a highly specific selector. 1.0.2 Hardens the gallery's CSS against theme interference more broadly (layout, images, arrows, dots, thumbnails, lightbox), beyond just the arrow icons in 1.0.1. 1.0.1 Fixes arrow icons disappearing on some themes at narrower viewport widths. 1.0.0 Initial public release.

常见问题:

Does this require WooCommerce?

Yes. WooCommerce 8.0 or newer must be active. The plugin does nothing on its own.

Is it compatible with variable products?

Yes. When a variation with its own image is selected, the first slide updates to that image and returns to the original when the selection is reset.

Is it multilingual / WPML ready?

Yes. All plugin strings are internationalized, and a translation template (languages/sazkit-gallery.pot) is included. Product images and titles themselves are WooCommerce data, so WPML/Polylang translate them automatically — no extra configuration is required.

Can I keep my theme's Swiper version?

Yes. If your theme or another plugin already registers a Swiper script/style handle, this plugin uses it instead of loading a second copy.

更新日志:

1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0