Jump to content

Disable Employee newsletter subscription


Recommended Posts


this is my Temporal solution:

I edit thefile: /src/PrestaShopBundle/Resources/views/Admin/Configure/AdvancedParameters/Employee/Blocks/form.html.twig

at the end of the file I put this code:

    $( "#employee_optin_0" ).prop( "checked", true);
    $( "#employee_optin_1" ).prop( "checked", false);
    $('label[for="employee_optin"]').css('visibility', 'hidden');
    $( ".ps-switch" ).css('visibility', 'hidden');

I'm still looking for how to edit those options anyway. If anyone knows welcome

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...