4 votes
Accepted

Apply configurable product images to ours associated simple products Magento 1.9.x

I've created a script for the same. You can achieve this by executing the script on your website. For Magento 2 <?php ini_set('display_errors', 1); ini_set('display_startup_errors', 1); ...
Sumit's user avatar
  • 4,855
3 votes
Accepted

Magento 2 : How to associate simple products to the configurable products programmatically

I found the solution: Load product configurable by ID: $associatedProductIds = [2060,2061,2062,2063];//Simple Product ids array $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $...
St3phan's user avatar
  • 2,907
3 votes
Accepted

Count Number of Associated Products Assigned to a Configurable Product

While the approach offered by jigs parmar does work, it is a HUGE performance hit if used in a loop! A much better approach is: $childIds = $_product->getTypeInstance(true)->getChildrenIds($...
Michael Yaeger's user avatar
2 votes
Accepted

Get product Category from Parent Product using SQL query

You can use below query to get parent product category id if there is no category assigned to associated products. $_resultCollection->getSelect()->joinLeft('catalog_category_product', 'e....
Jaimin Sutariya's user avatar
2 votes

How to know if simple product is associated with a grouped product?

There is nothing out of the box that will do that. It is possible to create a custom page that can produce that information just like any other adminhtml grid. If its built properly you can sort ...
RussellAlbin's user avatar
2 votes

Import Configurable Product in Magento with all the details in only 1 row per product in CSV file

You need one row per simple and one for each configurable
Nils Preuß's user avatar
1 vote
Accepted

Magento 2 - How to get minimal price of associated simple price of Grouped Product in phtml

You just need to add this code in your phtml file. Variable lowest price has the minimal price. $lowestprice = 0; $count = 0; if ($_product->getTypeId() == 'grouped') { $usedProds = $_product-...
Muhammad Hasham's user avatar
1 vote

How to get configurable product options on associated product page?

You'll need to build product URLs for each product variant using the configurable product's URL Key since the associated products are not visible individually. Append the following parameters to the ...
MagentoAaron's user avatar
1 vote

Magento2: Configurable product showing out of stock child products

I've fixed this issue by overriding the below file in our custom module: \Magento\ConfigurableProduct\Helper\Data.php Below are the complete steps: 1) Add below statement in your module's di.xml &...
Deeps's user avatar
  • 786
1 vote
Accepted

Geting list of associated products of group product

You assign all product to one variable $associatedProducts, you should use array instead of it. Try to get them in such way $associatedProducts = array(); $products = Mage::getModel('catalog/product')...
olkuznw's user avatar
  • 146
1 vote

Count Number of Associated Products Assigned to a Configurable Product

$product_confi = Mage::getModel('catalog/product')->load('1100'); //configure product id $childProducts = Mage::getModel('catalog/product_type_configurable')->getUsedProducts(null,$product_confi)...
Jigs Parmar's user avatar
  • 2,438
1 vote
Accepted

Option: false for configurable associated products imported with Magmi

The clues in UPDATE 2 gave me idea to look up the backend_type of the attributes. Don't ask me why just intuition. Anyway they were set to varchar. I changed them to int and that solved the problem. ...
Michael's user avatar
  • 127

Only top scored, non community-wiki answers of a minimum length are eligible