Home » Magento3 December 2009

Magento: Get order option of configurable and bundle product in cart

We are not allowed to order configurable and bundle products directly. We have to select product options from product detail page of configurable or bundle product. Only then we can add the product to cart.

The following code fetches the order option selected for configurable and bundle products:

Hope this helps. Thanks.


Get New Post by Email

Find me on

FacebookTwitterGoogle+LinkedInRSS Feed
  • vishal lakhani

    Hi i want to show Bundle Product’s options on product Listing page i have Paste your code as below

    // For bundle product

    Get Following Error…. Help me to Solve it Please or Tell me how can i show Bundle product’s options on product listing page

    Fatal error: Call to a member function getCustomOption() on a non-object in /home/gizmoheart/public_html/app/code/core/Mage/Catalog/Model/Product
    /Type/Abstract.php on line 411