WP Credit System With WooCommerce

WP credit system with WooCommerce

This Simple Credits plugin provides a way to purchase items from your store while using their virtual money. This plugin creates a credits payment system in the WooCommerce shop.

If you’ve come across websites like iStockPhoto, you know what I’m talking about. Such websites use a credits system in which, a customer needs to purchase credits to download products.

This plugin also provide you to change the layout by adding custom css classes for credit object like: creditsTable (bundles table) etc.

Installation Of Plugin:

This section describes how to install the plugin and get it working.

  • Clone from GIT
  • Upload simple-credits folder to the /wp-content/plugins/ directory
  • Activate the plugin through the 'Plugins' menu in WordPress
  • Add normal products and set the price # number of credits

Features:

  • Manually adjust user wallet balances if need be from the admin area.
  • Make purchases using the credit balance.
  • Load credit bundles in combination like "Credit bundles: 15, 30 and 60 Credits – Product prices: 4, 9 and 13 Credits"

How To Use:

  • Create bundles as woocommerce products by choosing Category # “Credit”, Type # “virtual” and Credits Amount (NB: Credits Amount field will appear after you save the product in “Credit” category)
  • Add normal products and set the price # number of credits
  • Create a page where you place this shortcode [creditwoocommerce] to display credit bundles
  • Use [buy_credits_button] shortcode to display a button for buying with credits

Shortcodes:

  • [buy_credits_button] Display a button for buying with credits.
  • [creditwoocommerce] Displays a table with all credit bundles you created.
  • [buy_credits_button class#”custom_buttom” title#”Buy It Now”] Displays a button to buy the product for credits. You can pass "class" and "title" as a parameter for the shortcode.
  • [usercreditwoocommerce] Displays the current user credits balance.
  • [user_bought_products] Displays the list of products user bought with credits.

Screenshots:

1. Product setup

WP credit system with WooCommerce

2. Product with saving setup

WP credit system with WooCommerce

3. Apply for credit manually from admin

WP credit system with WooCommerce

4. Product bundle at front

WP credit system with WooCommerce

Things to Note:

  • "lang.php" – all the translations are saved here. If you would like to add a new language, just add the isoCode to each value in an array.
  • "ajax.php" – here is saved the e-mail HTML code, that users get after buying a product with credits.
  • "download.php" – here is saved the download timeout time. As default, the download link expires in 48 hours.

Plugin Contributors: ekussberg

Requires WP: v3.4.0

Tested up to: v4.4.0

Plugin current version: v3.5 (30.10.2015)

Need more assistance regarding Web Development Services Contact us now!