0

I would like to show specific category products in a cart page when one of its product from that category is added to the cart and also would like to show all those products in carousel. Can anyone please guide me on this? Thanks

0

In your phtml file you can add this code

<?php echo $this->getLayout()->createBlock('catalog/product_list')
          ->setData('category_id','$YourCategoryId')
          ->setTemplate('catalog/product/list.phtml')->toHtml(); 
?>

And you can provide your category id with some condition and change phtml file for your diff, design.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.