$items=$order->getAllVisibleItems(); foreach ($items as $id=>$item){ $product = Mage::getModel('catalog/product')->load($item->getProductId()); $ ...
5 Answers. 5. order by. active, oldest, votes. Up vote 26 ...
Get custom options of products present in shopping cart. $objectManager = \ Magento\Framework\App\ObjectManager::getInstance(); $cart = $objectManager- >get ...
... get product attribute for product items in Order. $orderAllItems = $this->order-> getAllItems(); foreach ($orderAllItems as $orderItem) { $options ...
Retrieve custom options of products present any order.
Using Magento 2 we can get selected variant of configurable Product in any page by loading item collection of order. Check Blog of Magento ...
So in order to get option values, use the next code. //$this->optionFactory \ Magento\Catalog\Model\Product\OptionFactory $customOptions ...
here _cartModel is an instance of \Magento\Checkout\Model\Cart . itemOptions contains custom options of item. 2 => get custom option from order ...
The option SKU is a suffix that is added to the product SKU. To change the order of the options, click the Change Order icon and drag the option ...
In this post, i'll show you how to get a custom option value, iterating through order items, with the option sku. First step, is having your option sku ...