WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Easyfileshop

Easyfileshop enables you to sell files as downloads. Easyfileshop is easy to use and easy to integrate.

  1. Upload easyfileshop folder to the /wp-content/plugins/ directory.
  2. Create an folder /wp-content/easyfileshop/ on the server and make it writable (chmod 777 or less). The shop files will bes stored in this folder. An .htaccess file will be created automatically.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Open the settings page in the new toplevel 'Easyfileshop' menu.
  5. Select a currency and enter your paypal email address.
  6. (Opt.) You can select a return/thank you page.

Usage

  1. Edit or create a Page or Post. Find the paragraph (metabox) Easyfileshop at the bottom of the edit page (admin view). Upload a file and enter a price.
  2. Type the shortcode [easyfileshop] into the content of the post/page.

Advanced Usage

  • If you have uploaded a file in a post with the id 1. And you want the same file/button in a post with the id 2, you may type the shortcode [easyfileshop id=1] in the content of post 2.
  • You may also use the template tag <?php easyfileshop(); ?> in the loop, to retrieve the file/button of the current post.
  • You may also reference the file/button of another post by referencing it over the post id: <?php easyfileshop(1); ?>, where 1 ist the id, where you uploaded the file.
  • <?php easyfileshop(1); ?> does also work outside of the loop, anywhere else on the page.

Easyfileshop degrades gracefully: If there is no file or no price or you have not entered your paypal email address, there will be no button!

Customization

  • Copy the file button.php into the folder /wp-content/easyfileshop/. Now you can edit the copied file. It will be used instead of the original button.php file and you will not loose it after an update.
  • You will find the price of the file in the PHP variable $price and the currency in $currency.
  • button.php will be included in the complete paypal form. Therefore it contains only the submit button. You may use a HTML submit button (e.g. <input type="submit" value="Buy now!" />) and style it with CSS or you can use an image submit button (e.g. <input type="image" src="image.gif" alt="Buy now!" />). You may change the value or alt attribute text. It does not need to be 'Buy now!'.
  • If you decide to use the image button, you can use the original paypal buttons: https://www.paypal.com/newlogobuttons or any other ecommerce icons or your own image.
  • If you don't need $price or $currency delete them! Only the submit button is really needed.

Requires: 2.9.2 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-22
Downloads: 10,552

Ratings

3 stars
3.9 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1 100,3,3 100,2,2
100,2,2
100,1,1
100,2,2
100,4,4
0,2,0