Magento - Products not for sale

Magento - Products not for sale

August 17, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Magento - Products not for sale

Magento: Configuring Non-Saleable Products

Dealing with non-salable products on your e-commerce store can seem challenging, but it’s actually quite straightforward if you follow the right steps in Magento. In this post, we’ll walk through the process of setting up non-saleable products that remove the “Add to Cart” button and replace it with a link to a contact form.

Understanding Non-Salable Products

In Magento, the “salability” attribute determines whether your product is available for purchase or not. By default, all new products are set as salable. To make a product non-saleable:

  1. Navigate to Catalog > Manage Products in the admin panel.
  2. Select the product you want to configure.
  3. Click on “Inventory” under the “Inventory” tab.

Setting Salability Status

The key setting here is “Status”. By default, it should be set to “Enabled”. To make a product non-saleable:

  • Change the “Status” from “Enabled” to “Disabled”.
  • Save your changes.

This will effectively remove the item from the category page and search results, as Magento no longer considers it salable. However, the product still remains in your catalog for potential future updates or reference purposes.

Customizing Product Visibility

While disabling a product hides it from most areas of the storefront, you might want to display it in specific situations, like a “Contact Us” page with product inquiry links. For this:

  1. Go to Content > Pages and select the page where you want to show non-saleable items.
  2. In the content area, add your custom HTML or use a CMS block to pull in products based on category or attribute filters.

Here’s an example of pulling ‘Out-of-Stock’ products from Category ID 10:

<div class="contact-products">
    <?php
        $outOfStockItems = Mage::getModel('catalog/product')
            ->getCollection()
            ->addAttributeToFilter('status', array('eq'=>1))
            ->addAttributeToFilter('visibility', array('in' => array(4)))
            ->addCategoryFilter(Mage::app()->getStore()->getCategoryCollection()->getIdByLevel(2, 3));
    ?>
    <?php foreach ($outOfStockItems as $item): ?>
        <div class="product-contact">
            <a href="<?= $this->getUrl('catalog/product/contact/index', array('prod_id' => $item->getId())); ?>">
                <?= $item->getName(); ?>
            </a>
            <p><?= $item->getShortDescription(); ?></p>
        </div>
    <?php endforeach; ?>
</div>

This code pulls non-saleable products (visibility equals 4) from the specified category and displays them with contact links. The catalog/product/contact/index controller handles the form submission for product inquiries.

Conclusion

Configuring non-salable products in Magento is a simple yet powerful way to manage items that aren’t currently available but might be in the future. By combining this configuration with custom HTML or CMS blocks, you can create engaging storefront experiences even for your out-of-stock inventory.

At Laravel Company, we specialize in building robust e-commerce solutions using Magento and Laravel. If you’re looking to optimize your product catalog or need help with advanced Magento configurations, don’t hesitate to reach out!

Checkout Catalog Admin Configuration

Our network