[WordPress] 外掛分享: Wishlist for WooCommerce

WordPress 外掛 Wishlist for WooCommerce 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Wishlist for WooCommerce」是 2017-10-11 上架。
  • 目前有 1000 個安裝啟用數。
  • 上一次更新是 2025-01-15,距離現在已有 108 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 有 10 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

codeixer | im_niloy | jorisvanmontfort |

外掛標籤

Wishlist | ti wishlist | add to wishlist | woocommerce wishlist | wishlist for woocommerce |

內容簡介

一個簡單而輕量的 WooCommerce 願望清單外掛程式,具有豐富的掛鈎功能,以符合您的 WooCommerce 主題的客製化需求。

預設情況下,該外掛會在 WooCommerce 儲存庫頁面和 WooCommerce 單一商品頁面中添加願望清單圖示。您還可以切換為基於文字的連結或添加/移除願望清單項目。
通過使用 [jvm_woocommerce_add_to_wishlist] 短代碼,您可以將願望清單添加到頁面中。如需進階自訂,請參見下面的掛鈎、JavaScript API 和範本章節。

掛鈎

針對高級用戶和開發人員,提供了一些 WordPress 動作和篩選器,可修改願望清單的行為。

以下是除移儲存庫頁面按鈕的範例用法:

remove_action( 'woocommerce_after_shop_loop_item', 'jvm_woocommerce_add_to_wishlist', 15 );

以下是切換為文本連結的範例用法:

add_filter( 'jvm_add_to_wishlist_class', function($class) {
return 'jvm_add_to_wishlist text';
});

動作

可用的動作:

jvm_woocommerce_wishlist_loaded
jvm_woocommerce_wishlist_before_wishlist
jvm_woocommerce_wishlist_after_wishlist
jvm_woocommerce_wishlist_before_wishlist_contents
jvm_woocommerce_wishlist_after_wishlist_contents
jvm_woocommerce_wishlist_before_add_to_wishlist
jvm_woocommerce_wishlist_after_add_to_wishlist

篩選器

jvm_add_to_wishlist_class
jvm_add_to_wishlist_icon_html
jvm_woocommerce_wishlist_product_ids

函數

jvm_woocommerce_wishlist_get_count()
jvm_woocommerce_wishlist_get_wishlist_product_ids()

範本

您可以覆蓋主題中的預設願望清單頁面。從外掛目錄中複製

templates/wishlist.php

至:

your-theme-directory/jvm-woocommerce-wishlist/wishlist.php

修改您需要的內容以套用新外觀。

JavaScript API

為了更深入地集成主題,外掛程式中的 JavaScript 檔案具有一些自定事件,用於願望清單使用者活動。

add.JVMWooCommerceWishlist
remove.JVMWooCommerceWishlist
beforeupdate.JVMWooCommerceWishlist
afterupdate.JVMWooCommerceWishlist

以下是範例用法:

$(document).on("beforeupdate.JVMWooCommerceWishlist", function(e) {
console.log(e);

// 更新一些自定計數器、顯示訊息或進行其他動作。
});

原文外掛簡介

Enhance your e-commerce store’s functionality with WooCommerce Wishlist – the ultimate tool that adds a powerful and lightweight wishlist feature. Improve your customer’s shopping experience and boost your sales with this essential addition to your online store. 🚀
Live Demo | Documentation | Support
WooCommece wishlist is a helpful plugin that allows customers to create a personalized list of products they want to purchase. It simplifies the shopping experience by enabling individuals to save items they may want to buy later rather than searching for them again. By using a wishlist, customers can easily keep track of the products they are considering and make informed decisions about what to purchase. Additionally, it provides retailers with valuable insights into their customers’ preferences, helping them better understand their target audience and optimize their marketing strategies.
🌟 Wishlist for WooCommerce Free Features

Customize the position of the wishlist button
Ability to add wishlist buttons to any products
Auto Remove from wishlist when added to cart
Wishlist tables with customizable columns
Product variation support
Shortcode support
Pop-up wishlist view
Fast loading and efficient cache performance.
Override wishlist template
Wishlists stored for up to [x] days for guests
Custom CSS styling

Live Demo | Documentation | Support
Remove from wishlist when added to cart: Removes a product from the wishlist when it is added to the cart, saving you the hassle of manually managing wishlist.
🎨 Custom CSS styling: supports custom CSS styling, allowing you to style your wishlist to match your website’s theme. 
📝 Shortcode support: The plugin supports product variation and shortcode, providing flexibility and convenience in creating and managing your wishlist.
Pop-up wishlist: Show pop-up with product details when wishlist action triggered.
🎨 Override wishlist: Override the wishlist template from a child theme, giving complete control over the look and feel of your wishlist.
📅 Guest Wishlist: stores wishlists for guests for up to [x] days, ensuring that their wishlists remain available even after leaving your website.
🧑‍💻 Developer-friendly hooks for actions and filters: The plugin is developer-friendly, offering hooks for actions and filters that allow developers to extend and customize the plugin’s functionality according to their needs.
🔥 WHAT’S NEXT
If you like this Wishlist plugin, then consider checking out our other free plugins:
Product gallery slider for WooCommerce – Best product image gallery slider for WooCommerce. It shows your WooCommerce products with an image carousel slider. Beautiful style, increase sales and get customer attention.
Custom Order Status Manager for WooCommerce allows you to create, delete and edit order statuses to control the flow of your orders better.
Bayna – Deposits & Partial Payments for WooCommerce plugin allows customers to pay for WooCommerce products using a partial payment.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Wishlist for WooCommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


2.0 | 1.3.4 | 1.3.5 | 1.3.6 | 2.0.1 | 2.0.2 | 2.0.3 | 2.0.4 | 2.0.5 | trunk |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon