BACK TO DIRECTORY

PBO Move to Wishlist for YITH WooCommerce Wishlist

by Piotr Boguslawski

5.0
(2 ratings)

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

Screenshots

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

Plugin Details

Active Installs
10
Total Downloads
2,604
Version
1.0.2
Requires WP
4.0
Requires PHP
Tested Up To
4.3.34
Added
2015-10-10
Last Updated
2015-10-13 11:13am GMT

Ratings

5
2
4
0
3
0
2
0
1
0