Как создать wishlist плагин на wordpress
Перейти к содержимому

Как создать wishlist плагин на wordpress

  • автор:

Как сделать список желаний в интернет магазине WooCommerce

Как сделать список желаний в интернет магазине WooCommerce

Здравствуйте, друзья! Сегодня мы с Вами поговорим о том, как создать «Список желаний» в интернет магазине WooCommerce.

Кнопка «Добавит в желания», как и возможность «сравнения товаров» присутствует практически на всех популярных интернет магазинах, и ее наличие для многих уже стало привычным и обыденным.

Не буду вдаваться в подробности о том, зачем нужна такая возможность и что с ней делать. Предлагаю переходить сразу к делу!

Создание списка желаний в WooCommerce

Создавать «Список желаний» мы будем с помощью плагина YITH WooCommerce Wishlist.

1. Устанавливаем и активируем плагин YITH WooCommerce Wishlist.

Как сделать список желаний в интернет магазине WooCommerce

2. После активации плагина перейдите в YIT Plugins -> Wishlist.

Как сделать список желаний в интернет магазине WooCommerce

3. На открывшейся странице Вы увидите настройки плагина и его частичного перевода. Измените доступные слова на русские.

Остальной перевод плагина нужно делать отдельно. В этом Вам поможет урок по переводу плагинов в WordPress.

Как сделать список желаний в интернет магазине WooCommerce

Плагин будет работать и без перевода, но я не думаю что Вы поленитесь перевести небольшой плагин и оставить все как есть ��

В результате на каждом товаре появится кнопка, после нажатия на которую товар добавится в «Список желаний». Стиль кнопки Вы всегда можете изменить по усмотрению и желанию с помощью CSS.

Как сделать список желаний в интернет магазине WooCommerce

Кнопка «Добавить в список желаний»

«Список желаний» по умолчанию выглядит так:

Как сделать список желаний в интернет магазине WooCommerce

Список желаний в WooCommerce

Рекомендую:

Если у Вас возникли вопросы — пишите в комментариях.

Здравствуйте, друзья! Сегодня мы с Вами поговорим о том, как создать «Список желаний» в интернет магазине WooCommerce. Кнопка «Добавит в желания», как и возможность «сравнения товаров» присутствует практически на всех популярных интернет магазинах, и ее наличие для многих уже стало привычным и обыденным. Не буду вдаваться в подробности о том, зачем нужна такая возможность и что с ней делать. Предлагаю переходить сразу к делу! Создание списка желаний в WooCommerce Создавать «Список желаний» мы будем с помощью плагина YITH WooCommerce Wishlist. 1. Устанавливаем и активируем плагин YITH WooCommerce Wishlist. 2. После активации плагина перейдите в YIT Plugins -> Wishlist. 3. На открывшейся странице Вы увидите настройки плагина и его…

5 лучших плагинов WooCommerce Wishlist для UX и маркетинга

Списки желаний – отличная функция для магазина электронной коммерции.

Во-первых, ценность очевидна. Пользователи хотят сохранить понравившиеся им товары, чтобы они могли вернуть их и приобрести их позже. Добавление для них списка желаний значительно улучшит пользовательский опыт (UX), но станет еще лучше.

Некоторые из приведенных ниже плагинов обеспечивают большую ценность за счет дополнительных маркетинговых инструментов. Например, они покажут вам, сколько раз каждый продукт был добавлен в список желаний, и позволят вам отправлять целевые кампании по электронной почте клиентам, которые пожелали продукт.

Добавление плагина списка желаний стоит только для улучшения UX, но маркетинговые инструменты делают его обязательной функцией для веб-сайта электронной коммерции.

Плагины списка желаний WooCommerce

Сюда включены только лучшие плагины.

Вы найдете множество функций с некоторыми плагинами, включая множество функций, а другие предоставляют только самое необходимое. Обязательно внимательно просмотрите каждый из них, чтобы выбрать лучший плагин для своего сайта.

Вот мой выбор лучших плагинов для списков желаний WooCommerce.

Wishlist Woocommerce добавить в избранное товар

Привет ! Мы продолжаем разбирать самые интересные и самые полезные плагины для интернет-магазина Woocommerce ! Сегодня вы узнаете как добавить в свой интернет-магазин функцию «Понравившийся товар» , «Добавить в избранное» или «Отложить товар». Пользователи вашего магазина смогут добавлять понравившиеся им товары в избранное, а потом просматривать любимые товары на отдельной странице. Вы сможете указать свой текст для кнопок. Можно будет выбрать страницу, на которой будут отображаться любимые товары. Можно будет настроить отображение товаров на странице «Избранное». Очень простой и полезный плагин !

Добавить в избранное товар Woocommerce

Установить плагин NC Wishlist for woocommerce вы сможете прямо из админ-панели WordPress. Перейдите на страницу: Плагины — Добавить новый, введите название плагина в форму поиска, нажмите Enter, установите и активируйте плагин.

NC Wishlist for woocommerce

Далее, после установки и активации плагина, перейдите на страницу: Woocommerce — NC Wishlist Settings. Здесь вы сможете настроить основные параметры плагина.

Enable wishlist, должна стоять галочка, чтобы включить работу плагина.

Wishlist Page, выберите на какой странице будут отображаться избранные товары. После активации плагина на вашем сайте будет автоматически создана страница Wishlist, вы можете просто поменять её название и всё.

Wishlist button Position For Single Product Page, выберите где будет отображаться кнопка «Добавить в корзину». При выборе варианта Use shortcode вы можете вставить кнопку в любое место с помощью плагина.

Show Image, показывать изображение товара на странице избранного.

Show «Add to cart» button, показывать кнопку «Добавить в корзину». на странице избранного.

Show unit price, показывать цену товара на странице избранного.

Show stock, показывать рейтинг товара на странице избранного.

Add to wishlist text, укажите свой текст для кнопки «Добавить в избранное».

View wishlist text, укажите свой текст для кнопки «Смотреть избранные товары».

Enable Wishlist for, показывать кнопку всем пользователям или только авторизованным.

Show in Shop Page, поставьте галочку, чтобы показывать кнопку на странице магазина или каталога.

Wishlist button Position For Single Product Page

Далее, после настройки плагина, перейдите на страницу товара, нажмите на кнопку «Добавить в избранное». После чего у вас появится кнопка «Смотреть избранное» или как вы её назовёте, без разницы.

избранные товары Woocommerce Wishlist

После нажатия на кнопку «Смотреть избранное», вы попадёте на страницу избранного. На странице избранного будут отображаться избранные товары. Вы сможете удалить товар или добавить в корзину.

Wishlist Woocommerce

Внимание ! Вы можете использовать данный плагин, чтобы пользователи могли «Отложить» товар, а потом зайти на страницу отложенных товаров, чтобы снова их посмотреть. Просто укажите свои названия для кнопок.

Интересно ! Управление полями оформления заказа Woocommerce (добавить, удалить, изменить поле).

Как создать wishlist плагин на wordpress

«TI WooCommerce Wishlist» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

«TI WooCommerce Wishlist» переведён на 21 языка. Благодарим переводчиков за их работу.

Заинтересованы в разработке?

Журнал изменений

2.8.0

Release Date — 24 November 2023

  • Added: Support for WordPress 6.4
  • Added: Support for WooCommerce 8.3
  • Added: Option to erase all data on uninstall
  • Updated: Integration with WPC Product Bundles for WooCommerce
  • Fixed: Issue with alt attribute of a custom image for products counter icon
  • Fixed: ‘Add to Cart’ button issue for parent product
  • Fixed: Scheduled event hooks issue
  • Fixed: PHP 8.1 deprecation warnings
  • Fixed: Missing space in HTML markup
  • Fixed: REST API wishlist data inconsistencies
2.7.4

Дата выпуска — 28 Июля 2023

  • Fixed blind SQL injection vulnerability in a REST API endpoint
2.7.3

Дата выхода — 19 июля 2023 года

  • Added support for WooCommerce 7.9
  • Switched support chat to an opt-in model from an opt-out model
  • Removed admin inline JavaScript
2.7.2

Дата выпуска – 21 июня 2023 г.

  • Fixed the issue with wishlist AJAX events for guests
2.7.1

Дата выпуска — 20 Июня 2023

  • Fixed WP Menu issue when wishlist product counter is activated for any menu
2.7.0

Дата выпуска — 20 Июня 2023

  • Added support for WooCommerce 7.8
  • Required PHP 7.4 or greater
  • Added support of WooCommerce Feature «New product editor (Beta)»
  • Updated integration with LiteSpeed Cache
  • Code refactoring
2.6.0

Дата выпуска — 5 июня 2023 г.

  • Added custom error messages for adding products to the cart from the wishlist
  • Added tinvwl_social_share_data filter to extend social share buttons
  • Updated integration with WooCommerce Blocks
  • Fixed the JavaScript dependencies error
  • Fixed the issue with the auto-refresh of the wishlist table when adding or removing products
  • Fixed the issue with the «Add to Wishlist» button in relation to the WPML plugin
  • Fixed the issue with redirecting to the cart before updating the wishlist data
  • Fixed placeholders conflict with wishlist rename feature
  • Fixed WPML sync menu issue related to wishlist products counter
  • Limit dashboard notices only for admin users
  • Framework Update
2.5.2

Release Date — 29 May 2023

  • Refreshed wishlist table when a product is added or removed from the wishlist
  • Updated integration with WooCommerce Fast Cart plugin
  • Fixed an issue related to adding/removing products to the wishlist when the option ‘Remove product from Wishlist on second click’ is enabled
  • Fixed a JavaScript notice: «Cannot read properties of undefined (reading ‘stats’).»
  • Fixed an issue where the wrong variable product was being added to the wishlist from the product listing
2.5.1

Release Date — 22 May 2023

  • Added integration with WooCommerce Fast Cart plugin
  • Updated integration with WooCommerce Composite Products plugin
  • Fixed wishlist AJAX event issue for guests
  • Fixed issue with custom icon states for the ‘Add to Wishlist’ button
2.5.0

Release Date — 12 May 2023

  • Added support for WooCommerce 7.7
  • Enhanced product custom meta handling
  • Fixed an issue with the variation_id attribute not working correctly on product listings
2.4.4

Release Date — 8 May 2023

  • Fixed an issue with plugin admin notices
  • Framework update
2.4.3

Release Date — 6 May 2023

  • Added placeholder
  • Fixed issues with products in wishlists data
2.4.2

Release Date — 1 May 2023

  • Updated integration with the myCred – Points, Rewards, Gamification, Ranks, Badges & Loyalty Plugin plugin
2.4.1

Release Date — 27 April 2023

  • Updated integration with the WooCommerce TM Extra Product Options plugin
  • Fixed hidden option issue in the plugin settings
2.4.0

Release Date — 26 April 2023

  • Added support for WordPress 6.2
  • Added support for WooCommerce 7.6
  • Added a filter tinvwl_allow_data_cookies
  • Added filters tinvwl_api_wishlist_data_response and tinvwl_api_product_data_response for REST API response
  • Updated integration with the YITH WooCommerce Product Add-Ons plugin
  • Updated integration with the Advanced Product Fields Extended for WooCommerce plugin
  • Updated integration with the Advanced Product Fields (Product Addons) for WooCommerce plugin
  • Fixed an issue with the dismiss button in admin notices
  • Fixed a JavaScript warning when checking cookies
2.3.6

Release Date — 06 March 2023

  • Fixed issue with removing from wishlist when default product variation is used
  • Updated integration with Flatsome theme
2.3.5

Release Date — 01 March 2023

  • Fixed wishlist table ajax events issue for guests
  • Fixed PHP warning in ajax events
2.3.3

Release Date — 22 February 2023

  • Blocking the wishlist table visually while processing AJAX events
  • Added integration with Extra product options For WooCommerce | Custom Product Addons and Fields plugin
  • Added integration with ione360 Configurator plugin
  • Added «input-checkbox» class to checkbox
2.3.2

Release Date — 20 February 2023

  • Update framework
2.3.1

Release Date — 16 February 2023

  • WooCommerce 7.4 support
  • Fixed name attribute value issue
  • Fixed PHP errors for old WordPress and WooCommerce versions
2.3.0

Release Date — 03 February 2023

  • WooCommerce 7.3 support
  • Added WooCommerce High-Performance order storage feature compatibility
  • Updated WCAG compatibility
  • Fixed issue with wishlist table pagination count
  • Fixed cache issue when cookies were set for guests
  • Fixed PHP warning related to wishlists products stats
  • Fixed products counter issue with private products
2.2.1

Release Date — 04 January 2023

  • Fixed PHP error on Flatsome theme integration
2.2.0

Release Date — 03 January 2023

  • Added wishlist data update on login and logout
  • Added integration with Ultimate Addons for the Elementor plugin
  • Added integration with the VAD Product Design plugin
  • Fixed admin menu duplicated items issue
  • Fixed database upgrade issue
  • Fixed issue with updating wishlists user data across devices
2.1.1

Release Date — 26 December 2022

  • Fixed issue with URL rewrites when wishlist set up under the WooCommerce My Account area
  • Fixed PHP warning in AJAX events
  • Updated integration with the Divi theme
2.1.0

Release Date — 22 December 2022

  • Compatibility with PHP 8.1
2.0.17

Release Date — 19 December 2022

  • WooCommerce 7.2 support
  • Fixed PHP error related to the add to wishlist event
2.0.16

Release Date — 6 December 2022

  • Fixed required login redirect for guests
2.0.15

Release Date — 22 November 2022

  • Added option «Days after which the guest wishlist will be deleted»
  • Fixed the message about the failed event of the add to cart button on the wishlist page
2.0.14

Release Date — 17 November 2022

  • Fixed issue with wishlist products counter
2.0.13

Release Date — 14 November 2022

  • WooCommerce 7.1 support
  • Fixed wishlist force redirect issue
2.0.12

Release Date — 12 November 2022

  • Fixed issue with WPML plugin
2.0.11

Release Date — 7 November 2022

  • Fixed force redirect to the wishlist page
2.0.10

Release Date — 7 November 2022

  • WordPress 6.1 support
  • Added integration with WC Fields Factory plugin
  • Added type of action for AJAX response
  • Added redirect to the wishlist page in case of product is already on the wishlist and the event popup is disabled in the settings
  • Fixed issue with marks product already in the wishlist
2.0.9

Release Date — 30 October 2022

  • Updated integration with ShopEngine plugin
2.0.8

Release Date — 20 October 2022

  • Added integration updated with the All in One Product Quantity for WooCommerce plugin
  • Updated framework
2.0.7

Release Date — 18 October 2022

  • WooCommerce 7.0 support
  • Updated integration with the WooCommerce TM Extra Product Options plugin
  • Improved frontend AJAX routine
  • Fixed URL rewrites issue
2.0.6

Release Date — 5 October 2022

  • Added JavaScript event ‘tinvwl_wishlist_ajax_response’
  • Integration updated with the WooCommerce Custom Product Addons
2.0.5

Release Date — 20 September 2022

  • Added option «Products per page» for wishlist table
  • Fixed pagination issue for wishlist owner
2.0.4

Release Date — 20 September 2022

  • Fixed issue with PHP short_open_tag
2.0.3

Release Date — 19 September 2022

  • WooCommerce 6.9 support
  • Added option to hide AJAX popup on the wishlist page
  • Added filter tinvwl_social_link_email_recepient
2.0.2

Release Date — 14 September 2022

  • Added filter tinvwl_popup_close_timer
  • Updated integration with WooCommerce Variation Swatches — Pro plugin
  • Options to setup wishlist page under WooCommerce My Account section are simplified
2.0.1

Release Date — 12 September 2022

  • Fixed WooCommerce My Account links issue
  • Fixed AJAX actions for guests issue
2.0.0

Release Date — 11 September 2022

  • Added feature to show stats for each product on the frontend
  • Wishlist table actions migrated to AJAX calls
  • Added feature to setup wishlist page under the WooCommerce My Account section
  • Added options for add to wishlist button custom icon states
  • WooCommerce 6.8 support
  • Translations updated
  • Code cleanup
  • Fixed issue with WooCommerce Blocks
  • Fixed conflict with WPML plugin and WooCommerce My Account menu

Коммерческий плагин

Этот плагин бесплатный, но предлагает дополнительные платные коммерческие улучшения или поддержку.

Мета

  • Версия: 2.8.0
  • Обновление: 2 месяца назад
  • Активных установок: 100 000+
  • Версия WordPress: 6.1 или выше
  • Совместим вплоть до: 6.4.2
  • Версия PHP: 7.4 или выше
  • Языки:

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *