이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Woo Earn Share

설명

Let your users share their own codes to earn discounts!

When someone uses a referral code when purchasing in your shop and the order is “Completed”, the code owner will receive a percentage (set in the dashboard admin of WordPress), which will be added to their balance. The balance can then be used on the next purchase.

See the FAQ for more details

Feature:
You can enable returning the money to a user who used their balance but had the purchase refunded, canceled, or failed.

Shortcodes!
[wooes_user_balance] – Shows the current user balance
[wooes_user_code] – Shows the current user code

Filters!

wooes_user_balance

Filters the user’s balance

  • $balance float The user’s balance.
  • $user_id integer The user ID.

wooes_get_user_code

Filters the user’s code

  • $code string The code fetched from the user.
  • $user_id integer The user ID.
  • $format boolean Whether or not the code should be formatted.

wooes_get_user_by_code

Filters the user by the code

  • $user \WP_User|false The fetched user of false if none.
  • $code string The code used to search the user.

wooes_new_balance

Filters the new user’s balance

  • $new_balance float The new balance value.
  • $money float The money being added.
  • $old_balance float The previous value.
  • $giving_back boolean Whether it’s giving the money back or not.

wooes_new_balance

Filters the new user’s balance

  • $new_balance float The new balance value.
  • $money float The money being added.
  • $old_balance float The previous value.
  • $giving_back float Whether it’s giving the money back or not.

wooes_generate_new_referral_code

Filters the newly generated code

  • $code string The randomly generated code.
  • $length integer The length of the code, from settings.
  • $alphanumeric boolean Whether it’s an alphanumeric code, from settings.

wooes_format_code

Filters the formatted code

  • $code string The code.

스크린샷

  • Woocommerce Menu
  • Admin

설치

  1. Upload woo-earn-sharing to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Settings are in Woocommerce -> Wooes
  4. If User Code Page returning not found, simply re-save Permalinks

FAQ

How is the balance used?

If a user makes a purchase that is less than their balance, i.e., their balance is greater than what they are trying to buy, the purchase amount will be 1, to avoid problems with payment methods when trying to finalize a purchase costing 0.00.

Example:
User Balance: USD 100.00
User Cart: USD 50.00
Discount based on balance: USD 49.00
Total purchase: USD 1.00

And then, the user will have a USD 51.00 balance.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Woo Earn Share”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Woo Earn Share”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

2.0

  • Many code improvements
  • Race-condition prevention

1.1

  • Added Max Refund option
  • Minor fixes

1.0

  • First release