The WooCommerce Name Your Price extension lets you be flexible in what price you are willing to accept for selected products. You can use this extension to accept user-determined donations, gather pricing data or to take a new approach to selling products! You can suggest a price to your customers and optionally enforce a minimum acceptable price, but otherwise this extension allows the customer to enter the price he’s willing to pay.
Installation ↑ Back to Top
To install Name Your Price:
- Download the extension from your dashboard
- Unzip and upload the woocommerce-name-your-price folder to your site’s /wp-content/plugins/ directory
- Activate ‘WooCommerce Name Your Price’ through the ‘Plugins’ menu in WordPress
Upgrading to Name Your Price 2.0 ↑ Back to Top
Please be advised that Name Your Price 2.0 is a very major update and if you were previously using Name Your Price 1.x you might want to consider testing your theme in a developmental environment first. This is a must if you were using the $wc_name_your_price variable or overriding old templates.
Name Your Price will continue to work with WooCommerce 2.0.20, but WooCommerce 2.1 is preferred. Support for variable products and variable subscriptions will not function until WooCommerce is upgraded to version 2.1. WooCommerce 2.1 also better handles entering prices with localized decimal points.
See the FAQ for more advice on how to upgrade your code.
Plugin Settings ↑ Back to Top
Name Your Price has several strings that can be modified from the plugin’s settings. Go to WooCommerce->Settings and and click on the Name Your Price tab. From here you can modify the add to cart button texts, the minimum, “From:” and suggested text strings.
How to Use ↑ Back to Top
How to Use With Simple Products
To enable flexible, user-determined pricing on any simple product:
- Edit a product and look for the ‘Name Your Price’ checkbox in the Product Data metabox. Simple, subscription and bundle products will support customers naming their own price.
- Fill in the suggested and minimum prices as desired. The minimum price prevents products from being sold for less than you are willing to accept.
- Save the product. When viewing the product on the front-end, the suggested and minimum prices will be displayed in place of the regular price and a text input will appear above the Add to Cart Button where the customer can enter what she is willing to pay.
A Few Notes
Important – When entering prices, do NOT enter thousands separators! As of WooCommerce 2.1 you will be able to enter prices with the decimal point of your region, as long as it is the same one as you have specified in the settings.
To not display a suggested price, you can simply leave the suggested field blank. Similarly to not enforce a minimum price, you can leave the minimum field blank.
How to Use With Subscripton Products ↑ Back to Top
Subscription products work similarly to simple products. If you check the Name Your Price box, the subscription price box will be disabled in favor the suggested and minimum price inputs. The subscription billing period inputs remain unchanged.
As of Name Your Price 2.0, you can now also offer a variable billing period, which allows the customer to decide if she’d like to pay per month or per day, etc. To enable this, you need to check the “Variable Billing Period” checkbox. With this checked, if you enter suggested or minimum prices, you must select a corresponding suggested or minimum billing period.
How to Use With Variable Products ↑ Back to Top
As of Name Your Price 2.0, you can now have name your price variations on variable or variable Subscriptions products. Within each variation look for a “Name Your Price” checkbox and follow the same rules as simple products for suggested and minimum prices for each variation.
On the front-end when a Name Your Price variation is selected, the Name Your Price price input will appear.