跳到内容

Product Carousel Block for WooCommerce

v1.0.0

Limewoo · 2026年5月18日 上架

Display WooCommerce products in a beautiful, touch-friendly carousel block with newest, sale, and category products, plus full styling controls.

正在使用
30+
评分
暂无
累计下载
434
最近更新
2026年8月24日
需要 WordPress 6.5+已测试到 7.1.5PHP 8.0+

截图

Product carousel on the frontend — showing newest products with sale badges, ratings, and AJAX cart buttons.
Product carousel on the frontend — showing newest products with sale badges, ratings, and AJAX cart buttons.
Block editor with live server-side preview.
Block editor with live server-side preview.
Inspector panel — Options tab: query type, order, slide counts, autoplay, card toggles.
Inspector panel — Options tab: query type, order, slide counts, autoplay, card toggles.
Inspector panel — Styles tab: accent color, title, price, and button style controls.
Inspector panel — Styles tab: accent color, title, price, and button style controls.

Lime Product Carousel Block adds a native Gutenberg block to showcase your WooCommerce products in a smooth, responsive carousel. Built with Embla Carousel — no jQuery, no slick, no bloat.

Add it to any page, post, or widget area. Configure everything from the Inspector panel without touching code.

Check out our other WooCommerce plugins at limewoo.com.

What you can display

  • Newest products — latest published by date
  • Sale products — products currently on sale
  • Products by category — pick one or more product categories

Carousel controls

  • Touch and drag on mobile and desktop
  • Configurable slides visible at once — independently for desktop, tablet, and mobile
  • Optional autoplay with configurable speed
  • Prev / next navigation arrows (optional)
  • Dot indicators (optional)
  • Configurable gap between slides

Product card options

  • Show or hide: product price, star rating, Add to Cart button
  • Working AJAX Add to Cart — cart quantity updates in real time
  • Sale badge on discounted products
  • Card alignment: left, center, or right
  • Hover lift animation with drop shadow

Style controls

All styling is done from the Inspector panel — no CSS required:

  • Accent color (buttons, price)
  • Title color, font size, font weight
  • Price color, font size
  • Button background color, text color, border radius

Performance

  • Full HTML output cached via WP transients — one DB query on the first load, then served from cache
  • Cache invalidates automatically on stock changes, price updates, and scheduled sales
  • Compatible with page caching plugins

Editor experience

  • Live server-side preview in the block editor
  • Styles update instantly in the preview as you change settings
  • No configuration outside the editor

Developer friendly

  • Declares HPOS (High-Performance Order Storage) compatibility
  • Declares block cart / checkout compatibility
  • Uses WC_Product_Query — no raw DB queries
  • Cache TTL filterable via lpcb_cache_ttl filter
  • All classes namespaced under Lime_Product_Carousel_Block
  • Full source available on GitHub

Requires: WooCommerce 8.0+

Development

The plugin’s JavaScript and CSS are compiled from source. Full source code is on GitHub:

https://github.com/Limewoo/lime-product-carousel-block

To build from source:

  1. Clone: git clone https://github.com/Limewoo/lime-product-carousel-block.git
  2. Install dependencies: bun install (or npm install)
  3. Production build: bun run build
  4. Watch mode: bun run start

Source files live in src/. Compiled output goes to build/. Do not edit build/ directly.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums