I have a magento store in which we already created more than 300 products. The thing is each 10 to 15 products are more than 80% same name format.
Eg:
Embroidered Vine - 12
Embroidered Vine - 13
Embroidered Vine - 14
Embroidered Vine - 15
Embroidered Vine - 16
Embroidered Vine - 17
Here right now am showing the other related items by entering those items in description field. Instead i want to run a script and the script will needs to add the related products automatically because product names are similar except the last two characters. Please can some one tell me how i can setup related products in magento by code automatically.
Is there any function like setRelatedItems() to the product in magento.
Am using magento 1.4.2