WordPress.org

Русский

  • Темы
  • Плагины
  • Новости
    • Документация
    • Форумы
  • О WordPress
  • Сообщество
  • Скачать WordPress
Скачать WordPress
WordPress.org

Plugin Directory

WooCommerce Payment Methods

  • Отправить плагин
  • Мои избранные
  • Log in
  • Отправить плагин
  • Мои избранные
  • Log in

Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

WooCommerce Payment Methods

Автор: vendocrat
Скачать
  • Детали
  • Отзывы
  • Установка
  • Разработка
Поддержка

Описание

WooCommerce Payment Methods allows you to display your accepted payment methods. By default the plugin shows all available payment methods, but you can also specify or override them manually.

You can display them via shortcode, widget or template tag in three available styles (default, inverse and outline). We`ve added several classes, so you can easily style the output to your pleasure.

You are using the famous Bootstrap framework? Awesome, cause we`ve added the markup for tooltips, so that users can see the payment methods name on hover.

PaymentFont webfont

This plugin uses the webfont PaymentFont by vendocrat to display the brand icons, making them look good on every screen.

Contributions

Contributions are warmly welcome via GitHub.

Translations

Translations included:

  • English
  • German
  • Italian
  • Greek (thanks to Anestis Samourkasidis)
  • Portuguese (thanks to Luis Martins)

All our plugins are fully localized/translateable by default and include a .pot-file! Please contact us via Twitter or hit us on GitHub, if you have a translation you want to contribute!

We`d love to hear from you!

Follow us on Twitter, like us on Facebook, circle us on Google+ or fork us on GitHub!

Скриншоты

  • Shortcode output (top-down: default, inverse, outline style)
  • Widgets (top-down: default, inverse, outline style)
  • WooCommerce Checkout
  • WooCommerce Checkout in action

Установка

  1. Upload woocommerce-payment-methods to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Display your accepted methods via: Shortcode [wc_payment_methods], Widget or template tag `.
  4. Done!

Часто задаваемые вопросы

Why is payment method {XYZ} missing?

Miss some payment methods? Let me have a look at it by opening an issue on GitHub or hit us at @vendocrat.

How to display the payment methods?

You can use the function wc_payment_methods( $atts ), the shortcode [wc_payment_methods] or the widget.

What function/shortcode attributes are available?
  1. methods => Comma separated list of payment methods icon slugs to be displayed, see http://paymentfont.io for available icons, defaults to false
  2. style => How shall the icons be displayed? Available options are default, inverse and outline.
  3. tooltip => Adds data attributes to icon to be used for diplaying tooltips (made for Bootstrap), defaults to false
  4. placement => Set tooltip placement, defaults to bottom
  5. xclass => Add any extra classes, seperated by a space, defaults to false
How can I manually specify or override the displayed methods?

In the function and the shortcode use the attribute methods. In the widget there is a field for that. If you don`t specify any methods manually, the plugin will try to fetch the available payment methods from WooCommerce. Oh, and there are also two filters available (see beneath).

Are Filters/Hooks available?

Yep, there is first of all the filter vendocrat_filter_wc_payment_methods which expects an array. Use this to specify/override the methods to be shown globally.

With the filter vendocrat_filter_wc_payment_methods_icons you can modify the html markup for all icons to be displayed. This will look somehow like <li><i class="pf pf-paypal"></i></li><li><i class="pf pf-visa"></i></li><li><i class="pf pf-mastercard"></i></li> for the icons PayPal, Visa and MasterCard.

Отзывы

list of supported logos

shadyshrif 08.02.2018
Nice Widget. you can find the list of supported logos here ‘amazon’ => ‘Amazon’, ‘american-express’ => ‘American Express’, ‘atm’ => ‘ATM’, ‘bank-transfer’ => __( ‘Bank Transfer’, ‘woocommerce-payment-methods’ ), ‘bankomat’ => ‘Bankomat’, ‘bitcoin’ => ‘Bitcoin’, ‘braintree’ => ‘Braintree’, ‘carta-si’ => ‘Carta Si’, ‘cash’ => __( ‘Cash’, ‘woocommerce-payment-methods’ ), ‘cash-on-delivery’ => __( ‘Cash on Delivery’, ‘woocommerce-payment-methods’ ), ‘cb’ => ‘CB’, ‘cirrus’ => ‘Cirrus’, // ‘cheque’ => __( ‘Pay with Cheque’, ‘woocommerce-payment-methods’ ), ‘clickandbuy’ => ‘ClickAndBuy’, ‘credit-card’ => __( ‘Credit Card’, ‘woocommerce-payment-methods’ ), ‘diners’ => ‘Diners Club’, ‘discover’ => ‘Discover’, ‘ec’ => ‘EC (Electronic Cash)’, ‘eps’ => ‘Eps’, ‘fattura’ => __( ‘Invoice’, ‘woocommerce-payment-methods’ ), ‘facture’ => __( ‘Invoice’, ‘woocommerce-payment-methods’ ), ‘flattr’ => ‘Flattr’, ‘giropay’ => ‘Giropay’, ‘gittip’ => ‘Gittip’, ‘google-wallet’ => ‘Google Wallet’, ‘ideal’ => ‘Ideal’, ‘invoice’ => __( ‘Invoice’, ‘woocommerce-payment-methods’ ), ‘jcb’ => ‘JCB’, ‘maestro’ => ‘Maestro’, ‘mastercard’ => ‘MasterCard’, ‘mastercard-securecode’ => ‘MasterCard Securecode’, ‘ogone’ => ‘Ogone’, ‘paybox’ => ‘Paybox’, ‘paylife’ => ‘Paylife’, ‘paymill’ => ‘Paymill’, ‘paypal’ => ‘PayPal’, ‘paysafecard’ => ‘paysafecard’, ‘postepay’ => ‘postepay’, ‘quick’ => ‘Quick’, ‘invoice’ => __( ‘Invoice’, ‘woocommerce-payment-methods’ ), ‘ripple’ => ‘Ripple’, ‘skrill’ => ‘Skrill’, ‘sofort’ => ‘SofortÜberweisung’, ‘square’ => ‘Square’, ‘stripe’ => ‘Stripe’, ‘truste’ => ‘Truste’, ‘unionpay’ => ‘Unionpay’, ‘verified-by-visa’ => ‘Verified By Visa’, ‘verisign’ => ‘Verisign’, ‘visa’ => ‘Visa’, ‘visa-electron’ => ‘Visa Electron’, ‘western-union’ => ‘Western Union’, ‘wirecard’ => ‘Wirecard’,

Nice !

atmosferabio 03.09.2016
Good job.

Excellent

Geetar 03.09.2016
Excellent plugin, just what I was looking for. Keep it updated please. Cheers
Посмотреть все 8 отзывов

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

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

Участники
  • vendocrat
  • AlexanderPoellmann

Перевести «WooCommerce Payment Methods» на ваш язык.

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

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

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

0.1.0

Initial release.

0.1.1

Fixed wrong url and typo in readme, updated shortcode and screenshots.

0.1.2

Fixed an error in widget class, added placement option to tooltips, updated language files.

0.2.0

Now using PaymentFont to display brand icons. Fixed textdomain issue plus some minor fixes and enhancements. Added new screenshots!

0.2.1

Fixed typo.

0.2.2

Added CSS to replace payment provider images on WooCommerce Checkout with PaymentFont icons (see screenshots).

0.3.0

Improved payment gateway function. Partial rewrite to fit our internal plugin standard. Improved l10n handling.

1.0.0

Minor fixes, updated PaymentFont and included Portuguese translation (thanks Luis Martins).

1.0.1

Minor fixes, added Greek translation (thanks to Anestis Samourkasidis).

1.1.0

Minor fixes, added multiselect to widget to manually pick payment methods, update to PaymentFont v1.1.1 for better performance.

1.1.1

Minor fixes, enhanced widget.

1.1.2

Updated language files for German.

Мета

  • Версия 1.1.2
  • Обновление: 10 лет назад
  • Активных установок: 400+
  • Версия WordPress 3.5 или выше
  • Совместим вплоть до: 4.2.39
  • Язык
    English (US)
  • Метки:
    credit cardlogopaymentwoocommerce
  • Дополнительно

Оценки

5 из 5 звёзд.
  • 8 5-star reviews 5 звёзд 8
  • 0 4-star reviews 4 звезды 0
  • 0 3-star reviews 3 звезды 0
  • 0 2-star reviews 2 звезды 0
  • 0 1-star reviews 1 звезда 0

Добавить мой отзыв

See all reviews

Участники

  • vendocrat
  • AlexanderPoellmann

Поддержка

Есть что сказать? Нужна помощь?

Перейти в форум поддержки

Пожертвование

Хотите поддержать улучшение этого плагина?

Пожертвовать на развитие плагина

  • О нас
  • Новости
  • Хостинг
  • Приватность
  • Витрина
  • Темы
  • Плагины
  • Паттерны
  • Обучение
  • Поддержка
  • Разработчики
  • WordPress.TV ↗
  • Присоединиться
  • События
  • Поддержать ↗
  • Пять для будущего
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Русский

  • Посетите нас в X (ранее Twitter)
  • Visit our Bluesky account
  • Посетите нашу ленту в Mastodon
  • Visit our Threads account
  • Посетите нашу страницу на Facebook
  • Посетите наш Instagram
  • Посетите нашу страницу в LinkedIn
  • Visit our TikTok account
  • Посетите наш канал YouTube
  • Visit our Tumblr account
Код — это поэзия.