| 开发者 | motylanogha |
|---|---|
| 更新时间 | 2026年10月30日 19:25 |
| PHP版本: | 8.1 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[shortlist] shortcode.
Guests can save products before they log in. A guest list lives in a cookie; the next time that visitor signs in, their saved items move onto their account, so nothing is lost at the login step. Logged-in customers' lists are stored in a custom database table keyed to their user id.
The plugin is written for stores that care about front-end weight and accessibility:
<button> with aria-pressed. When a product appears more than once on a page, every button for it updates together after a save, and the change is announced to screen readers through a polite live region.[shortlist_count] shortcode: a heart link to the wishlist with a live count badge. In a block theme, put it in the header with the Shortcode block.[shortlist] shortcode.manage_woocommerce capability), not only administrators. From there you can:
/wp-content/plugins/shortlist, or install via Plugins > Add New.Yes. Shortlist requires an active WooCommerce installation.
Yes, if you allow it in settings. A guest's list lives in a cookie and is merged into their account the next time they log in.
No. The plugin's own front-end script is vanilla JavaScript with no jQuery dependency.
Use the [shortlist] shortcode, or rely on the "Wishlist" tab added to the WooCommerce My Account area.
Yes. On variable products the wishlist button follows the selected variation, so the saved item can include the chosen size or colour.
Add the [shortlist_count] shortcode to your header: in a block theme, edit the Header template part and insert a Shortcode block. It prints a heart link to your wishlist page (or the My Account wishlist tab) with a badge showing how many items are saved. Screen readers hear "Wishlist, 3 items". The number is fetched by the browser after the page loads and updates as items are added or removed, so it stays correct on cached pages.
Yes. Turn on "Remove when added to cart" in the General settings. When a shopper adds a saved product to the cart, it leaves their wishlist, and the counter and buttons on the page update. For a variable product, the saved variation is the one removed. It is off by default.
Yes. Choose an existing page or create one from the Shortlist settings screen. The plugin can inject the [shortlist] list automatically.
Yes. The wishlist button is a real button with aria-pressed, screen-reader announcements and no layout shift when the saved state changes.
Yes. Quotlet adds a quote button for the saved quote products, Waitlist shows its sign-up form on out-of-stock items, and Versus adds a "Compare these" button when two or more products are saved. Only the Waitlist form has a switch, under Ecosystem integrations in the Shortlist settings.
Yes. This plugin is compatible with WordPress Multisite. Network activate it or activate it on individual sites; each site keeps its own settings and data.
[shortlist_count] shortcode for the header, a heart link to the wishlist with a count badge and a spoken label such as "Wishlist, 3 items". The count is loaded in the browser and updates after every add or remove, so a cached page never shows another shopper's number.[shortlist] shortcode and the wishlist block print the full markup anywhere, but the stylesheet and script did not follow them. They now load wherever the shortcode or the block is on the page, and nowhere else.plogins-shortlist.pot. It had fallen behind 1.0.8, missing six strings from the wishlist admin list and the Elementor widget and still carrying a price string that had been removed. That template is what translators work from, so those six could not be translated until now.[shortlist] list when the page has no shortcode yet.[shortlist] shortcode).languages directory for translations.