Hide the gift card delivery date field

Hide the delivery date picker on gift card product pages. This changes the display only and does not prevent a date from being submitted.

Note:

This is a Developer level doc. If you are unfamiliar working with code and resolving potential conflicts, we recommend you work with a Woo Agency Partner for larger projects, or find a WooCommerce developer on Codeable for smaller customizations. We are unable to provide support for customizations under our Support Policy.

Test custom CSS on a staging site before adding it to your store.

The delivery date field shows Now when no date is selected. Add the following CSS to your site to hide the field on gift card product pages:

.woocommerce_gc_giftcard_form .wc_gc_giftcard_delivery {
	display: none !important;
}

Verify the change

↑ Back to top

Open a gift card product page and confirm the delivery date field is hidden. This changes the display only; it does not prevent a delivery date from being submitted.

Questions and support

↑ Back to top

Something missing from this documentation? Still have questions and need assistance?

  • If you have a question about a specific extension or theme you’d like to purchase, contact us to get answers.
  • If you already purchased this product and need some assistance, get in touch with a Happiness Engineer via our support page and select this product’s name from the Product dropdown.

Related Products

Offer Royal Mail shipping rates to your customers.

Notify customers when your products are restocked.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.