• Resolved smallwebsolutions

    (@smallwebsolutions)


    I am testing an installation of this plugin on my client’s (non-public) shop and while most functions seem to be operating okay, there seems to be no field validation in order to place a gift card in the cart. Shouldn’t the email fields/messages be required fields prior to adding to the cart?

    If you are the developer and can help me, I can provide a private link to view the page. If I can get this functioning correctly, I believe we will be buying the pro version.

    Thanks in advance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author pimwick

    (@pimwick)

    The “To” and “From” fields are required fields. They have the “Required” flag on the fields so that the form cannot be submitted.

    Additionally, the “To” field has javascript validation to make sure the email address is valid.

    If the product is still adding to the cart, your theme may be bypassing the form submission and doing it’s own thing. Temporarily switch to the “Storefront” theme that comes with WooCommerce and see if the issue resolves. If it still adds to the cart, then it isn’t the theme but another plugin.

    Plugin Author pimwick

    (@pimwick)

    I’m marking this thread as resolved but let us know if you have other questions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘No field validation prior to adding to cart’ is closed to new replies.