• Resolved Eric Daams

    (@ericdaams)


    I just noticed a minor form inconsistency on the form displayed on the product page, which is that the email field correctly has its input type set to email, but the name field before that doesn’t have an input type specified. Not a huge deal, but it’s a little more consistent and makes it easier to style for people like me who tend to target the input type in their CSS 🙂

    Suggested change on line 60 of giftcard/product-functions.php:

    <input name="rpgc_to" id="rpgc_to" placeholder="<?php _e('To', RPWCGC_CORE_TEXT_DOMAIN ); ?>" class="input-text" style="margin-bottom:5px;">

    Change it to:

    <input type="text" name="rpgc_to" id="rpgc_to" placeholder="<?php _e('To', RPWCGC_CORE_TEXT_DOMAIN ); ?>" class="input-text" style="margin-bottom:5px;">

    https://wordpress.org/plugins/gift-cards-for-woocommerce/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Minor form inconsistency on product page’ is closed to new replies.