Products No Longer Offered – Best Practice

I was asked this morning how to handle the situation when you no longer offer a product for sale – but want to retain it’s details.

The answer is fortunately simple. Add a custom boolean attribute to the catalog – such as IsAvailable. Set it to True for products that are available and False for products that are not. Then on the site, modify the catalog display code to filter products by this attribute.

Customers will only see products that are available and business users can see everything – including historical products.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.