The price box does not show on my product
Check, in order:
- WooCommerce → Name Your Price → Offer the field on products that have it switched on is ticked.
- The product has Name your price ticked in Product data → General, and you clicked Update.
- The product can be bought at all. WooCommerce only prints an add-to-cart form for a product that is purchasable and in stock — and a product with an empty regular price is not purchasable. Keep a regular price filled in; the shopper does not pay it.
- Your theme prints WooCommerce's add-to-cart form. The box is added through
woocommerce_before_add_to_cart_button, the hook inside that form. A theme or page builder that draws its own add-to-cart button without WooCommerce's form will not show the box.
Does it work with block themes?
Yes. WooCommerce's Single Product template in a block theme renders the add-to-cart form through the same template classic themes use, so the box appears above the button.
What happens with the "Add to cart" button on the shop page?
That button sends no price. The plugin refuses the addition with "Please enter how much you would like to pay.", because a named-price product cannot be added without an amount. WooCommerce's classic AJAX button then sends the shopper to the product page, where they can type one. If your theme's shop page shows something different, change the product's button text or link through your theme.
The amount the customer typed with a comma was read wrong
Every amount box reads both conventions the same way — the shopper's box, the admin boxes on the product (Minimum, Maximum, Suggested) and the full edition's Store minimum: 12,50 is 12.5 and 1.234,56 is 1234.56, because the last separator is the decimal point.
A shopper typed an amount above my maximum and it went in at the maximum
On add to cart an amount above the maximum is refused with a message. If it arrived another way — for example a cart saved before you lowered the maximum — the cart brings it inside the band on the next recalculation rather than refusing it, so the line is charged the new maximum.
I changed the minimum. What happens to carts already open?
Every cart is recalculated with the band as it stands now. A line below the new minimum is raised to it; nothing is removed from anybody's cart. If you switch the field off on a product, its lines go back to the product's normal price.
Can each variation have its own minimum?
Full edition: yes. Each variation has its own Name your price box and fields under Product data → Variations. A variation without its box ticked follows the parent product. The free edition uses the parent product's band for every variation.
Does the named price show in the cart and on the order?
The cart line's price is the named amount in both editions. Full edition: the amount is also printed under the product name in the cart. On the order, the line is charged the named amount and the amount is kept as hidden item meta _gmnp_price.
Are coupons, tax and shipping affected?
They work as usual. The named amount is the line's price, so a percentage coupon comes off it, tax is calculated on it and shipping rules see it.
Does it work with page caching?
Yes. The box and the "From" price are ordinary product-page markup, the same for every visitor, and the check happens when the form is posted, which a page cache does not serve.
Does it work with HPOS and the Cart and Checkout blocks?
Yes. Both editions declare compatibility. The price is set on the hook every cart surface — classic, mini-cart, Blocks and the Store API — recalculates through.
Why does Google show no price for my product?
Full edition: the price is removed from a named-price product's structured data on purpose: the regular price is not what anyone is charged. The free edition leaves WooCommerce's structured data as it is.
I am moving from the free edition to the full edition
Install and activate the full edition. It reads the same option (gmnp_settings) and the same product meta, so every switch, minimum and suggestion carries over. The free edition stands down while the full edition is active — two copies would print two boxes into one form — and you can deactivate it. When the free edition saves its screen, it keeps every setting the full edition wrote.
What does uninstalling remove?
- Free edition: if the full edition has never been configured on the site (no
gmnp_licenseoption), it removesgmnp_settingsand the four product meta keys (_gmnp_enabled,_gmnp_min,_gmnp_max,_gmnp_suggested). If the full edition has been used, it removes nothing. - Full edition: the settings, the licence state, the cached update data, the licence-check event and the four product meta keys.
- Neither removes
_gmnp_pricefrom an order line. It is what a customer paid.
