Bestseller Documented

Product Open Pricing (Name Your Price) for WooCommerce

From: $39.99 / year

Product Open Pricing (Name Your Price) for WooCommerce plugin lets you create open price (i.e. “name your price” or “pay your price”) products in WooCommerce. That is – lets your WooCommerce store customers enter price for the product manually.

$39.99 Single site1 year of updates and support30-day money-back guaranteeBuy
$79.99 Unlimited sites1 year of updates and support30-day money-back guaranteeBuy
Clear

Product Open Pricing (Name Your Price) for WooCommerce plugin lets you create open price (i.e. “name your price” or “pay your price”) products in WooCommerce. That is – lets your WooCommerce store customers enter the price for the product manually.

For each product you can set:

  • Default (i.e. Suggested) price
  • Minimum price
  • Maximum price

In general settings you can also:

  • Customize frontend template
  • Set price input field position
  • Enable/disable open price input on shop and category pages
  • Set input style and pattern
  • Enable/disable quantity selector
  • Set price step on frontend
  • Enable/disable step ticker
  • Optionally show the original price (for reference)
  • Customize user messages

This plugin is an extended version of free Product Open Pricing (Name Your Price) for WooCommerce plugin with no limitation on how many open pricing products you can add.

Frontend Example

Product Open Pricing (Name Your Price) for WooCommerce - Frontend Screenshot

Product Open Pricing Options

Plugin settings are located in “WooCommerce > Settings > Product Open Pricing”.

Enable plugin
Enables/disables “Product Open Pricing (Name Your Price)” plugin.
Default: yes

Single Product Page Options

Product Open Pricing (Name Your Price) for WooCommerce - Single Product Page Options

Frontend template
Replaced placeholders: %input_id%, %open_price_input%, %currency_symbol%, %minimum_price%, %max_price%.
Default:

<label for="%input_id%">Name Your Price</label> %open_price_input% %currency_symbol%
Input field position
Possible values: Before add to cart button; Before add to cart quantity; After add to cart quantity; After add to cart button.
Default: Before add to cart button
Input field position: Position priority
Change this if you want to move the field inside the Position.
Default: 9999
Hide price
Hides original price on single product page.
Default: yes
Disable quantity selector
Default: yes

Shop/Category Page Options

Options regarding WooCommerce loop, like shop or category pages.

Product Open Pricing (Name Your Price) for WooCommerce - Shop Category Page Options

Display on loop
Displays the open pricing input field on loop.
Default: no
Frontend loop template
Overwrites the “Frontend template” option if input field displayed on loop. Replaced placeholders: %input_id%, %open_price_input%, %currency_symbol%, %minimum_price%, %max_price%.
Default:

<label for="%input_id%">Name Your Price</label> %open_price_input% %currency_symbol%
Input field loop position
Possible values: Before item; After item.
Default: After item
Input field loop position: Position priority
Change this if you want to move the field inside the Position.
Default: 9
Hide price
Hides original price on loop.
Default: yes

Frontend Options

Product Open Pricing (Name Your Price) for WooCommerce - Frontend Options

Input style
Default: width:75px;text-align:center;
Input pattern
For backslash use %backslash%, e.g.: %backslash%d*.
Default: None
Enable step ticker
Enables up/down ticker buttons for the input field.
Default: yes
Price step
Default: 0.01
Force number of decimals
Default: no
Force number of decimals: Number of decimals
Default: 2

Message Options

Confirmation/Error messages, displayed after customer try to purchase.

Product Open Pricing (Name Your Price) for WooCommerce - Message Options

Message on empty price
Default: Price is required!
Message on price too low
Default: Price is too low!
Message on price too high
Default: Price is too high!

Admin Options

Product Open Pricing (Name Your Price) for WooCommerce - Admin Options

Add "Open Pricing" column
Adds “Open Pricing” column to the admin products list.
Default: no

Advanced Options

Product Open Pricing (Name Your Price) for WooCommerce - Advanced Options

Fix mini cart
Fixes open pricing item price in mini cart.
Default: no

Per Product Options

To enable open pricing for some product, as well as set the default, min and max prices, you need to open product’s admin edit page, and locate “Product Open Pricing” meta box there:

Product Open Pricing Name Your Price for WooCommerce - Admin Settings - Per product

Frequently Asked Questions

Q. Price input field and currency symbol are outputted on different lines. How to place them on the same line?
A. You need to set the display propety for the price input field to inline, by adding this to your custom CSS (e.g. to “Appearance > Customize > Additional CSS”):

input.alg_open_price { display: inline !important; }

Alternatively, you can use Input style option in plugin’s “Frontend Options” settings section and set it to e.g.:

width: 75px; text-align: center; display: inline;

Q. How can I style open pricing label?
A. You can customize the Frontend template in plugin’s settings, so you can either add style directly to the template:

<label for="%input_id%" style="color:green">Name Your Price</label> %open_price_input% %currency_symbol%

or add some class to the label:

<label for="%input_id%" class="my_open_price_label">Name Your Price</label> %open_price_input% %currency_symbol%

and then style it with custom CSS:

label.my_open_price_label { color: green !important; }

Reviews

There are no reviews yet.

Be the first to review “Product Open Pricing (Name Your Price) for WooCommerce”

Your email address will not be published. Required fields are marked *

Free version

This plugin is a premium version of free "Product Open Pricing (Name Your Price) for WooCommerce" plugin.

Changelog

1.7.0 - 2021-09-30

  • UPDATE: PHP 8 now officially supported.
  • UPDATE: disable Payment Request Buttons on product page for open pricing products. An amount must be entered and added to cart first. (DETAILS: PRBs [e.g. Apple Pay / Google Pay / PayPal] don't always work well with open pricing products, since the price is not determined until after the user selects the amount. In v1.6.0 we used a temporary price of $1 in the background, which would be updated later with the real user-entered amount. However this caused problems with Apple Pay in certain [not all] situations, where the user could possibly still see that $1 amount on the initial Apple Pay screen. The correct amount would be charged at the end, but this was too confusing to customers. We've concluded the only 100% reliable way to handle these cases is to make sure the open pricing product is fully added to cart BEFORE the payment process begins.)
  • UPDATE: added filter 'wpwham_product_open_pricing_metabox_options'.
  • UPDATE: performance improvement -- load our admin assets only when needed.
  • UPDATE: updated .pot file for translations.

1.6.0 - 2021-04-22

  • NEW: compatibility with "WooCommerce Product Add-ons" plugin (the official WooCommerce one).
  • NEW: compatibility with WooCommerce Stripe Gateway's Apple Pay button.
  • FIX: make sure "step" defaults to "any" (on open price input field).
  • UPDATE: minor code refactoring.

1.5.0 - 2020-12-28

  • NEW: Add setting for "add to cart" button text.
  • FIX: UTF-8 issue in "add to cart" buttons when enabled in loop.
  • FIX: issue with open pricing when part of a grouped product.
  • UPDATE: updated .pot file for translations.

1.4.7 - 2020-09-17

  • UPDATE: bump tested versions

1.4.6 - 2020-08-25

  • FIX: PHP notice.
  • UPDATE: display our settings in WC status report.
  • UPDATE: updated .pot file for translations.
  • UPDATE: updated updater.

1.4.5 - 2020-06-12

  • FIX: PHP notice.

1.4.4 - 2020-02-23

  • UPDATE: bump tested versions

1.4.3 - 2019-12-18

  • FIX: issue where min_price=0 ignored.

1.4.2 - 2019-11-15

  • FIX: if "force number of decimals" is checked in the settings, a user can't change the price field on a mobile device.

1.4.1 - 2019-11-15

  • UPDATE: bump tested versions

1.4.0 - 2019-09-11

  • NEW: implement software licensing system; allows for one-click updates of the Premium version
  • FIX: removed "min" and "max" attributes from price input field. (This was causing browser-based validation messages to appear before our own validation messages. If for some reason you want to reverse this change, use the filter 'wpw_product_open_pricing_input_custom_attributes'.)
  • UPDATE: updated .pot file for translations

1.3.2 - 2019-03-19

  • Dev - Plugin author data updated.

1.3.1 - 2019-02-22

  • Dev - Single Product Page Options - "Input field position" options added.
  • Dev - Shop/Category Page Options - "Input field loop position" options added.
  • Dev - Frontend Options - "Force number of decimals" option added.

1.3.0 - 2019-02-08

  • Dev - Advanced - "Fix mini cart" option added.
  • Dev - Admin - "Add Open Pricing column" option added.
  • Dev - Messages - Default values for "Message on price too low" and "Message on price too high" changed.
  • Dev - "Raw" input is now allowed in all corresponding settings.
  • Dev - Major code refactoring and clean up.
  • Dev - Admin settings restyled.

1.2.5 - 2019-01-29

  • Dev - "Input style" option added.
  • Dev - "Input pattern" option added.
  • Dev - Admin settings restyled and descriptions updated.
  • Dev - Plugin URI updated.

1.2.4 - 2019-01-17

  • Fix - "Enable step ticker" option fixed.

1.2.3 - 2018-10-21

  • Add warning on description about free version restriction which allows open pricing for only one product at a time.

1.2.2 - 2018-10-09

  • Fix compatibility with Currency Switcher on getting value from request.
  • Add option to display original price on both loop and single product page.

1.2.1 - 2018-08-18

  • Fix input sanitizing.

1.2.0 - 2018-08-17

  • Fix woocommerce_loop_add_to_cart_link filter with correct args quantity.

1.1.9 - 2018-08-16

  • Add option to include open input field on loop.
  • Add option to overwrite frontend template option if input field is displayed on loop.
  • Improve open price input sanitizing.
  • Add compatibility with ajax add to cart if loop option is enabled.
  • Remove Frontend Label option.
  • Fix min/max prices when using currency switcher.
  • Rearrange message options on admin.

1.1.8 - 2018-08-06

  • Improve compatibility with Currency Switcher for WooCommerce plugin converting min and max value.

1.1.7 - 2018-08-06

  • Change the way to override product prices, replacing 'get_cart_item_open_price_from_session()' by 'override_product_price()' and replacing 'woocommerce_get_cart_item_from_session' filter by 'woocommerce_before_calculate_totals'.
  • Fix compatibility with Currency Switcher for WooCommerce plugin.

1.1.6 - 2018-07-26

  • Add compatibility with Currency Switcher for WooCommerce plugin.
  • Add 'aopwc_frontend_input_filter' filter to setup where the frontend field is going to be displayed. Default is 'woocommerce_before_add_to_cart_button'.

1.1.5 - 2018-06-21

  • Add option to remove up/down ticker buttons from the input field.

1.1.4 - 2018-06-18

  • Add %minimum_price% and %max_price% to frontend template.
  • Add span to %currency_symbol% template.
  • Update "WC tested up to".

1.1.3 - 2018-05-07

  • Add min and max attributes for price input.

1.1.2 - 2018-04-10

  • Dev - "Price step" step decreased to 0.000000001.
  • Dev - Admin settings descriptions updated.
  • Dev - Plugin settings array stored as main class property.

1.1.1 - 2018-01-02

  • Dev - "Disable Quantity Selector" option added.
  • Dev - Admin settings restyled.
  • Dev - "WC tested up to" added to plugin header.

1.1.0 - 2017-07-25

  • Dev - WooCommerce v3 compatibility - Getting product ID and status with functions (instead of accessing properties directly).
  • Dev - WooCommerce v3 compatibility - woocommerce_get_price replaced with woocommerce_product_get_price.
  • Dev - Autoloading plugin options.
  • Dev - Link updated from http://coder.fm to https://wpcodefactory.com.
  • Dev - Plugin header ("Text Domain" etc.) updated.
  • Dev - POT file added.
  • Dev - Code cleanup.

1.0.0 - 2017-02-01

  • Initial Release.