Support

Account

Home Forums Front-end Issues Display custom field on woocommerce checkout page Reply To: Display custom field on woocommerce checkout page

  • I am trying to add a new field in the checkout page but I am having an error. I am having this line as error

    if (!$_POST[‘customised_field_name’]) wc_add_notice(__(‘Please enter value.’) , ‘error’);

    I have completely checked the code but still, I am having an error. I have followed the WooCommerce checkout page tutorial and implement the same as discussed in the article. Can you help me to resolve this issue?