i dont think show on home page should be there, I limited it for admin only... I would also add some server-side validation. See changeset f3bea21dc6ac
//cannot enable "show on home page" model.ShowOnHomePage = false;
by adding this to edit a vendor will reset the value to false when ever product is saved. admin may add the product to home page and the vendor will set it to false
by adding this to edit a vendor will reset the value to false when ever product is saved. admin may add the product to home page and the vendor will set it to false
Thanks. Agree. But in this case a vendor can send any value to a server. But it's better because a store owner will see it anyway and can block a vendor in this case
BTW, you solution will also reset the value. For a valid solution please see the latest version (we should hide the field on the client-side, not on a server-side)