Thank you for that change. I think the code provided breaks the experience on the vendor page however, for the popup add product view.
edit: it seems to be due to $is_allow blocking other actions outside of products.
-
This reply was modified 6 years, 4 months ago by kaufmann42.
It appears that this works initially but as soon as a policy is set it can be removed (made blank in the store policies tab) and then this validation no longer works. Any way to check if a policy is populated for validation?