• Resolved wpsoftcode

    (@wpsoftcode)


    Hello there – first of all thank you so much for this plugin – finally we have a plugin that works like GiveWP but with WooCommerce and really useful for organizations that are just starting and can’t invest much.

    I have an issue – could you please tell me how I can restrict users to change the donation amount on the checkout page? Right now they can edit the amount for all 3 Layout of Amount suggestions options:

    • Just input box
    • Radio/button selection
    • Input box + Range slider

    Could you please tell me how I can restict them for “Just input box” option?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jonas

    (@flinnn)

    Hi wpsoftcode,

    thanks for reaching out.
    I’m not sure if I understand you correctly. You mean that users can enter a donation amount on the product page but not on the checkout page? You can add the following CSS to your checkout page to hide this:
    #wcdp {display: none !important;}

    Best,
    Jonas

    • This reply was modified 1 year ago by Jonas.
    Thread Starter wpsoftcode

    (@wpsoftcode)

    Hi Jonas,

    No I mean – how can I restrict user to edit amount on checkout page that shows for a product on selecting “Just input box” in Woo Product > Donations settings.

    —————-

    Also I have one more question, can you suggest any code that I can use in functions.php to change this text: https://i.imgur.com/CUTdnIC.jpg, on checkout page?

    I don’t want to edit directly in the plugin file because the changes will be lost once I update the plugin in the future. For this small change, I don’t want to install any other plugin so if you can provide a code that I can put in theme’s functions.php to change, it will be very helpful. Any other method will also work.

    Plugin Author Jonas

    (@flinnn)

    Hi,

    I still do not understand what you want to achieve. If you add the CSS code from above, the input field from the screenshot is hidden.
    Regarding your second question: you can set this title in the Plugin settings: ‘”Your Contribution” Title Text’.

    Best,
    Jonas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Restrict changing the Amount’ is closed to new replies.