How to set catalog_visibility (in basic plugin)
-
Hi,
we need to set the “catalog_visibility” field (as named in postman), but it does not seem to work the way we try it.
We use an ERP system to push the products to our woocommerce shop. The system does not include the option to push the catalog visibility (not the extension, but the basic setting on the right side, when in the single product – just below “published on”). What we can do is create a custom field in our ERP, connect it to an article attribute and thus push the settings we need.
When I check the product with postman, the field we want to set is called “catalog_visibility”.
We thus created a field in our ERP with the exact values visible/catalog/search/hidden as we see in postman and tried assigning the article attribute “catalog_visibility” and also “_visibility” (but I think this one is for the extension plugin), but it didn’t work.
Has anyone any idea, which attribute (the name) we need to use, to set the visibility of the product?
Thanks!
- The topic ‘How to set catalog_visibility (in basic plugin)’ is closed to new replies.