Skip to content

magento man

Magento2 Add multiple configurable items into cart with same parent product

Magento2 multiply the qty of first item if add two configurable item into cart programmatically with same parent product. $items = [ [ ‘product_id’=>’47’, ‘parent_id’=>’62’, ‘qty’=>1 ], [ ‘product_id’=>’48’, ‘parent_id’=>’62’, ‘qty’=>1 ] ]; foreach($items as $item){ if(isset($item[‘parent_id’]) && !empty($item[‘parent_id’])){ //$quote… Read More »Magento2 Add multiple configurable items into cart with same parent product

Magento 2 REST API – Updating a single category also updates other attributes to not use the default value

Hopefully somebody can shed some light on this issue. I have a REST handler that will bulk-update products per store view. Like text translations etc. Since the provided attributes could be anything, ranging from core attributes and custom attributes I… Read More »Magento 2 REST API – Updating a single category also updates other attributes to not use the default value