Developer forum

Forum » Ecommerce - Standard features » Replacement products

Replacement products

Stephen Anthony Jackson
Stephen Anthony Jackson
Reply

Havent found much in the documentation about replacement products.

Does anyone know if it is possible to configure ecom such that a search on an old product number / ean returns the replacement product instead?

Cheers

//Steve


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Hi Stephen

The Index contains a field with the replacement product id - but that sits on the product being faced out.

To configure the index to return the new product when searching the old SKU, I would recommend creating a custom product field, e.g. "Replaces SKU" and then on the new product have the SKU of the products it replaces and then include that field in searches so that it shows up.

The 'default' behavior of replacement products is that you leave the old product in so it can be searched, and then if it has a replacement product, show a message on the product detail page that the product has been replaced and link to that instead.

BR Nicolai

 

You must be logged in to post in the forum