Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

PBO Move to Wishlist for YITH WooCommerce Wishlist

Опис

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

Скріншоти

  • Shopping Cart with “Move to Wishlist” buttons
  • Product sucessfully moved to Wishlist
  • Wishlist page with moved product

Встановлення

  1. Unzip the downloaded zip file.
  2. Upload the plugin folder into the wp-content/plugins/ directory of your WordPress site.
  3. Activate PBO Move to Wishlist for YITH WooCommerce Wishlist from Plugins page.

And that’s it. There are no configuration options.

Відгуки

03.09.2016
This is a great option for any ecommerce site. Works great and is pretty easy to customize. Brilliant work!!
03.09.2016
Been looking for this very feature since forever. OF COURSE you should always to be able to move products from the cart directly to the wishlist. GREAT WORK!
Прочитати всі 2 відгуки

Учасники та розробники

“PBO Move to Wishlist for YITH WooCommerce Wishlist” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “PBO Move to Wishlist for YITH WooCommerce Wishlist” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

TODO

  • AJAX
  • full cooperation with YITH WooCommerce Wishlist premium version (more than one Wishlist)

1.0.2

  • Added link to full Wishlit page at the bottom of the Shopping cart (template: link-to-wishlist-page.php)
  • Code reformating in order to fit WordPress coding standards

1.0.1

  • Code refactoring
  • Added filters and conditions
  • Better security with wp_verify_nonce (and wp_nonce_url)

1.0.0

  • Initial version