Woocommerce - Restrict/hide fields that are visible during registration

Edited

If you want to reduce the number of visible fields when registering, you can add a CSS code by adapting the theme used on the website

  1. Go to WP-Admin

  2. Go to Appearance --> Customize

  3. Go to Extra CSS

  4. Copy and Paste the following code:

/** START DILLER LOYALTY PLUGIN **/

/** https://<kundensnettside>/innmelding-kundeklubb **/

#dillerEnrollmentForm select[name="gender"], label[for^="gender"],

#dillerEnrollmentForm input[name="address"], label[for^="address"],

#dillerEnrollmentForm input[name="postal_code"], label[for^="postal_code"],

#dillerEnrollmentForm input[name="postal_city"], label[for^="postal_city"],

#dillerEnrollmentForm select[name="country"], label[for^="country"]{

display: none !important;

}

#dillerEnrollmentForm > div.diller-form-group:nth-child(7),

#dillerEnrollmentForm > div.diller-form-group:nth-child(8),

#dillerEnrollmentForm > div.diller-form-group:nth-child(9),

#dillerEnrollmentForm > div.diller-form-group:nth-child(10),

#dillerEnrollmentForm > div.diller-form-group:nth-child(11) {

display: none !important;

}