Checkout and Registration page - by gho12139

This topic has 10 replies, 2 voices, and was last updated 8 years, 11 months ago ago by Jack Richardson

  • Avatar: gho12139
    gho12139
    Participant
    December 23, 2015 at 09:29

    Hi,

    I would like to edit/add/remove lines in the Checkout- and Registration page

    I know I need to edit et-registration.php but I don’t know how to do it. What lines do I use?

    For the Checkout page I don’t know which file to edit and how to do it.

    Can you please help me?

    Kind regards

    Gwenny

    9 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 23, 2015 at 10:35

    Hello,

    Please specify what lines exactly you want to remove.

    Best regards,
    Jack Richardson.

    Avatar: gho12139
    gho12139
    Participant
    December 23, 2015 at 15:02

    Hi Jack,

    On the registration page I would like to add:

    Name (Naam)
    Adress (Adres)
    Postcode (Postcode)
    City (Woonplaats)
    Telephone (Telefoonnummer)

    On the checkout page I’ve managed to edit a few things with woocommerce field editor but still there is a field with “Adress 2” which I cannot remove or edit and that field needs to be “City” (Woonplaats)

    Kind regards,

    Gwenny

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 23, 2015 at 19:23

    Hello,

    To remove some fields on Checkout page you can refer to this article:
    http://www.wpmayor.com/how-to-remove-the-billing-details-from-woocommerce-checkout/

    To add more fields in registration form you need edit the file et-registration.php and add the needed fields according to examples as other fields are added, i.e.

    <p class="form-row form-row-first">
                                        <label><?php _e( "Enter your name", ETHEME_DOMAIN ) ?> <span class="required">*</span></label>
                        				<input type="text" name="name" class="text" value="" />
                        			</p>

    Best regards,
    Jack Richardson.

    Avatar: gho12139
    gho12139
    Participant
    December 26, 2015 at 12:03

    Hi Jack,

    There is still an extra field “adress2” showing on checkout page, can’t seem to remove that.

    Can you please help?

    Happy Xmas by the way!

    Kind regards,

    Gwenny

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 28, 2015 at 09:03

    Hello,

    I’ve added the code in wp-content/themes/idstore/functions.php as described here http://www.wpmayor.com/how-to-remove-the-billing-details-from-woocommerce-checkout/ :

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

    Merry Christmas!

    Best regards,
    Jack Richardson.

    Avatar: gho12139
    gho12139
    Participant
    December 28, 2015 at 10:35

    Hi Jack,

    Thank you!

    I noticed that on the login page and also on the register page?, the buttons “forgot password” and “signin” overlap. I think it’s because the Dutch translation is a bit too long for the buttons.

    Can you fix that?

    Kind regards,

    Gwenny

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 28, 2015 at 11:56

    Hello,

    I’ve added the css code in your custom.css file:

    form.login .lost_password {
        left: 0 !important;
    }

    Please check it now.

    Best regards,
    Jack Richardson.

    Avatar: gho12139
    gho12139
    Participant
    December 29, 2015 at 08:26

    Hi Jacj,

    Thank you! You are a great help!

    Kind regards,

    Gwenny

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 29, 2015 at 08:53

    Hello,

    You are welcome!

    Best regards,
    Jack Richardson.

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Checkout and Registration page’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.