Customization

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.