O que mudou em cada versão, da mais recente para a mais antiga. As notas são as publicadas pelo desenvolvedor, no idioma original.
Mais recente 4.0.1 · 19 nov 2026
138 versões
Desde ago 2012
2026
10 versões
Versão 4.0.1
Mais recente
Notas da versão 4.0.1: 2 melhorias2 correçõesMostrarOcultar
Melhoria
IMPORTANT: Template single-product/suggested-prices.php updated. Themes that override it should update their copy.
New wc_nyp_suggested_price_chip_classes filter to add or remove classes on the suggested price labels, ex: to use the theme's own button or swatch classes.
Correção
Suggested prices are styled as chips, like WooCommerce's product filter chips, instead of buttons, so they no longer look like the add to cart button. They follow the theme's text colour, or the --wc-product-filter-chips-* CSS variables when set.
Add to cart no longer shifts to the right when the price input appears in the Add to Cart with Options block, ex: after picking the Custom suggested price.
Notas da versão 4.0.0: 7 novidades20 melhorias12 correções3 reforços de segurançaMostrarOcultar
Novidade
Suggested prices feature. Show swatches to suggest multiple price points to customers.
Edit amount in cart without redirect.
Move Name Your Price settings to their own tab/panel in the Product Data metabox.
Add advanced string customization for NYP strings at the product level.
The REST API's order endpoints show Name Your Price data on line items (nyp, nyp_price, nyp_suggested_price, nyp_minimum_price, nyp_maximum_price). The fields are read-only: set a line's price with its subtotal and total, as for any product.
Analytics integration.
A "Translate" link on the Plugins screen leads to where anyone can help translate Name Your Price.
Melhoria
IMPORTANT: WordPress 6.5.0 is required. WooCommerce 9.7 is required.
Tested up to WooCommerce 11.3.0
IMPORTANT: The Suggested Amounts mini-extension is now part of Name Your Price. On upgrade, each product's suggested amounts move into its Suggested Prices, and the amount the mini-extension preselected (usually the second) becomes the default and replaces the product's single suggested price. An inbox note asks you to review your products' suggested prices.
The "Help improve Name Your Price" inbox note now goes to stores that have used Name Your Price for 30 days or more, and links to a new feedback survey. The old note is removed on upgrade.
Show the store's price display suffix (WooCommerce > Settings > Tax) after a Name Your Price product's suggested price and a variable product's "From:" price, as WooCommerce does for other products. A product with no suggested price shows it after the minimum price instead. Placeholders like {price_excluding_tax} are worked out for the price shown.
Validate the price on paste and autofill as well as typing. An error now clears as soon as the price is valid, and a new error shows once typing pauses, instead of waiting until the input loses focus.
IMPORTANT: The Store API now takes nyp in the smallest unit of the currency, as a whole number or a string of digits, like the prices the Store API returns: send 750 for 7.50, in add to cart (/wc/store/v1/cart/add-item) and edit in cart (/wc/store/v1/cart/extensions, namespace wc-name-your-price). Clients that send the price in major units need updating: a decimal such as 7.50 is refused with a 400 error, and a whole number such as 7 is now read as 0.07. The cart item's nyp in Store API…
Add wc_nyp_before and wc_nyp_after hooks to templates/single-product/price-input.php
WC_Name_Your_Price_Compatibility::init method is now static. Use WC_Name_Your_Price_Compatibility::init or preferably WC_Name_Your_Price_Compatibility::get_instance to get an instance of the class.
IMPORTANT: Removed variable billing periods, deprecated since 2.4.0, which let customers choose how often a simple subscription bills. To offer that choice, add several subscription plans to the product. On upgrade, each of these subscriptions bills at its minimum billing period, so its minimum and maximum prices keep their meaning; its suggested price and length are converted to that period. Existing subscribers keep the period they chose. An inbox note lists the products that were updated.
Deprecated with variable billing periods: WC_Name_Your_Price_Helpers::is_billing_period_variable (always false), get_posted_period (always empty), get_suggested_billing_period, get_minimum_billing_period, get_period_value_attr and get_initial_period (the subscription's billing period), get_subscription_period_input, annualize_price, annual_price_factors, WC_Name_Your_Price_Display::display_variable_billing_periods and WC_NYP_Meta_Box_Product_Data::add_variable_billing_input. Removed the…
Removed deprecated WC_NYP_Meta_Box_Product_Data::$simple_supported_types. Use WC_Name_Your_Price_Helpers::get_simple_supported_types instead.
Removed deprecated WC_Name_Your_Price_Admin::$simple_supported_types. Use WC_Name_Your_Price_Helpers::get_simple_supported_types instead.
IMPORTANT: Removed backwards compatibility for action and filter hooks deprecated in 3.x. Callbacks still attached to an old hook name will silently stop running. Switch them to the wc_nyp_ replacement listed below.
Removed deprecated action hooks (deprecated in 3.0.0). Use the replacements: wc_name_your_price_loaded → wc_nyp_loaded; woocommerce_name_your_price_options_pricing → wc_nyp_options_pricing; woocommerce_name_your_price_options_variation_pricing → wc_nyp_options_variation_pricing; woocommerce_nyp_before_price_input → wc_nyp_before_price_input; woocommerce_nyp_price_input_label_hint → wc_nyp_price_input_label_hint; woocommerce_nyp_after_price_input → wc_nyp_after_price_input
Removed deprecated filter hooks (deprecated in 3.0.0). Most old woocommerce_* and nyp_* names map to the same name with a wc_nyp_ prefix (e.g. woocommerce_is_nyp → wc_nyp_is_nyp, woocommerce_nyp_price_string → wc_nyp_price_string). Exceptions: nyp_field_prefix → wc_nyp_field_suffix, woocommerce_nyp_html → wc_nyp_price_html, woocommerce_variable_nyp_html → wc_nyp_variable_price_html.
Removed deprecated wc_nyp_isset_disable_edit_it_cart filter (deprecated in 3.3.3). Use wc_nyp_show_edit_link_in_cart, which returns true to show the edit link rather than true to hide it.
Removed deprecated wc_nyp_supports_formatting_on_done_typing filter (deprecated in 3.5.12) and the unused done_typing script param. It had no effect.
Removed notices for the woocommerce_get_price_input and wc_nyp_subscription_period_input filters, which were removed in 3.0.0. Use the wc_nyp_price_input_attributes filter or override the price-input.php template.
Removed the WC_NYP_Deprecated_Action_Hooks and WC_NYP_Deprecated_Filter_Hooks classes and the WC_Name_Your_Price::$deprecated_hook_handlers property.
Correção
Order again used a lower price than the customer entered when prices include tax and the customer was tax exempt or not charged the store's base tax rate. New orders store the entered price, and older orders now add back the tax WooCommerce removed.
IMPORTANT: Fix: When prices include tax, customers pay the price they enter, whatever their tax rate. Customers outside the store's base location, and tax exempt customers, previously paid less, as WooCommerce took the store's base tax off the entered price. Return false from the wc_nyp_price_includes_customer_tax filter to keep the old behaviour. Closes #310.
The REST API's product variation endpoints (/wc/v3/products/ /variations) now read and write the Name Your Price fields (nyp, nyp_minimum_price, nyp_suggested_price, nyp_maximum_price, nyp_hide_minimum), as the products endpoint does. Writes were previously ignored. Closes #330.
Elementor Pro single product templates showed the suggested price twice, in the Product Price widget and again above the price input in the Product Add to Cart widget. The suggested price now shows only where the Product Price widget is placed. Closes #205.
The Cost field (WooCommerce's Cost of Goods Sold) disappeared from a variation when Name Your Price was enabled on it.
A product sold on a single subscription plan, without a one-time purchase option, gave no sign on the product page that the price recurs. The price input label now shows the plan's billing period, e.g. "Name your price ( $ / month )". Closes #329.
A REST API product update that left out nyp_minimum_price (for example, a stock-only update from an inventory system) reset the product's price and regular price to 0, which broke sorting by price. The saved minimum (or suggested) price is now kept. Closes #331.
Adding to cart through the Store API (/wc/store/v1/cart/add-item) with nyp sent as an array or object caused a PHP fatal error and an HTTP 500. It now returns a 400 "Please enter a valid, positive number." error. Closes #335.
Adding to cart through CoCart checked the price as entered, but added a price with a thousand separator or a comma decimal to the cart as a smaller amount: 1,000.00 as 1, or 7,50 as 7 on a comma-decimal store. The cart now gets the price that was checked.
On a store whose decimal separator is a comma, a price typed with a dot (7.50) was read as 750,00 and charged 100 times over, and the reverse on a dot-decimal store. Entered prices are now read in the store's format, and anything that could mean a different amount is refused with a message naming the store's decimal mark (Please use "," for decimals.) instead of being guessed at: 7.50 on a comma-decimal store, or 7.500 when prices have 3 decimals. Input that isn't a number, such as 7e0 or…
The Store API checkout refused a bundle with a Name Your Price item that isn't priced individually. That item is paid for in the bundle's price, so it needs no entered price.
After a price was edited in the cart, adding the same product at the same price again made a second cart line instead of adding to the edited one, and the edited line saved the replaced line's cart key with it.
Segurança
IMPORTANT: Security fix: The Store API (used by the cart and checkout blocks) applied an entered price to any product, not only Name Your Price products, so a visitor could add any product to the cart at a price of their choosing. Only Name Your Price products now take an entered price. Affects 3.5.0 and later. Closes #334.
IMPORTANT: Security fix: On a subscription with a variable billing period (a setting from older versions), adding to cart through the Store API checked the price against the minimum for the minimum billing period, while a billing period in the request's query string was applied to the cart, so a customer could pay the monthly minimum once a year. The Store API no longer reads the price from the query string, and variable billing periods are removed (see below).
IMPORTANT: Security fix: The classic checkout didn't check a Name Your Price item in the cart that had no entered price, such as a bundled item added through the Store API without one, or a product made Name Your Price while it was in a cart. It was charged the product's saved price, which could be below the minimum or nothing. The classic checkout now refuses it, as the Store API checkout does.
Versão 3.8.3
Notas da versão 3.8.3: 1 correçãoMostrarOcultar
Correção
Fatal error calling protected get_store_currency_properties in Store API cart item schema. Currency data is already provided by the core prices response, so it's no longer duplicated in the Name Your Price extension data. Closes #289.
Notas da versão 3.8.1: 1 melhoria2 correçõesMostrarOcultar
Melhoria
Tested up to WooCommerce 11.1.0
Correção
Dynamic update price in scheme strings, keep scheme selected when editing, fix add to cart button text when editing. (Subs 9/APFS compat #286).
Run get_edit_url through woocommerce_cart_item_permalink filter to allow for broader compatibility with custom products. Maintains APFS scheme when editing. #241.
Notas da versão 3.5.4: 1 melhoria1 correçãoMostrarOcultar
Melhoria
Tested up to WooCommerce 7.8.
Correção
Fatal error on admin edit products screen when product post type is NOT from WooCommerce.
Versão 3.5.3
Notas da versão 3.5.3: 2 correçõesMostrarOcultar
Correção
Switch price input inputmode to decimal for better mobile iOS support.
Missing Aelia Currency Switcher conversion for min/max prices.
Versão 3.5.2
Notas da versão 3.5.2: 1 melhoria2 correçõesMostrarOcultar
Melhoria
Tested up to WooCommerce 7.6.
Correção
Remove duplicate "Settings" link on plugins page.
Entirely remove ul.woocommerce-error element when price is valid for better compatibility with ajax refreshing in cart.
Versão 3.5.1
Notas da versão 3.5.1: 1 correçãoMostrarOcultar
Correção
Fatal error on new installs.
Versão 3.5.0
Notas da versão 3.5.0: 5 novidades6 melhoriasMostrarOcultar
Novidade
Customize the "Upgrade/Downgrade" button text for switching subscription prices. Go to WooCommerce > Settings > Subscriptions.
Automatically format the price when focused on the price input after 1 second of inactivity.
Support for Store API add to cart validation. wp-json/wc/store/v1/cart/add-item?id=66&nyp=99
Add support for Import/Export. #206.
Add compatibility with Aelia Currency Switcher.
Melhoria
Important: Requires WooCommerce 4.0.0 and PHP 7.2.
Important: Updates/changes to text strings. Please revise your translations.
Rewrite name-your-price.js to remove accounting.js script dependency. #234.
Remove finally from try/catch block in cart->validate_price as it is always executing instead of allowing the Exception to be thrown. This means you will need to catch Exception if throw_exception is enabled via method args.
Deprecate/remove wc_nyp_error_message filter.
Fix CoCart compatibility module.
Versão 3.4.0
Notas da versão 3.4.0: 1 novidade1 melhoria1 correçãoMostrarOcultar
Novidade
Add inputmode="numeric" attribute to price input. Brings up number keyboard on mobiles.
Melhoria
Tested up to WooCommerce 7.3.
Correção
Compatibility for NYP Variations as part of Product Bundle. #223.
2022
3 versões
Versão 3.3.10
Notas da versão 3.3.10: 3 melhorias3 correçõesMostrarOcultar
Melhoria
Tested up to WooCommerce 7.0.
Declare compatibility with High Performance Order Tables (HPOS).
Add database version to System Status Report.
Correção
Hide PayPal Pament's "buy now" buttons for Name Your Price products.
Hide Braintree PayPal's "buy now" buttons for Name Your Price products.
Hide Cybersource GooglePay request buttons for Name Your Price products.
Versão 3.3.9
Notas da versão 3.3.9: 1 melhoria1 correçãoMostrarOcultar
Melhoria
Tested up to WooCommerce 6.3.
Correção
Run wp_localize_script in wp_enqueue_scripts hook. Solves issue of popups not loading woocommerce_nyp_params object.
Versão 3.3.8
Notas da versão 3.3.8: 1 melhoria1 correçãoMostrarOcultar
Melhoria
WC_Name_Your_Price_Display::display_price_input( $product, $args ); second parameter now supports custom args.
Correção
PHP notice on single product page, undefined variable.
2021
12 versões
Versão 3.3.7
Notas da versão 3.3.7: 1 novidade1 melhoria1 correçãoMostrarOcultar
Novidade
WooCommerce Payments compatibility module to completely remove payment request buttons on NYP product.
Melhoria
Wrap currency symbol in span element
Correção
Load RTL stylesheets when not in SCRIPT_DEBUG mode.
Versão 3.3.6
Notas da versão 3.3.6: 1 correçãoMostrarOcultar
Correção
Add additional check to prevent product script errors when script is loaded where no NYP products exist.
Versão 3.3.5
Notas da versão 3.3.5: 1 melhoria3 correçõesMostrarOcultar
Melhoria
Tested up to WooCommerce 5.9.0.
Correção
Hide PayPal Payments payment request buttons for Name Your Price products.
Hide WooCommerce Payments payment request buttons for Name Your Price products.
Remove incorrect deprecation notice for woocommerce_price_trim_zeros.
Versão 3.3.4
Notas da versão 3.3.4: 1 novidade1 correçãoMostrarOcultar
Novidade
Add wc_nyp_before_price_label and wc_nyp_after_price_label hooks to price-input.php template.
Correção
Respect Woo's woocommerce_price_trim_zeros filter and trim the trailing zeros from entered price.
Versão 3.3.3
Notas da versão 3.3.3: 3 melhorias3 correçõesMostrarOcultar
Melhoria
Tested against WooCommerce 5.8.
Rename 'wc_nyp_isset_disable_edit_it_cart' filter to 'wc_nyp_disable_edit_it_cart'
Detect optional products when status !== true instead of === false.
Correção
Save products with no min as having 0 price. Helps with sorting and fixed PHP warning for NYP products that are bundled but not priced-individually.
Fixed PHP warning for missing admin notices.
Replace another deprecated jQuery 3.0 function.
Versão 3.3.2
Notas da versão 3.3.2: 1 novidade1 melhoriaMostrarOcultar
Novidade
Add wc_nyp_sort_by_suggested_price filter to change _regular_price to suggested price if true. False defaults to minimum price.
Melhoria
Tested against WooCommerce 5.6.
Versão 3.3.1
Notas da versão 3.3.1: 1 correçãoMostrarOcultar
Correção
Incorrect handling of comma decimals in manual subscription renewal.
Black FridayR$ 19,90por mês
Plano Budget no cartão, preço travado
na Black Friday
Lote 1 termina em00d00h00m
Próximo lote
R$ 24,90Ver a ofertaVer oferta