<?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/status/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 the status of every product in the database using MySQL</title>
		<link>https://www.the-mage-expert.com/680/magento-getting-status-of-every-product-database-using-mysql/</link>
		<comments>https://www.the-mage-expert.com/680/magento-getting-status-of-every-product-database-using-mysql/#comments</comments>
		<pubDate>Tue, 30 Sep 2014 08:30:17 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[status]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=680</guid>
		<description><![CDATA[The following MySQL query returns the status of every product in the Magento database. [crayon-69eb5ab705321/] Status 1: active Status 2: not active]]></description>
				<content:encoded><![CDATA[<p>The following MySQL query returns the status of every product in the Magento database.</p>
<p></p><pre class="crayon-plain-tag">SELECT
  cpe.sku,
  q.product_status
FROM catalog_product_entity cpe
  JOIN (SELECT
    entity_id AS product_id,
    value AS product_status
  FROM catalog_product_entity_int
  WHERE entity_type_id = (SELECT
    entity_type_id
  FROM eav_entity_type
  WHERE entity_type_code = 'catalog_product')
  AND attribute_id = (SELECT
    attribute_id
  FROM eav_attribute
  WHERE attribute_code = 'status'
  AND entity_type_id = (SELECT
    entity_type_id
  FROM eav_entity_type
  WHERE entity_type_code = 'catalog_product'))) q
    ON cpe.entity_id = q.product_id;</pre><p></p>
<p>Status 1: active<br />
Status 2: not active</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/680/magento-getting-status-of-every-product-database-using-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
