- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2015
02:27 AM
04-24-2015
02:27 AM
Search configurable product by a child SKU
Hi to all, I need to search for a configurable product by a child SKU (without make visible on search each simple product)... How it's possibile? Any idea?
Thanks a lot!
Stefano
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2015
03:43 AM
04-24-2015
03:43 AM
Re: Search configurable product by a child SKU
First of all, search the Child Products By Sku and from that list you find the configurable product of that child Product.
Was my answer helpful? You can accept it as a solution.
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2015
07:21 AM
04-24-2015
07:21 AM
Re: Search configurable product by a child SKU
$products = Mage::getModel('catalog/products') ->getCollection() ->addAttributeToFilter('sku', YOUR_SIMPLE_SKU);
then join $products with catalog_product_link, catalog_product_link_type to find the parent products
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-24-2015
07:22 AM
04-24-2015
07:22 AM
Re: Search configurable product by a child SKU
if you are talking about the search box in front page, then you will have to rewrite fulltext indexer engine.