Open Rahmon opened 2 months ago
@Rahmon This actually appears correct to me, if a bit confusing. The UX in the new product editor is using the "hide" case, so these are flipped a bit from what you'd expect. But, you see that the visibility
attribute is set correct on each block.
Please let me know and provide detailed reproduction steps if you still believe this to be incorrect.
The IDs of the fields
Hide in product catalog
andHide from search results
are inverted:https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/src/Internal/Features/ProductBlockEditor/ProductTemplates/SimpleProductTemplate.php#L456