Support » Plugin: YITH Donations for WooCommerce » Placeholder text

  • Resolved kghugo2000

    (@kghugo2000)


    Dear developers,

    I would like to add a placeholder label to the input box of the product page of donation with the following code, what should I do?

    Original code
    <input type="text" class="ywcds_amount_single_product" name="amount_single_product" value=">

    Code I want to add:
    <input type="text" class="ywcds_amount_single_product" name="amount_single_product" value="" placeholder="First name">

    Thank you so much for reading and your help.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there! You can simply override the template add-donation-form-single-product.php in your child theme with the changes applied.

    Thank you so much for replying. Do you mean copy the add-donation-form-single-product.php to my child theme root file and apply change on it?

    Plugin Author YITHEMES

    (@yithemes)

    Hi, yes you are correct 🙂
    the path should be wp-content/themes/yourchild/woocommerce/add-donation-form-single-product.php

    Best Regards

    kghugo2000

    (@kghugo2000)

    I see thank you so much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.