| 开发者 | dapperdev |
|---|---|
| 更新时间 | 2026年11月4日 22:58 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[saledrawer_tab] shortcode to place a "see the deals" button anywheresaledrawer_), and the drawer fires DOM events such as saledrawer:open, saledrawer:close and saledrawer:add_to_cart that themes and tag managers can listen for.
SalesDrawer Pro
SalesDrawer Pro is a separate add-on plugin, sold and hosted outside WordPress.org, that adds features of its own: scheduled campaigns, product rules by category/tag/brand, countdown timers, custom ordering, advanced targeting and analytics. This plugin contains none of that code, has no licence checks, and is complete on its own.
/wp-content/plugins/, or install it through the Plugins screen.No. The plugin reads WooCommerce's own sale data on every request, behind a short cache that is invalidated whenever a product, variation, price, stock level or campaign changes.
No. It only controls whether a product appears in the drawer. Prices, sale schedules and stock are managed entirely in WooCommerce.
If every variation shares the same sale price, that price is shown. If prices differ, the drawer shows "From $XX.XX" using the lowest on-sale variation. Variable products always link through to the product page with a Choose Options button so nothing is added to the cart incorrectly.
Switch Settings → General → Rendering to "Deferred". The cached page then carries only a mount point and the drawer contents are fetched fresh after load.
By default the drawer and the sale tab disappear completely. You can switch to showing a short message instead.
No. The plugin contacts no external service and sets no cookies (the drawer remembers when it last auto-opened in the browser's local storage). It keeps one anonymous counter on your own site, how many times the drawer was opened, to decide when to ask for a review.
Use the Additional CSS panel in the WordPress Customizer or the Site Editor's Styles panel. The drawer's markup lives under #wsd-root.
Only if you turn it on. Settings → Spread the word adds a small link to salesdrawer.com at the foot of the drawer; it is off by default.
No. This plugin is developed independently and is not affiliated with, endorsed by, or sponsored by Woo or Automattic. WooCommerce is a trademark of WooCommerce, Inc.