Hello,
I did a quick test and your site is using an AJAX add-to-cart that isn’t compatible with the gift card product. Most AJAX add-to-cart options will pull the full form data just like WooCommerce does, however you can see that the To / From / Message fields are not displaying in the Cart prior to checkout.
A quick solution is to disable the AJAX add-to-cart option for your site. Less drastic is to disable it per-product.
We have encountered this with a couple of other themes in the past, you could try one of these two code snippets to see if it helps in your situation.
Follow these steps to make the Add-to-cart process work correctly for the PW Gift Card product type.
1. Download the functions.php from your FTP server at /wp-content/themes/<your theme>/functions.php
2. Keep a backup of functions.php in case there are problems.
3. Edit functions.php and scroll to the very end and add this code.
Note: if the last line is “?>” then put this code *above* that line. Otherwise, this code goes at the very end of the file:
// Added by Pimwick, LLC ([email protected])
// Disable the AJAX add-to-cart for the PW Gift Cards product since it
// does not correctly add the fields to the cart item data.
function pimwick_et_option_ajax_addtocart( $value ) {
global $product;
if ( is_a( $product, 'WC_Product_PW_Gift_Card' ) ) {
return false;
}
return $value;
}
add_filter( 'et_option_ajax_addtocart', 'pimwick_et_option_ajax_addtocart' );
4. Save the functions.php file and re-upload it to your server.
If you have any problems, replace functions.php with your backup file.
If that code doesn’t change anything, try this instead:
// Added by Pimwick, LLC ([email protected])
// Disable the sticky cart for the PW Gift Cards product since it
// does not correctly show the fields on the main page.
function pw_gift_cards_disable_wc_sticky_cart( $value ) {
global $product;
if ( is_a( $product, 'WC_Product_PW_Gift_Card' ) ) {
return 1;
}
return $value;
}
add_filter( 'theme_mod_disable_wc_sticky_cart', 'pw_gift_cards_disable_wc_sticky_cart' );
Let me know if you have any questions!