<?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>Tue, 24 Jan 2023 09:37:24 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.8.6</generator>
	<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">http://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-69eb2b5f4ba58/]]]></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">http://www.the-mage-expert.com/?p=588</guid>
		<description><![CDATA[Use the following code to get a products attribute set name. [crayon-69eb2b5f5b2a6/]]]></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>
