Support » Plugin: Checkout Field Editor (Checkout Manager) for WooCommerce » Default Values in users My Account Page

  • Resolved cherrygroup


    I’m using checkout fields for adding default values in checkout page.
    But i want the same thing to be done at users My Account Edit Address page.
    So i had used this code but still this is not working please help

    add_filter( ‘woocommerce_default_address_fields’ , ‘default_values_edit_address_form’ );
    function default_values_edit_address_form( $fields ) {
    $fields[‘city’][‘default’] = ‘Some City’;
    $fields[‘country’][‘default’] = ‘Some Country’;
    $fields[‘state’][‘default’] = ‘Some State’;
    return $fields;

Viewing 1 replies (of 1 total)
  • Plugin Author ThemeHigh


    Unfortunately, the lite version of our plugin doesn’t have an option to set a default value for the fields in the My Account page.

    Thank you!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.