<?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/prodcuts/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 products with or without custom options using SQL</title>
		<link>https://www.the-mage-expert.com/1005/magento-getting-products-with-or-without-custom-options-using-sql/</link>
		<comments>https://www.the-mage-expert.com/1005/magento-getting-products-with-or-without-custom-options-using-sql/#comments</comments>
		<pubDate>Fri, 15 Jan 2016 01:22:07 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[custom options]]></category>
		<category><![CDATA[product]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1005</guid>
		<description><![CDATA[To get all products that do not have custom options, simply run the following SQL query: [crayon-6ab6eecbca046/] To get all products that do have custom options, remove the &#8220;NOT&#8221; from the above query.]]></description>
				<content:encoded><![CDATA[<p>To get all products that <strong>do not</strong> have custom options, simply run the following SQL query: </p>
<p></p><pre class="crayon-plain-tag">SELECT
  *
FROM catalog_product_entity
WHERE entity_id NOT IN (SELECT DISTINCT
    product_id
  FROM catalog_product_option);</pre><p></p>
<p>To get all products that do have custom options, remove the &#8220;NOT&#8221; from the above query.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1005/magento-getting-products-with-or-without-custom-options-using-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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-6ab6eecbd2ca7/] 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>
		<item>
		<title>Change column count of category page in admin area (backend)</title>
		<link>https://www.the-mage-expert.com/651/magento-change-column-count-category-page-in-admin-backend/</link>
		<comments>https://www.the-mage-expert.com/651/magento-change-column-count-category-page-in-admin-backend/#comments</comments>
		<pubDate>Fri, 05 Sep 2014 10:14:16 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[backend]]></category>
		<category><![CDATA[category page]]></category>
		<category><![CDATA[products]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=651</guid>
		<description><![CDATA[Open the category in the admin area (backend) and add the following xml to the layout update section. [crayon-6ab6eecbd2f60/]]]></description>
				<content:encoded><![CDATA[<p>Open the category in the admin area (backend) and add the following xml to the layout update section.</p>
<p></p><pre class="crayon-plain-tag">&lt;reference name=&quot;product_list&quot;&gt;
    &lt;action method=&quot;setColumnCount&quot;&gt;&lt;count&gt;4&lt;/count&gt;&lt;/action&gt;
&lt;/reference&gt;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/651/magento-change-column-count-category-page-in-admin-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting the URL of a product image and display the image</title>
		<link>https://www.the-mage-expert.com/370/magento-getting-url-of-product-image-and-display-image/</link>
		<comments>https://www.the-mage-expert.com/370/magento-getting-url-of-product-image-and-display-image/#comments</comments>
		<pubDate>Fri, 12 Jul 2013 09:14:29 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=370</guid>
		<description><![CDATA[Use the following code to get a Magento products URL and to display the image on a tempate page: [crayon-6ab6eecbd3335/]]]></description>
				<content:encoded><![CDATA[<p>Use the following code to get a Magento products URL and to display the image on a tempate page:</p>
<p></p><pre class="crayon-plain-tag">&lt;img src=&quot;&lt;?php echo $_product-&gt;getImageUrl(); ?&gt;&quot; alt=&quot;&lt;?php echo $_product-&gt;getName();?&gt;&quot; /&gt;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/370/magento-getting-url-of-product-image-and-display-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deleting upsell products directly in the database</title>
		<link>https://www.the-mage-expert.com/316/magento-deleting-upsell-products-in-database/</link>
		<comments>https://www.the-mage-expert.com/316/magento-deleting-upsell-products-in-database/#comments</comments>
		<pubDate>Thu, 11 Apr 2013 11:21:34 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[products]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[upsell]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=316</guid>
		<description><![CDATA[Once saved, upsell products can not be removed again easily. Using the following MySQL script, you can delete Magento upsell products from the database. [crayon-6ab6eecbd36d6/]]]></description>
				<content:encoded><![CDATA[<p>Once saved, upsell products can not be removed again easily. Using the following MySQL script, you can delete Magento upsell products from the database.</p>
<p></p><pre class="crayon-plain-tag">DELETE link.* FROM catalog_product_link AS link
LEFT JOIN catalog_product_link_type AS linktype ON (linktype.link_type_id = link.link_type_id)
WHERE linktype.code = &quot;up_sell&quot; and product_id = 123;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/316/magento-deleting-upsell-products-in-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loading a product by id</title>
		<link>https://www.the-mage-expert.com/314/magento-loading-product-by-id/</link>
		<comments>https://www.the-mage-expert.com/314/magento-loading-product-by-id/#comments</comments>
		<pubDate>Wed, 10 Apr 2013 10:26:54 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[products]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=314</guid>
		<description><![CDATA[Use the following code to load a product by id: [crayon-6ab6eecbd3966/]]]></description>
				<content:encoded><![CDATA[<p>Use the following code to load a product by id:</p>
<p></p><pre class="crayon-plain-tag">$productId = 1234;
$product = Mage::getModel('catalog/product')-&gt;load($productId);</pre><p></p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/314/magento-loading-product-by-id/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
