Woocommerce - Restrict/hide fields that are visible during registration
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
Go to WP-Admin
Go to Appearance --> Customize
Go to Extra CSS
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;
}