How to load all products with certain type - e.g. all configurable products?List configurable products with certain criteriaGetting all products without associated productsHow to fetch new products from all category in magento 1.7.0?how to get all attributes name and value from configurable productGet all Categories of Products in Category - PHPHow to load products from a specific category based on special price availability?How to get selected percentage discount all productsHow to get all of those products which are selected in two parent categories?How do I get all the products in an E-Commerce website developed in MagentoGet product collection for products with default name attribute
How can "mimic phobia" be cured or prevented?
What are the advantages of simplicial model categories over non-simplicial ones?
Can I still be respawned if I die by falling off the map?
Terse Method to Swap Lowest for Highest?
Extract more than nine arguments that occur periodically in a sentence to use in macros in order to typset
Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?
Can disgust be a key component of horror?
How do you respond to a colleague from another team when they're wrongly expecting that you'll help them?
15% tax on $7.5k earnings. Is that right?
Open a doc from terminal, but not by its name
Using substitution ciphers to generate new alphabets in a novel
Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?
Why is it that I can sometimes guess the next note?
How to fade a semiplane defined by line?
Is there an injective, monotonically increasing, strictly concave function from the reals, to the reals?
Are Captain Marvel's powers affected by Thanos' actions in Infinity War
Why can Carol Danvers change her suit colours in the first place?
Why is the "ls" command showing permissions of files in a FAT32 partition?
Why is this estimator biased?
Is there a RAID 0 Equivalent for RAM?
Does IPv6 have similar concept of network mask?
Lowest total scrabble score
What exact color does ozone gas have?
How much character growth crosses the line into breaking the character
How to load all products with certain type - e.g. all configurable products?
List configurable products with certain criteriaGetting all products without associated productsHow to fetch new products from all category in magento 1.7.0?how to get all attributes name and value from configurable productGet all Categories of Products in Category - PHPHow to load products from a specific category based on special price availability?How to get selected percentage discount all productsHow to get all of those products which are selected in two parent categories?How do I get all the products in an E-Commerce website developed in MagentoGet product collection for products with default name attribute
How can I get a collection of all products from a specific type example given: "configurable" ?
I want to show the name of all products of type configurable for example.
magento-1.9 php magento-1 products
add a comment |
How can I get a collection of all products from a specific type example given: "configurable" ?
I want to show the name of all products of type configurable for example.
magento-1.9 php magento-1 products
add a comment |
How can I get a collection of all products from a specific type example given: "configurable" ?
I want to show the name of all products of type configurable for example.
magento-1.9 php magento-1 products
How can I get a collection of all products from a specific type example given: "configurable" ?
I want to show the name of all products of type configurable for example.
magento-1.9 php magento-1 products
magento-1.9 php magento-1 products
asked yesterday
BlackBlack
412320
412320
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$products = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('type_id','configurable');
foreach ($products as $product)
echo $product->getName() . "</br>";
New contributor
Thank you very much!
– Black
yesterday
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266858%2fhow-to-load-all-products-with-certain-type-e-g-all-configurable-products%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$products = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('type_id','configurable');
foreach ($products as $product)
echo $product->getName() . "</br>";
New contributor
Thank you very much!
– Black
yesterday
add a comment |
$products = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('type_id','configurable');
foreach ($products as $product)
echo $product->getName() . "</br>";
New contributor
Thank you very much!
– Black
yesterday
add a comment |
$products = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('type_id','configurable');
foreach ($products as $product)
echo $product->getName() . "</br>";
New contributor
$products = Mage::getModel('catalog/product')->getCollection()
->addAttributeToSelect('*')
->addFieldToFilter('type_id','configurable');
foreach ($products as $product)
echo $product->getName() . "</br>";
New contributor
New contributor
answered yesterday
Bojan DavkovBojan Davkov
261
261
New contributor
New contributor
Thank you very much!
– Black
yesterday
add a comment |
Thank you very much!
– Black
yesterday
Thank you very much!
– Black
yesterday
Thank you very much!
– Black
yesterday
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f266858%2fhow-to-load-all-products-with-certain-type-e-g-all-configurable-products%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown