Sale!

Product Open Pricing (Name Your Price) for WooCommerce

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.

Clear
Author: Pablo Pacheco SKU: N/A Category: Tags: , Version: 1.1.8; Last updated: 2 weeks ago; Requires WordPress version: 4.4; Tested up to: 4.9

Description

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.

For each product you can set:

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

You can also customize price step, frontend label, template and user messages.

Product Open Pricing Options

Product Open Pricing Name Your Price for WooCommerce - Admin Settings - General

Enable plugin
Enables/disables "Product Open Pricing (Name Your Price)" plugin.
Default: yes
Frontend label
Label visible to the customers.
Default: Name Your Price
Frontend template
Here you can use: %frontend_label%, %open_price_input%, %currency_symbol%.
Default:
<label for="alg_open_price">%frontend_label%</label> %open_price_input% %currency_symbol%
Price step
Open pricing products price step.
Default: 0.01
Message on empty price
"Empty price" message for the customer.
Default: Price is required!
Message on price too small
"Price too small" message for the customer.
Default: Entered price is too small!
Message on price too big
"Price too big" message for the customer.
Default: Entered price is too big!
Disable quantity selector
Enables/disables quantity for open pricing products.
Default: yes
Reset settings
Resets section settings.
Default: no

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


Prices & Licenses

Single siteUnlimited sites
1 year$19.99$49.99 $29.99
Lifetime$49.99$99.99 $54.99

Refunds

We want to ensure that you are 100% happy with your purchase, so if you feel the product(s) you purchased are not the best fit for your requirements and you attempted to resolve issues with product's author, we are offering 30 day money back guarantee refund policy.

Reviews

There are no reviews yet.

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

71 thoughts on "Product Open Pricing (Name Your Price) for WooCommerce"

  1. kateeloop December 29, 2017 at 5:00 am #

    does this plug-in eliminate the ability to choose a quantity of the item?

    Reply

    • Tom Anbinder December 30, 2017 at 12:33 am #

      Hi,

      Yes, quantity is disabled for open pricing products. However this is easily fixable. Please give me 1-2 days to release new version, where this will be optional. If you are in a hurry, you can temporary comment single line in “/includes/class-alg-wc-product-open-pricing-core.php” file in plugin’s folder. Just comment/remove line 29 there:

      add_filter( 'woocommerce_is_sold_individually', array( $this, 'hide_quantity_input_field' ), PHP_INT_MAX, 2 );

      Unfortunately I didn’t have time to test it, but this should be enough to re-enable the quantity field.

      Will get back to you as soon as new version is released.

      Best regards,
      Tom

      Reply

    • Tom Anbinder January 2, 2018 at 6:06 pm #

      Hi,

      As promised, we’ve added the requested option to the plugin. Please update to v1.1.1. Now in plugin’s settings (in “WooCommerce > Settings > Product Open Pricing”) we’ve added new “Disable quantity selector” checkbox, which will disable/enable the quantity input.

      Please let me know if it’s not working as expected.

      Best regards,
      Tom

      Reply

  2. J.C. January 23, 2018 at 1:05 pm #

    Hello, I’ve tired the free ver, it works well only when I go to the cart page, the item with “name your price” shows the original price, not the reset price.
    But the total amount is all correct. I believe it’s a bug that shouldn’t in the free ver.
    Is there anyway that can fix it? Thank you! 🙂

    Reply

    • charmz66 March 8, 2018 at 10:25 am #

      Same problem here. I see no response to either of your questions on the plugin page and here.

      Reply

      • Pablo Pacheco May 7, 2018 at 8:40 pm #

        Hi,
        Sorry for the delay,

        Is this still happening for you?
        I’ve made some tests and it’s working fine here.

        If it’s still happening, can you please send me your site URL?

        Reply

    • Pablo Pacheco May 7, 2018 at 8:37 pm #

      Hi,
      Sorry for the delay,

      Is this still happening for you?
      I’ve made some tests and it’s working fine here.

      If it’s still happening, can you please send me your site URL?

      Reply

      • J.C. May 8, 2018 at 8:21 am #

        Hello, thanks for the reply. I found out this bug was caused by another plugin and I got someone to help me to fix it.
        Still thanks!

        Reply

        • Pablo Pacheco May 8, 2018 at 5:04 pm #

          Anytime 😉

          Reply

  3. lin96108183 February 17, 2018 at 6:41 pm #

    Dear,

    I am glad to use this plugin. It is useful. However, I met some problem about CSS. Is there any method to make “fronted label”, “price input field” and “add to cart button” into three lines? They are too close to each other.

    Look forward to your positive reply.

    Best regards,
    Lin

    Reply

    • Pablo Pacheco April 11, 2018 at 10:44 pm #

      Hello,

      Sorry for the delay.
      I’m glad you are enjoying it 🙂

      Can you please follow these 2 steps?

      1 – Please change your frontend template to this:
      %frontend_label% %open_price_input% %currency_symbol%

      2 – On Appearance > Customize > Additional CSS, please put this
      .popfwc-price-and-symbol{
      display: block;
      margin-bottom: 15px;
      margin-top: 6px;
      }

      Let me know if it suits you 😉

      Reply

  4. Solih Rubianto March 28, 2018 at 1:08 am #

    Hi… nice plugin and i’d like to purchase this plugin.
    is it possible to place the price field on Cart page instead of Single page?

    Thanks

    Reply

    • Pablo Pacheco April 12, 2018 at 5:48 pm #

      Hi,
      Sorry for the delay.

      Thanks 🙂
      Unfortunately that’s not possible for now.
      But that’s a good idea. We will add this on our to-do list

      Reply

  5. teamcoltra April 13, 2018 at 3:10 am #

    Hey! I love this plugin and it helps a lot. Right now I’m working on allowing my customers to add a donation to charity at the checkout page and thought the easiest way would be to just incorporate a pay what you want product and allow people to set their own amount.

    I was wondering if, perhaps, you could help me figure out how to programatically add a pay-what-you-want product to the cart using a function?

    WC()->cart->add_to_cart( $product_id );

    but I don’t know how to set the cost field? I’m sure I’ll need quite a bit more but any help you can give will be great, thanks!

    Reply

    • Pablo Pacheco May 7, 2018 at 7:42 pm #

      Hello,

      Sorry for the long delay.
      To add a product with custom price programmatically you would have to do something like this:

      // Sets product price
      add_action( ‘woocommerce_before_calculate_totals’, function($cart_obj){
      if ( is_admin() && ! defined( ‘DOING_AJAX’ ) ) {
      return;
      }

      foreach ( $cart_obj->get_cart() as $key => $value ) {
      if ( $value[‘product_id’] == 6356 ) {
      $value[‘data’]->set_price( 99 );
      }
      }
      }, 10, 1 );

      // Adds product to cart
      add_action( ‘wp’, function () {
      if ( is_admin() && ! defined( ‘DOING_AJAX’ ) ) {
      return;
      }

      $product_id = 6356;

      foreach ( WC()->cart->get_cart() as $key => $val ) {
      $_product = $val[‘data’];
      if ( $product_id == $_product->get_id() ) {
      return true;
      }
      }

      WC()->cart->add_to_cart( $product_id );
      } );

      Reply

  6. Ant June 16, 2018 at 11:38 am #

    I’m considering buying your plugin.

    Does the pro version have support for variable products ie. different min/max/default prices for each variable?

    Also, is it possible to include a ‘slider bar’ as opposed to an input box for customers to choose a price?

    cheers.

    Reply

    • Pablo Pacheco June 18, 2018 at 10:02 pm #

      Hello,

      Unfortunately it doesn’t for now, but we are considering adding this feature.
      Can you please elaborate your idea regarding the slider bar? Do you have any reference?

      See you

      Reply

      • Ant June 19, 2018 at 9:02 am #

        I don’t have an example but the concept is simple. Its a horizontal bar with a movable point that the customer can slide left or right. On the left side, the minimum price is displayed. On the right side the maximum price is displayed. A box underneath displays the exact value of the point in the scale that is selected.

        Reply

  7. Yehiel Geron June 21, 2018 at 8:52 am #

    hi can i it in shop page not just on product page?

    Reply

    • Yehiel Geron June 21, 2018 at 8:55 am #

      can I put the name your price on catalog page/shop page*

      Reply

    • Pablo Pacheco June 26, 2018 at 3:21 pm #

      Hi Yehiel,
      Sorry for the delay.

      Unfortunately it’s not possible for now 🙁

      Reply

  8. Sean Ramsey June 26, 2018 at 3:07 pm #

    Happy to pay but I’m curious what the diff between the free and pro versions are, if any. Thanks.

    Reply

    • Pablo Pacheco June 26, 2018 at 3:19 pm #

      Hi Sean,
      Free version is limited to only one open pricing product enabled at a time

      Reply

  9. wlashack June 28, 2018 at 6:18 am #

    Hello, is there a possibility to display the min and max price values to the user on a product page? It is very useful for my customers to see this. Something like:

    Name your price ($ 30 — no limit).

    while each product has different limits.

    Thanks!

    Reply

    • Pablo Pacheco June 28, 2018 at 10:08 pm #

      Hello,

      On frontend template option you can use:
      %minimum_price% and %max_price%

      Please give it a try and tell me if it suits you 😉

      Reply

      • Wlashack June 29, 2018 at 7:57 am #

        Hello,
        I must be doing something wrong because it does not work for me. In my eshop product page I see text “%minimum_price%” instead of the value. Can you write me an example of the Frontend template which works well?

        I need users to see something like:

        Name your price (min. 5 $).

        Where the text “5 $” is the minimum price value (different on each product page).

        Thanks!

        Reply

        • Pablo Pacheco June 29, 2018 at 11:40 am #

          Hello,

          I’m not sure of one detail. You have to use %minimum_price% inside the frontend template option on plugin’s settings page. You are using it there?

          Reply

          • Wlashack June 29, 2018 at 3:43 pm #

            Hello,
            yes, I am trying to put the string to the field Frontend Template on the plugun settings page. Here is the picture of what I am doing and what i get:

            https://imgup.cz/images/2018/06/29/name-your-price.jpg

            In the top part of the picture there is a plugin settings section.
            In the middle part there is a product settings section.
            In the bottom part there is what i get on my eshop product page as a result.

            And my wish is to get the result I mentioned one post above:

            Name your price (min. 5 $).

            Where the text “5 $” is the minimum price value (different on each product page).

            If it is possible, can you please write me exactly what to put into the plugin frontend fields to get this?

            Thanks a lot!

        • Pablo Pacheco June 29, 2018 at 4:59 pm #

          Hum,

          That shouldn’t be happening.
          Are you using the free or premium version? What is the version number?

          Reply

          • Wlashack June 29, 2018 at 8:57 pm #

            I use latest premium (paid) version.
            And I use Czech version of WordPress if it matters.

        • Pablo Pacheco July 2, 2018 at 9:40 pm #

          Hi Wlashack,
          Can you please create a WordPress user for me using the email pablo@algoritmika.com?

          Maybe if I’m able to access the dashboard I can try to understand why it’s happening

          Reply

          • Wlashack July 4, 2018 at 12:55 pm #

            Thanks a lot Pablo, problem SOLVED.

            There was no problem with the plugun, I only had an outdated version of it.

  10. Ant July 2, 2018 at 12:40 pm #

    I bought and installed the full version but when I enable it on a product and then updated the page, it automatically goes back to being disabled.

    I deleted and re-installed. Now it won’t ‘activate’.

    help?

    Reply

    • Ant July 2, 2018 at 12:52 pm #

      Nevermind it seems to be woking fine now. Thanks.

      Reply

      • Pablo Pacheco July 2, 2018 at 9:38 pm #

        Glad to hear!
        Thanks for letting me know

        Reply

  11. veerhood July 10, 2018 at 5:14 pm #

    Bought this and put in a amount lower than regular but in the cart, shows regular price still.

    Reply

    • Pablo Pacheco July 13, 2018 at 6:47 pm #

      Hello,

      Hum, can I take a look at your site?

      Reply

  12. Adam August 10, 2018 at 4:44 pm #

    Hi, Is there a way to have the dollar value box and the add to cart and not have the “read more” button appear to have it go into the product page? I am having users contribute donations and I just need is a line of text and all I need is the value box and the add to cart button next to it, no need for a product page. Is this possible?

    Reply

    • Pablo Pacheco August 10, 2018 at 7:41 pm #

      Hello,

      You mean if there is a way of adding the input field in the loop page, right?
      Unfortunately there isn’t for now, but I’m going to add this soon. I’ll let you know when it’s ready. Thanks for the suggestion

      Reply

  13. Adam August 11, 2018 at 1:19 am #

    I believe we are talking the same thing… I don’t quite know the technical terminology. But if the main shop page is the loop page then yes. Im not using individual product pages. Anyways, I look forward to that update, would help me a lot!

    Reply

    • Pablo Pacheco August 16, 2018 at 7:15 pm #

      Hello Adam,

      There is a good surprise for you.
      I just updated the plugin to version 1.1.5 and now you can display the input field on the shop pages too 😉

      Please try it and tell me the results.
      See you

      Reply

  14. Melissa August 17, 2018 at 12:19 pm #

    Hi there – plug-in has worked great, thank you. However, all of a sudden (no changes made to the site), we are getting this error;
    Warning: Missing argument 3 for Alg_WC_Product_Open_Pricing_Core::add_attribute_on_add_to_cart_button() in /home/akashawk/public_html/wp-content/plugins/product-open-pricing-name-your-price-for-woocommerce/includes/class-alg-wc-product-open-pricing-core.php on line 115

    Can you please help?

    Thanks!

    Reply

    • Pablo Pacheco August 17, 2018 at 12:38 pm #

      Hi, thanks for letting me know.
      I just updated the plugin with the fix. Can you please give it a try and tell me if it’s working well for you?

      Reply

      • Melissa August 17, 2018 at 1:03 pm #

        Thanks for the quick response – yes this update fixed the issue!

        Reply

        • Pablo Pacheco August 17, 2018 at 1:24 pm #

          Great!
          Please
          Take a look at the new loop option and tell me what you think 😉

          See you

          Reply

  15. Mike Dickson August 24, 2018 at 6:22 pm #

    Do the products I create with your plugin continue to work if I don’t renew the plugin each year?

    And I assume it works with a grouped parent product?

    Reply

    • Pablo Pacheco August 24, 2018 at 6:42 pm #

      Hello,
      Yes, they will.

      It works with grouped products but it’s not fully compatible yet. Let’s suppose the following example:

      Grouped Product Collection
      – Product A (50$)
      – Product B (40$)
      – Product C (30$)

      Customers will be able to set just one price for the main product and it goes to all products.
      If customers set 20$ for example, all products will be added to cart with this value.

      Reply

      • Mike Dickson August 24, 2018 at 6:54 pm #

        Wow – fast response!

        So, if I set up Products A, B, & C as name your price,

        If I select for example, Product A & enter $10 and B & enter $20, what is going to wind up in the cart?

        Reply

        • Pablo Pacheco August 24, 2018 at 7:49 pm #

          🙂

          If products A, B and C make part of a grouped product you will not be able to enter prices separately for each one if you are on the grouped product page.

          Reply

  16. Peekaboomall October 5, 2018 at 10:11 pm #

    Hello
    I just bought your plugin Name your price, I have followed the instructions by uploading the whole zip file from add plugin , and the message came that the plugin is uploaded and activated successfully, but when I visited my website I did not find anything there ?.
    what should I do? what is missing ?
    my URL http://www.peekaboomall.com

    Reply

    • Pablo Pacheco October 5, 2018 at 10:52 pm #

      Hello,

      You just have to visit any product page on admin and there will be a Product Open Pricing Metabox where you can enable it for each product you want

      Reply

  17. Peekaboomall October 5, 2018 at 10:56 pm #

    I spent more than 03 hours, I used different ways to install it, reinstall but still can’t see anything in the website !
    WordPress 4.9.8
    WooCommerce version: 3.4.5
    Please Pablo, assist as soon as possible

    Reply

    • Pablo Pacheco October 5, 2018 at 11:01 pm #

      Maybe the metabox is hidden.
      On admin product page, please click on screen options on the top of the screen and make sure the Product Open Pricing is there and enabled.

      If it’s not, please create a WordPress user for me using the email pablo@algoritmika.com

      Reply

  18. AHMAD MEREI October 5, 2018 at 11:32 pm #

    Sorry, Pablo I didn’t get you, would you send a screenshot please ?
    Under products tab, there is all products/attributes/tags/add new /categories

    Reply

  19. AHMAD MEREI October 6, 2018 at 6:29 am #

    Hello Pablo,
    product open pricing is not there! how I can make visible ?
    or how I can create a user using your email ?

    Reply

  20. AHMAD MEREI October 6, 2018 at 6:58 am #

    ok , I think i know how to create new user..should i give you contributor role to resolve this issue ?

    Reply

  21. AHMAD MEREI October 6, 2018 at 7:51 am #

    Ok Pablo , issue resolved , it should be enabled as mentioned.Thank you!

    But still don’t understand what is price step and how is differ from minimum rest.
    how I can make the customer see the original price the one that is visible before I enabled the plugin ?
    I mean I want the customer to see the original price under product, if they bargaining, simply they can put their price.
    One more thing, the quantity should be linked to minimum price and to be changed accordingly..
    for example: if one item price is 9$ and then i will allow the customer to put 5$ minimum, if he put 4 will not accepted.
    now if he wants to buy 2 items the price should be 18$ and then the minimum in this case should be 10$ not 5$ otherwise if he can buy 5 items or (even unlimited items) with only 5$ !! Doesn’t make sense!

    Reply

  22. AHMAD MEREI October 6, 2018 at 8:06 am #

    I really appreciate your assistance to explain to me what is each field doing and how I can use them price step,minimum price..etc as I noticed for example when i put minimum price as 3$ and price step 5& this will allow the customer 3$ which is minimum price.. so please explain to me how it works in addition to aforementioned above.
    Thank you

    Reply

    • Pablo Pacheco October 6, 2018 at 2:54 pm #

      Anytime 🙂

      Regarding your first question:
      “how I can make the customer see the original price the one that is visible before I enabled the plugin ?”
      It’s not possible for now. But I think I can develop it for you for the next version 🙂

      The min price is set individually. If the min price is 3$ and the customer buys 2 items he will have to spend at least 6$

      Reply

  23. AHMAD MEREI October 6, 2018 at 7:51 pm #

    Hello Pablo,
    I will be waiting for your your next development.
    secondly, as i mentioned above if I set 3$ per/item the customer will not be able to pay less than that, but if he wants to buy 02 items, then I should not keep the min price 3$ , it has to be 06$.
    In another word the formula should be as follows:
    If min price is 3$ then customer will pay 3$ or more for one item.
    If the customer wants to buy more 02 items then min price 3$ should be changed 06$ accordingly , 03 items 09$ and so on.
    what do you think?

    Reply

  24. AHMAD MEREI October 8, 2018 at 3:32 pm #

    Hello Pablo,
    I hope you’re doing fine, I hope you found a way for the above.

    Thank you

    Reply

    • Pablo Pacheco October 10, 2018 at 1:25 am #

      Hi Ahmad,

      Regarding the min price I’m afraid we won’t change this for now, as users are used to it the way it is and we think it has been working just fine, but we will keep an eye on it.

      Besides that, I’m glad to say I just updated the plugin to version (1.1.8) and I ended up creating two new options:
      – Hide price
      – Hide loop price

      In your case you can simply disable them and the prices will be displayed again
      I think it will suit you just fine 🙂

      Please tell me what you think about it.
      See you

      Reply

  25. AHMAD MEREI October 12, 2018 at 12:36 pm #

    Thank you Pablo,
    I will keep waiting for a formula for multiple products as mentioned above.
    Nice update, I like it.
    Would you tell what is price step means, I mean how I can use it ?

    Reply

    • Pablo Pacheco October 12, 2018 at 1:51 pm #

      Anytime 🙂
      Sure, It’s the interval which users can increase or decrease a value. If it’s 2 and users click on the up or down arrow it will change from a 2 basis. Please look at this link:
      https://www.w3schools.com/tags/att_input_step.asp

      Reply

  26. Ehtisham October 15, 2018 at 9:45 am #

    Hi… can i have the documentation of the plugin. How to use it?

    Reply

    • Pablo Pacheco October 15, 2018 at 10:09 pm #

      Hi,

      The documentation is on the description tab.
      But the plugin is very simple. All you have to do is go to the product page on admin side and enable it on Product Open Pricing Metabox

      Reply

  27. ClearTelecomUS Ltd October 21, 2018 at 8:47 am #

    Hi,

    We want to submit a form with post method to our website page and then pass the id of the product as well as the the value of the price and then add it automatically to the cart and then redirect the customer to the checkout and process the payment.

    Please, let us know how we can do that for this plugin.

    Thanks…

    Reply

  28. ClearTelecomUS Ltd October 23, 2018 at 10:04 pm #

    Thanks, we already did it with an almost same way as you did but we use a form with action is the url of the cart endpoint and the price passed as a field for the post action and it works fine.

    Reply

    • Pablo Pacheco October 24, 2018 at 12:24 am #

      Glad to hear it 🙂

      Reply

Leave a Reply

Changelog

= 1.1.8 - 09/10/2018 =
* Fix compatibility with Currency Switcher on getting value from request
* Add option to display original price on both loop and single product page

= 1.1.7 - 18/08/2018 =
* Fix input sanitizing

= 1.1.6 - 17/08/2018 =
* Fix woocommerce_loop_add_to_cart_link filter with correct args quantity

= 1.1.5 - 16/08/2018 =
* 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.4 - 06/08/2018 =
* 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'
* 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'
* Add option to remove up/down ticker buttons from the input field

= 1.1.3 - 18/06/2018 =
* Add span to %currency_symbol% template
* Add min and max attributes for price input
* Add %minimum_price% and %max_price% to frontend template
* Update WC tested up to

= 1.1.2 - 10/04/2018 =
* 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 - 02/01/2018 =
* Dev - "Disable Quantity Selector" option added.
* Dev - Admin settings restyled.
* Dev - "WC tested up to" added to plugin header.

= 1.1.0 - 25/07/2017 =
* 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 - 01/02/2017 =
* Initial Release.

Installation

  • Buy the plugin 🙂
  • Download plugin's zip to your computer (you will receive an email with download link, or you can always download the plugin from your account).
  • Go to Admin Dashboard > Plugins > Add New > Upload Plugin and browse for downloaded zip file.
  • If plugin is successfully installed - you should see it added to the Plugins list.

Updates

To keep WPCodeFactory items up to date, please install WPCodeFactory Helper plugin and enter your site key.