<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Magento Expert</title>
	<atom:link href="https://www.the-mage-expert.com/tag/attributeset/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.the-mage-expert.com</link>
	<description>Your Magento Commerce Expert</description>
	<lastBuildDate>Thu, 05 Nov 2026 21:47:58 +0000</lastBuildDate>
	<language>de-DE</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<item>
		<title>Counting products per attribute set using SQL</title>
		<link>https://www.the-mage-expert.com/3060/counting-products-per-attribute-set-using-sql/</link>
		<comments>https://www.the-mage-expert.com/3060/counting-products-per-attribute-set-using-sql/#comments</comments>
		<pubDate>Wed, 02 Sep 2026 07:48:13 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[attributeset]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[product]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=3060</guid>
		<description><![CDATA[It can be useful to count how many products belong to each attribute set. The simplest approach in Magento 2 is the following SQL query: [crayon-6af33ffb0231f/] The result lists the number of products assigned to each attribute set.]]></description>
				<content:encoded><![CDATA[<p>It can be useful to count how many products belong to each attribute set. The simplest approach in Magento 2 is the following SQL query:</p><pre class="crayon-plain-tag">SELECT
    eas.attribute_set_id,
    eas.attribute_set_name,
    COUNT(cpe.entity_id) AS product_count
FROM eav_attribute_set eas
LEFT JOIN catalog_product_entity cpe
    ON cpe.attribute_set_id = eas.attribute_set_id
WHERE eas.entity_type_id = (
    SELECT entity_type_id
    FROM eav_entity_type
    WHERE entity_type_code = 'catalog_product'
)
GROUP BY
    eas.attribute_set_id,
    eas.attribute_set_name
ORDER BY
    eas.attribute_set_name;</pre><p>The result lists the number of products assigned to each attribute set.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/3060/counting-products-per-attribute-set-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting orders with items that have a certain attribute set</title>
		<link>https://www.the-mage-expert.com/608/magento-getting-orders-withitems-with-certain-attribute-set/</link>
		<comments>https://www.the-mage-expert.com/608/magento-getting-orders-withitems-with-certain-attribute-set/#comments</comments>
		<pubDate>Mon, 03 Mar 2014 14:58:38 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[attributeset]]></category>
		<category><![CDATA[order]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=608</guid>
		<description><![CDATA[The following MySQL query returns all Magento orders that have at least one item with attribute set id 9. [crayon-6af33ffb0af9f/]]]></description>
				<content:encoded><![CDATA[<p>The following MySQL query returns all Magento orders that have at least one item with attribute set id 9.</p>
<p></p><pre class="crayon-plain-tag">/* 9 = attribute set Id */
select
	increment_id,
	created_at,
	entity_id 
from
	sales_flat_order 
where
	entity_id not in (
		SELECT
			o.entity_id      
		FROM
			sales_flat_order o      
		LEFT JOIN
			sales_flat_order_item i        
				ON o.entity_id = i.order_id      
		LEFT JOIN
			catalog_product_entity p        
				ON i.product_id = p.entity_id      
		WHERE
			p.attribute_set_id = 9
	)</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/608/magento-getting-orders-withitems-with-certain-attribute-set/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the attribute set name of a product</title>
		<link>https://www.the-mage-expert.com/588/magento-getting-attribute-set-name-product/</link>
		<comments>https://www.the-mage-expert.com/588/magento-getting-attribute-set-name-product/#comments</comments>
		<pubDate>Mon, 20 Jan 2014 09:40:12 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[attributeset]]></category>
		<category><![CDATA[product]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=588</guid>
		<description><![CDATA[Use the following code to get a products attribute set name. [crayon-6af33ffb0b219/]]]></description>
				<content:encoded><![CDATA[<p>Use the following code to get a products attribute set name.</p>
<p></p><pre class="crayon-plain-tag">$attributeSetModel = Mage::getModel(&quot;eav/entity_attribute_set&quot;);
$attributeSetModel-&gt;load($product-&gt;getAttributeSetId());
$attributeSetName  = $attributeSetModel-&gt;getAttributeSetName();</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/588/magento-getting-attribute-set-name-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
