Woo Customer Price (Name Your Price)
Let customers enter their own price for Simple & Variable products with min/max/step/suggested controls.
by Faisal Ahammed · github.com/faisalahammed044274/woo-customer-price
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/faisalahammed044274/woo-customer-price/archive/refs/heads/main.zipReadme
Woo Customer Price (Name Your Price)
Version: 1.0.1
Author: Faisal Ahammed
Author URI: https://github.com/faisalahammed044274
License: GPL-2.0-or-later
Text Domain: woo-customer-price
Description
Woo Customer Price allows your customers to set their own price for WooCommerce Simple and Variable products. It comes with options for:
- Minimum and Maximum price
- Step (increment) value
- Suggested price
- Custom label for the price input
Perfect for donation products, “Pay What You Want” items, or flexible pricing strategies.
Features
- Works on Simple and Variable products
- Admin options for enabling/disabling customer price per product or variation
- Min, Max, Step, and Suggested price controls
- Input label customization
- Validates price on Add to Cart
- Shows custom price in cart, checkout, and order items
- Automatically rounds price to 2 decimals to avoid WooCommerce errors
- Fully compatible with WooCommerce front-end variations
- Lightweight JS for dynamic variation price inputs
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory - Activate the plugin via the Plugins menu in WordPress
- Make sure WooCommerce is installed and active
- Edit any product and enable "Customer Price" under the pricing options
Usage
Simple Products
- Go to the product editor
- Scroll to Product Data → Pricing
- Enable Customer Price
- Set:
- Input Label
- Suggested Price
- Minimum Price
- Maximum Price
- Step (increment)
Variable Products
- Go to the product editor
- Under Variations, enable Customer Price for each variation
- Set your desired min, max, step, and suggested values
Frontend
- On the product page, a number input field appears
- Users can enter their price (validated against min, max, step)
- Custom price will show in cart, checkout, and order details
Screenshots
- Admin: Enable Customer Price on simple products
- Admin: Enable Customer Price per variation
- Frontend: Custom price input field for simple products
- Frontend: Custom price input field for selected variation
Frequently Asked Questions
Q: Can this plugin work without WooCommerce?
A: No. Woo Customer Price requires WooCommerce to be installed and active.
Q: Can I set different prices per variation?
A: Yes. Each variation has its own min, max, step, suggested price, and label.
Q: Can I prevent users from entering zero or negative values?
A: Yes. All input is validated, and WooCommerce errors are avoided.
Changelog
1.0.1
- Fixed decimal precision issue causing WooCommerce validation errors
- Updated
to_price()function to round to 2 decimals - Minor code improvements
1.0.0
- Initial release
- Simple & variable product support
- Min, Max, Step, Suggested price
- Custom input label
- Cart, checkout, and order integration
License
This plugin is licensed under the GPL-2.0-or-later.