Name Your Price

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.

Front-end view of Name Your Price Product

Pay what you want with name your price.

Installation ↑ Back to Top

To install Name Your Price:

  1. Download the extension from your dashboard
  2. Unzip and upload the woocommerce-name-your-price folder to your site’s /wp-content/plugins/ directory
  3. 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.

Name Your Price plugin options

Name Your Price plugin options

How to Use ↑ Back to Top

How to Use With Simple Products

Name Your Price Admin Metabox

Easily configure suggested and minimum prices.

To enable flexible, user-determined pricing on any simple product:

  1. 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.
  2. Tick the checkbox to allow users to set their own price for this product. The suggested and minimum price fields will not be visible until this is checked. Note that this might not function properly if you have javascript disabled.
  3. 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.
  4. 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

Note: Use with Subscription products requires the WooCommerce Subscription Extension – users who do not have WooCommerce Subscriptions installed will not see a “Subscriptions” tab.

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.

Name Your Price subscription metabox

Configure the variable billing period for a subscription (optional)

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.

Name Your Price variable billing period front-end view

Let customers choose when to pay

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.

Name Your Price variable product admin metabox

Configure any Variation to be Name Your Price-enabled

On the front-end when a Name Your Price variation is selected, the Name Your Price price input will appear.

Name Your Price variable product front-end view

Name Your Price now works with Variable Products

Back to the top