• Customer

    Checkout Page, Required Fields

    Posted by: MikaylaWCR Jul 24, 2019 at 23:14 (5 year ago)
    Hello! I am trying to figure out how to remove the "Required" action is for the Apartment/Suite/Unit in the 'checkout page'. Some of our customers might not have that to include - and I don't want to cause confusion.


    Thank you so very much!!! You have been extremely helpful in our needs!

  • Customer

    Posted by: yame, Jul 25, 2019 at 02:32 (5 year ago)

    Hi mate,

    Pls put these css code in function.php of theme. And remember to BACKUP this before you update theme to the new version:

    add_filter( 'woocommerce_checkout_fields' , 'boutique_override_checkout_fields' );
    function boutique_override_checkout_fields( $fields ) {
    unset($fields['billing']['billing_address_2']);
    return $fields;
    }

    Pls do it then let me know the result
    Regards,
    Yame
  • Customer

    Posted by: MikaylaWCR, Jul 29, 2019 at 01:22 (5 year ago)

    Hello. Tried adding that to the Function.php file and this is the error I received:
    Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

    Is there anything else I can try?
    Thanks!!
  • Manager

    Posted by: yame, Jul 29, 2019 at 03:12 (5 year ago)

    Pls provide me your ftp account then my coder will help you to check
  • Customer

    Posted by: MikaylaWCR, Jul 31, 2019 at 14:59 (5 year ago)

    ThankYou!
  • Manager

    Posted by: yame, Aug 2, 2019 at 03:17 (5 year ago)

    DONE. Pls check and backup the code in line: 395 - 399 of file function.php.
    You should backup it. If not, it will be lost when you update the Main theme.

    Regards,
    Yame
  • Customer

    Posted by: MikaylaWCR, Aug 6, 2019 at 00:07 (5 year ago)

    Just a quick question - did it need to be deleted? It seems as if it is gone. We just wanted to make sure it wasn't a required space to fill in, but still there just in case the customer did have an apartment number.

    Let me know. Thanks!
  • Manager

    Posted by: yame, Aug 6, 2019 at 10:44 (5 year ago)

    Sorry, you mean that you want to make this field to be the box that is not required to fill, right? You want the box is there, not removed completely, right?
  • Customer

    Posted by: MikaylaWCR, Aug 12, 2019 at 12:03 (5 year ago)

    Correct. Not removed, just only the 'required'. Thank you.
  • Customer

    Posted by: MikaylaWCR, Aug 12, 2019 at 12:03 (5 year ago)

    Correct. Not removed, just only the 'required'. Thank you.
  • Manager

    Posted by: yame, Aug 13, 2019 at 07:34 (5 year ago)

    DONE. Pls check it again then let me know your result

    The code is in file function.php and you should backup this code if you want to update the theme in the future

    Regards,
    Yame
  • Customer

    Posted by: MikaylaWCR, Aug 14, 2019 at 14:57 (5 year ago)

    Perfect!! ThankYou!!
  • Manager

    Posted by: yame, Aug 15, 2019 at 02:25 (5 year ago)

    You're welcome :)

    If you are satisfied with our support, would you please spend a little time to give us a good review + 5 stars on website https://themeforest.net/item/boutique-kute-responsive-woocommerce-wordpress-theme/reviews/14799139. It's really very worth with me.

    Thank you so much!
    Yame

INSTALLATION SERVICE

Theme Installation: $49. Pay now

CUSTOMIZED SERVICES

Use our expert service to turn your ideas into reality. Please send an email to kutethemes@gmail.com to provide the more detailed information. Thanks!

WORKING TIME

Our support service works from Monday to Friday.
Mean time (GMT +7):
+ 7:30 - 11:30 AM
+ 1:30 - 5:30 PM
We will try to answer all the questions within 24 hours and solve them as quickly as possible