跳到内容

PBO Move to Wishlist for YITH WooCommerce Wishlist

v1.0.2

Piotr Boguslawski · 2015年10月10日 上架

PBO Move to Wishlist for YITH WooCommerce Wishlist is a simple solution for adding functionality called 'Move to Wishlist' to Shopping Cart.

正在使用
10+
评分
5.0 / 5
累计下载
2,739
最近更新
2015年10月13日
2 条评价需要 WordPress 4.0+已测试到 4.3.34

截图

Shopping Cart with "Move to Wishlist" buttons
Shopping Cart with "Move to Wishlist" buttons
Product sucessfully moved to Wishlist
Product sucessfully moved to Wishlist
Wishlist page with moved product
Wishlist page with moved product

PBO Move to Wishlist for YITH WooCommerce Wishlist is a simple solution for adding functionality called ‘Move to Wishlist’ to Shopping Cart. Needs WooCommerce and YITH WooCommerce Wishlist to work.

There are no configuration options. Simply activate this plugin and a special link will appear next to any product in Shopping Cart.

The appearance of ‘Move to Wishlist’ link can be changed by using style.

Example:

.pbo_move_to_wishlist a {
  font-size: 0.8em;
  font-weight: 400;
}

There is a possibility to modify plugin texts using filters:

pbo_mtw_message ( $message, $rc, $cart_item, $cart_item_key )
pbo_mtw_label ( $label, $cart_item, $cart_item_key )
pbo_mtw_link_html ( $html, $cart_item, $cart_item_key )

Example:

function chg_label($label) {
  return "Transfer to Wishlist";
}
add_filter('pbo_mtw_label', 'chg_to_add');

function chd_message($message, $rc, $cart_item, $cart_item_key) {
  $product = wc_get_product( $cart_item['product_id'] );
  return $product->get_title() . ' transfered to Wishlist.';
}
add_filter('pbo_mtw_message', 'chg_message', 10, 4);

Translators

  • Piotr Boguslawski

Available Languages

  • English (Default)
  • Polish

Plums

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

导航

说明

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

© 2026 Plums