• Resolved slewisma

    (@slewisma)


    Testing PW Gift Cards. On the product page, each recipient entered in the To field gets counted to set the Quantity. But until a recipient is entered, the Quantity shows at 7 because the words in the placeholder text are being counted. The common word-around for this jQuery.val() flaw is to compare the jQuery.val() to the placeholder and set the variable the val is going into to “” if they match. Is this something you can do for this otherwise useful plugin? Otherwise we’re afraid it will confuse / concern buyers and we’ll sell less gift cards.

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

    (@pimwick)

    I’m not sure I understand the issue that you’re having. Could you let me know the URL for your gift card product page so I can take a look directly? There could be a conflict with your theme.

    If you would prefer not to share your store URL in these public forums, send an email to [email protected] thanks!

    Plugin Author pimwick

    (@pimwick)

    We corresponded via email. It turns out the theme is using JavaScript to push the HTML placeholder text into the Input Value during the page load.

    Thread Starter slewisma

    (@slewisma)

    Thanks for your help. Removing the theme’s mis-implemented code for the old IE placeholder workaround did indeed solve the problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘To: Placeholder text gets counted as recipients in Qty’ is closed to new replies.