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 topOpen 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 topSomething 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.