I need to hide related products from cart page.
I have created a module which converts selected related products name as custom options dynamically. When I add a product to cart after selecting its related products, I need to hide related products and show them just as product options for the main product.
I have added the code which creates custom options or "additional options" dynamically when a product is added to cart. I just need to hide the related products.
I don't want to hide the product throughout the site but just in cart. Is it possible to hide a product in cart dynamically?
Any help is appreciated.