-1

Hide all simple products from Catalog or Search results that are added in the configurable products?

2
  • 1
    Set the configuration products as "invisible individually" and only the parent as visibility "Catalog/search" Dec 23, 2021 at 9:32
  • It is not working @AlanZavagli
    – VLiot
    Dec 28, 2021 at 6:53

1 Answer 1

0

In the General tab of the simple products, set Visibility to Not Visible Individually. This will hide them from the front-end, but keep them enabled for use with the configurable products.

This can also be done programmatically if that's how you're creating the products:

$product->setVisibility(Mage_Catalog_Model_Product_Visibility::VISIBILITY_NOT_VISIBLE)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.