1

I have manually added one combo box on product view page. Now when customer add that product to the cart, I want to display selected combo box value on cart page.

Please refer my below screen shot to get a better idea.

enter image description here

4
  • Please see: magento.stackexchange.com/questions/110531/…
    – tecjam
    Commented Apr 13, 2016 at 12:22
  • @tecjam I want to override \Magento\Downloadable\Block\Checkout\Cart\Item\Renderer for this purpose. So can you please help me. Your given link is not useful to me.
    – Krupali
    Commented Apr 13, 2016 at 12:35
  • I do not think you need to override the renderer - actually you could do all of this directly in the template I have overridden in the above link. In the template you are given the options <?php if ($_options = $block->getOptionList()):?> - this gives you the Downloads: Episode 3 output. Now do anything you want afterwards.
    – tecjam
    Commented Apr 13, 2016 at 12:42
  • @tecjam this is only useful for downloadable product type.But what for else ?
    – Krupali
    Commented Apr 15, 2016 at 4:56

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.