• Resolved miguelapps

    (@miguelappslaparra)


    How to leave the price white for some user roles?

    I have multiple user roles to display prices in store, retail and wholesale
    Each product has a price for each type of user, (Retail Client: Cap €10 / Wholesale Client Cap €7)
    Each one when you log in, you have your personalized prices.
    The problem arose when I left the WooCommerce Normal Price field empty.
    By default WooCommerce removes the add to cart button, and even though I have the Wholesale price field filled, this doesn’t work, and the price remains empty for all users
    Some of the products are only available to one class of User, the wholesaler.

    This also happens with the “Reduced Price” field, we cannot leave the Normal Price empty, and complete the Reduced Price, since it is also shown empty and does not work

    It is necessary that retail customers cannot buy this product, but Wholesale customers can buy it, but with the default behavior of WoCommerce, this is impossible.

    What can I do so that the WooCommerce Normal Price is empty and those who have the Wholesale price can add the product to the cart?

    How can I leave the Normal Price field empty and use another price field so that the product can be added to the cart?

    • This topic was modified 1 year, 11 months ago by miguelapps.
    • This topic was modified 1 year, 11 months ago by miguelapps.
    • This topic was modified 1 year, 11 months ago by miguelapps.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Howdy @miguelappslaparra

    From what I gather, you would like to display prices to wholesaler users, but not other user roles.

    Feel free to check out the “Role Based Pricing for WooCommerce” plugin, linked here.

    I trust that points you in the right direction, but if you have more questions, let us know. We’re happy to help.

    Thread Starter miguelapps

    (@miguelappslaparra)

    Thanks for your information @anastas10s
    At the moment I cannot make an investment of this type.
    I just need to know how I can delete when I leave the Normal Price empty.
    When I add a Sale Price, and leave the Normal Price field without adding a price, the same thing happens as well.
    Isn’t it possible to do this somehow from within WooCommerce?

    I already have a price assigned, you may think that I want to assign the Reduced Price and leave the Normal Price empty.
    That’s what I’m trying to do, just with another section
    I hope you have another solution for this

    Thanks for your support


    Hi @miguelappslaparra

    What can I do so that the WooCommerce Normal Price is empty and those who have the Wholesale price can add the product to the cart?

    How can I leave the Normal Price field empty and use another price field so that the product can be added to the cart?

    Going back to your original inquiry here, I believe you are using a third-party plugin to display Wholesale Prices, since this is not part of the core functionalities of WooCommerce, correct?

    Since this is a third-party plugin which we don’t provide support for (please see our Support Policy here), it would be best reaching out to the plugin’s developers for further assistance here.

    All the best and hopefully, the issue will be fixed soon.

    Thread Starter miguelapps

    (@miguelappslaparra)

    Thanks for your support @xue28
    Regardless of the plugin I use, WooCommerce does not allow me to leave the price blank.
    I already removed the plugin I was using, but WooCommerce won’t let me leave the price empty.

    If I put a price in the “Reduced Price” and leave the “Normal Price” empty, the product does not work.
    How can I correct this?
    Of course I don’t want you to help me configure another non-WooCommerce plugin.

    My question is only related to WooCommerce.

    Can I leave the Normal Price empty and the product can show a Discounted Price?

    Maybe I should start a discussion explaining my needs and what I’m looking for.

    What do you think @xue28

    Can I leave the Normal Price empty and the product can show a Discounted Price?
    Thank you, I think that WooCommerce is not as good as they say, it limits users to follow certain rules

    Hi @miguelappslaparra

    Can I leave the Normal Price empty and the product can show a Discounted Price?

    Thank you for providing further information on your issue here. I understand that you would like to add an amount to the Sale Price while leaving the Regular Price empty, is that correct?

    This isn’t possible with the core functionalities of WooCommerce since the Sale Price by default is the discounted price of the Regular Price. Hence, you need to add an amount first to the Regular Price prior to adding the Sale Price which should be lesser than the Regular Price.

    In your scenario, this would be the error message you will receive. Furthermore, saving this setting will only delete the amount of the Sale Price afterwards.

    In this regard, these forums are meant for general support with the core functionality of WooCommerce itself. What you want to achieve is a bit complex and would require customization to do it. Since custom coding is outside our scope of support, I am leaving this thread open for a bit to see if anyone can chime in to help you out.

    For questions related to development and custom coding, your best bet is to ask on any of these channels for support. We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, too.

    Hope this helps!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to leave the price white for some user roles?’ is closed to new replies.