Home Forums WoodMart support forum Custom Required Checkbox on Checkout

Custom Required Checkbox on Checkout

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #253203

    kingy
    Participant

    Hi, I am trying to add a checkbox on checkout, using the code here as I have done so on another site using a different theme: https://gist.github.com/thegdshop/3171026

    However, the checkbox appears on the left side under the customer notes field. I want it to appear on the right side above the “I have read and agree to the website terms and conditions *” checkbox.

    Also, as it is a required field, the error messages bugs out and don’t show any text when it is not clicked, as on my other site theme it all works flawlessly and shows all errors from not filling in required fields.

    I see another website using WoodMart and they have done so as can be seen: https://i.gyazo.com/620d2f909dbfd63ade4f6208bd4e25e7.png

    I basically want the same as them^. Is there an option in the theme?

    Any help or a solution?

    Thanks!

    #253205

    kingy
    Participant

    It’s fine! I used this code and it worked, as I c&p some html from their check box field and it showed me on Google which snippet they are using: https://wpbeaches.com/add-a-required-checkbox-field-in-woocommerce-checkout-page/

    It would be great if you can implement the ability to add multiple checkboxes on checkout 😀

    #253241

    Hello,

    We are glad that you have managed to solve the issue yourself. You are Great!!!

    For now and I am forwarding this to our development department for considering to add it to the theme, but I am not giving you the guarantee for that because please note that a theme cannot satisfy all requirements as it may occur theme heaviness. Sometimes it may require your own customization. So if the development department finds it fit with the theme environment then surely they will look through it.

    Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.

    Have a wonderful day.

    Topic Closed.
    Best Regards.

Viewing 3 posts - 1 through 3 (of 3 total)