Okay
  Public Ticket #3762248
Make all product areas compulsory
Open

Comments

  •  42
    Anthony O Connell started the conversation

    Hi guys. 

    When I go to create a product, the Town / City  area is marked with an * asterix as compulsory so it has to be filled in order to be saved as draft or published. 


    Is it possible via php snippet to make  AttributesMain Product Image, Image Gallery, Categories and Tags compulsory also?

    This would ensure vendors would fill it out properly.


    I would make everything compulsory but we have a Password Protect Product option and this cannot be made compulsory because it will put everything behind a password wall.

    Thanks

  •  2,212
    WebWizards replied

    Hello Anthony,

    I added a code snippet here to your site: https://flexitime.ie/wp-admin/admin.php?page=wpcode-snippet-manager&snippet_id=18532

     

    This sets some restrictions such as: 

    3042559547.png

    (message shows when clicking on publish).

     

    I was not able to do it for Attributes yet though, this seems harder to check.

     

    Let me know if you have any issues with that,

  •  42
    Anthony O Connell replied

    Hi guys.

    That works very well.

    This should help a lot.

    Thank you