Deze plugin is niet getest met de laatste 3 grotere versies van WordPress. Mogelijk wordt het niet meer onderhouden of ondersteund. Ook kunnen er compatibiliteitsproblemen ontstaan wanneer het wordt gebruikt met recentere versies van WordPress.

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

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

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



Filters the user’s balance

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


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.


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.


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.


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.


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.


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


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.

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.


Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“Woo Earn Share” is open source software. De volgende personen hebben bijgedragen aan deze plugin.


Vertaal “Woo Earn Share” naar jouw taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.



  • Many code improvements
  • Race-condition prevention


  • Added Max Refund option
  • Minor fixes


  • First release