• Resolved dgann0n

    (@dgann0n)


    When I go to the ‘fields’ tab in settings, I try to set the product name to “not required” and it still makes it require even when I do a hard refresh.

    I’d rather remove product name completely but I’m using CSS to hide that form. Unfortunately it is stuck on being required so even when I hide it, it keeps asking.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter dgann0n

    (@dgann0n)

    If anyone has the same problem, a fix (if they don’t fix the bug) is to add:

    <script>document.getElementById(“Product_Name”).required = false;</script>

    to your footer.php file. You could also make a new JS file and include it in your functions.php if you want instead.

    Adding that line will force the product name to not be required, so that when you do hide it (with Display:none) the form will still go through.

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    See the other thread you posted in about this exact same thing. You need to have in-depth fields enabled for the rest of the field-specific options to have any effect.

    Thread Starter dgann0n

    (@dgann0n)

    I know this. And I do have in-depth fields enabled. I have ‘required’ set to “no” for product name. It still doesn’t work.

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi @dgann0n

    It looks like setting Product Name’s “Required?” option to No is not removing the required attribute from the input tag. We’ll take a look at this and put out an update when we sort out the issue.

    In the meantime, you can continue using the footer.php workaround you mentioned or one we suggested in the other thread.

    Thread Starter dgann0n

    (@dgann0n)

    Thank you. I always appreciate when developers respond to support questions about their plugins. Most do not. I gave you a 5 star review, thanks again!

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    You’re welcome. Thank you for the kind words and the positive review, it’s much appreciated!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Setting Product Name ‘Not Required’ Doesn’t Work’ is closed to new replies.