<?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="http://www.the-mage-expert.com/tag/magento-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://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>Using jQuery and domReady in a static block or CMS page</title>
		<link>http://www.the-mage-expert.com/1227/magento2-using-jquery-domready-static-block-cms-page/</link>
		<comments>http://www.the-mage-expert.com/1227/magento2-using-jquery-domready-static-block-cms-page/#comments</comments>
		<pubDate>Mon, 23 Jan 2023 13:25:55 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1227</guid>
		<description><![CDATA[Using jQuery in a Magento 2 static block or CMS page can be tricky, a special syntax is required. Use the following code to add jQuery when all the content was loaded: [crayon-69f6252ea179a/] Of course, you can skip listening to&#8230;]]></description>
				<content:encoded><![CDATA[<p>Using jQuery in a Magento 2 static block or CMS page can be tricky, a special syntax is required. Use the following code to add jQuery when all the content was loaded: </p>
<p></p><pre class="crayon-plain-tag">&lt;script&gt;
    require([
        'jquery'
        ,'domReady!'
    ], function ($) {
         console.log('whatever');
    });
&lt;/script&gt;</pre><p>Of course, you can skip listening to domReady event! Just remove the domReady line, like this:</p><pre class="crayon-plain-tag">&lt;script&gt;
    require([
        'jquery'
    ], function ($) {
         console.log('whatever');
    });
&lt;/script&gt;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1227/magento2-using-jquery-domready-static-block-cms-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pager missing after updating to Magento 2.4.3?</title>
		<link>http://www.the-mage-expert.com/1221/magento2-pager-missing-after-updating-to-magento-2-4-3/</link>
		<comments>http://www.the-mage-expert.com/1221/magento2-pager-missing-after-updating-to-magento-2-4-3/#comments</comments>
		<pubDate>Thu, 26 May 2022 08:18:54 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[category page]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[pager]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1221</guid>
		<description><![CDATA[Sometimes after updating to Magento 2.4.3 the pager on the category page goes missing. This happens when you are overwriting templates/product/list.phtml in your theme. Just open that file and replace [crayon-69f6252eadd89/] with [crayon-69f6252eaddef/] This should solve the problem, your pager&#8230;]]></description>
				<content:encoded><![CDATA[<p>Sometimes after updating to Magento 2.4.3 the pager on the category page goes missing. This happens when you are overwriting <strong>templates/product/list.phtml</strong> in your theme. Just open that file and replace</p><pre class="crayon-plain-tag">&lt;?= $block-&gt;getToolbarHtml() ?&gt;</pre><p>with</p><pre class="crayon-plain-tag">&lt;?= $block-&gt;getChildBlock('toolbar')-&gt;setIsBottom(true)-&gt;toHtml() ?&gt;.</pre><p>This should solve the problem, your pager should now be visible again.</p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1221/magento2-pager-missing-after-updating-to-magento-2-4-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>“Session size exceeded allowed session max size” problem solution</title>
		<link>http://www.the-mage-expert.com/1218/magento2-session-size-exceeded-allowed-session-max-size-problem-solution/</link>
		<comments>http://www.the-mage-expert.com/1218/magento2-session-size-exceeded-allowed-session-max-size-problem-solution/#comments</comments>
		<pubDate>Thu, 26 May 2022 08:13:21 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Admin]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[order]]></category>
		<category><![CDATA[session]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1218</guid>
		<description><![CDATA[You get the error main.WARNING: Session size of … exceeded allowed session max size of … when adding items to an order in the Magento 2 admin area? There is an easy solution to that problem, just run the following&#8230;]]></description>
				<content:encoded><![CDATA[<p>You get the error <strong>main.WARNING: Session size of … exceeded allowed session max size of …</strong> when adding items to an order in the Magento 2 admin area? There is an easy solution to that problem, just run the following command from your Magento 2 root directory:</p><pre class="crayon-plain-tag">php bin/magento config:set system/security/max_session_size_admin 0</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1218/magento2-session-size-exceeded-allowed-session-max-size-problem-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checkout agreements not working / can not be accepted when using PayPal</title>
		<link>http://www.the-mage-expert.com/1211/magento2-checkout-agreements-not-working-not-accepted-when-using-paypal/</link>
		<comments>http://www.the-mage-expert.com/1211/magento2-checkout-agreements-not-working-not-accepted-when-using-paypal/#comments</comments>
		<pubDate>Mon, 29 Jul 2019 06:54:50 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[checkout]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[PayPal]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1211</guid>
		<description><![CDATA[You created several checkout agreements in your Magento 2 store, but as soon as you choose PayPal as payment method in the checkout, it just won&#8217;t accept those agreements? Instead, a validation error is returned whether or not the agreement&#8230;]]></description>
				<content:encoded><![CDATA[<p>You created several checkout agreements in your Magento 2 store, but as soon as you choose PayPal as payment method in the checkout, it just won&#8217;t accept those agreements? Instead, a validation error is returned whether or not the agreement box is checked?</p>
<p>The problem here is that the values from the checkout are not being passed over to PayPal. The solution is to install the <a href="https://github.com/CopeX/PaypalFix" target="_blank">CopeX/PaypalFix</a>. After installation, clear your caches, reload the checkout and you should be done.</p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1211/magento2-checkout-agreements-not-working-not-accepted-when-using-paypal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable maintenance mode for certain IP</title>
		<link>http://www.the-mage-expert.com/1206/magento2-disable-maintenance-mode-for-certain-ip/</link>
		<comments>http://www.the-mage-expert.com/1206/magento2-disable-maintenance-mode-for-certain-ip/#comments</comments>
		<pubDate>Mon, 29 Jul 2019 06:45:03 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[maintenance]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1206</guid>
		<description><![CDATA[With Magento 2 it is possible to disable the maintenance mode for only a certain IP. Disabling the Magento 2 maintenance mode for your IP lets you browse the frontend and admin area as normal. All other visitors will still&#8230;]]></description>
				<content:encoded><![CDATA[<p>With Magento 2 it is possible to disable the maintenance mode for only a certain IP. Disabling the Magento 2 maintenance mode for your IP lets you browse the frontend and admin area as normal. All other visitors will still get the maintenance mode screen.</p>
<p>Run this from the Magento 2 root directory to disable maintenance mode for your IP:</p><pre class="crayon-plain-tag">php bin/magento maintenance:enable --ip=&quot;12.345.678.123&quot;</pre><p></p>
<p>Deactive your IP again:</p><pre class="crayon-plain-tag">php bin/magento maintenance:disable --ip=&quot;12.345.678.123&quot;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1206/magento2-disable-maintenance-mode-for-certain-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing the success page</title>
		<link>http://www.the-mage-expert.com/1189/magento2-testing-the-success-page/</link>
		<comments>http://www.the-mage-expert.com/1189/magento2-testing-the-success-page/#comments</comments>
		<pubDate>Fri, 15 Mar 2019 08:19:36 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[success page]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1189</guid>
		<description><![CDATA[Want to test the Magento 2 success page after making some changes there without placing many orders in your Magento 2 store? By changing the following code in vendor/magento/module-checkout/Controller/Onepage/Success.php you only have to place one order. So look for the&#8230;]]></description>
				<content:encoded><![CDATA[<p>Want to test the Magento 2 success page after making some changes there without placing many orders in your Magento 2 store? By changing the following code in <strong>vendor/magento/module-checkout/Controller/Onepage/Success.php</strong> you only have to place one order. So look for the following line of code and simply comment it out:</p><pre class="crayon-plain-tag">$session-&gt;clearQuote(); // before
//$session-&gt;clearQuote(); // after</pre><p>You can now reload the page as often as you like. Make sure to undo your changes when you are done!</p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1189/magento2-testing-the-success-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deactivate / bypass maintenance mode for IP</title>
		<link>http://www.the-mage-expert.com/1186/magento2-deactivate-bypass-maintenance-mode-for-ip/</link>
		<comments>http://www.the-mage-expert.com/1186/magento2-deactivate-bypass-maintenance-mode-for-ip/#comments</comments>
		<pubDate>Fri, 15 Mar 2019 08:15:02 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[maintenance]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1186</guid>
		<description><![CDATA[When working on your Magento 2 shop it is always a good idea to put it in maintenance mode. The only problem with this approach is that nobody, not even you :), can now work with the store. To bypass&#8230;]]></description>
				<content:encoded><![CDATA[<p>When working on your Magento 2 shop it is always a good idea to put it in maintenance mode. The only problem with this approach is that nobody, not even you :), can now work with the store. To bypass the maintenance mode for your IP, simply run the following command from your Magento 2 root directory. This way you can work as normal, all other visitors will get the maintenance mode message.</p><pre class="crayon-plain-tag">php bin/magento maintenance:enable --ip=&quot;12.345.678.123&quot;</pre><p>Undo:</p><pre class="crayon-plain-tag">php bin/magento maintenance:disable --ip=&quot;12.345.678.123&quot;</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1186/magento2-deactivate-bypass-maintenance-mode-for-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reindex URL rewrites</title>
		<link>http://www.the-mage-expert.com/1161/magento2-reindex-url-rewrites/</link>
		<comments>http://www.the-mage-expert.com/1161/magento2-reindex-url-rewrites/#comments</comments>
		<pubDate>Fri, 29 Jun 2018 06:54:29 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[url]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1161</guid>
		<description><![CDATA[The URL rewrites of Magento 2 will not be reindexed when rebuilding the index via command line. I recommend using https://github.com/olegkoval/magento2-regenerate_url_rewrites to include the reindex of URL rewrites on the shell. This Magento 2 extensions allows for reindexing all URL&#8230;]]></description>
				<content:encoded><![CDATA[<p>The URL rewrites of Magento 2 will not be reindexed when rebuilding the index via command line. I recommend using <a href="https://github.com/olegkoval/magento2-regenerate_url_rewrites" target="_blank">https://github.com/olegkoval/magento2-regenerate_url_rewrites</a> to include the reindex of URL rewrites on the shell. This Magento 2 extensions allows for reindexing all URL rewrites.</p>
<p>After installation, run these 2 commands:</p><pre class="crayon-plain-tag">php bin/magento cache:flush
php bin/magento cache:clean</pre><p>Now just reindex as usual, the rewrites will be included.</p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1161/magento2-reindex-url-rewrites/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating database backup on command line</title>
		<link>http://www.the-mage-expert.com/1159/magento2-creating-database-backup-on-command-line/</link>
		<comments>http://www.the-mage-expert.com/1159/magento2-creating-database-backup-on-command-line/#comments</comments>
		<pubDate>Fri, 29 Jun 2018 06:50:30 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Magento 2]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1159</guid>
		<description><![CDATA[The following shell command (executed from your Magento 2 root folder) allows you to create a database backup of your Magento 2 store. [crayon-69f6252eb2353/]]]></description>
				<content:encoded><![CDATA[<p>The following shell command (executed from your Magento 2 root folder) allows you to create a database backup of your Magento 2 store.</p><pre class="crayon-plain-tag">php bin/magento setup:backup --db</pre><p></p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1159/magento2-creating-database-backup-on-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Show address data (like company, name) on registration form</title>
		<link>http://www.the-mage-expert.com/1143/magento-2-show-address-data-like-company-name-on-registration-form/</link>
		<comments>http://www.the-mage-expert.com/1143/magento-2-show-address-data-like-company-name-on-registration-form/#comments</comments>
		<pubDate>Fri, 25 Aug 2017 05:47:48 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[address]]></category>
		<category><![CDATA[customer]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[registration]]></category>

		<guid isPermaLink="false">http://www.the-mage-expert.com/?p=1143</guid>
		<description><![CDATA[By default, the Magento 2 registration form does not show address data such as the company, name or street. To change that, simply create customer_account_create.xml in the folder app/design/Your Vendor/Your Theme/Magento_Customer/layout and add the following code: [crayon-69f6252eb2bfa/] Now just clear&#8230;]]></description>
				<content:encoded><![CDATA[<p>By default, the Magento 2 registration form does not show address data such as the company, name or street. To change that, simply create <strong>customer_account_create.xml</strong> in the folder  <strong>app/design/Your Vendor/Your Theme/Magento_Customer/layout</strong> and add the following code:</p><pre class="crayon-plain-tag">&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!--
/**
* Copyright &copy; 2015 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
--&gt;
&lt;page xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; layout=&quot;1column&quot; xsi:noNamespaceSchemaLocation=&quot;../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd&quot;&gt;
	&lt;body&gt;
		&lt;referenceBlock name=&quot;customer_form_register&quot;&gt;
			&lt;arguments&gt;
				&lt;argument name=&quot;show_address_fields&quot; xsi:type=&quot;string&quot;&gt;1&lt;/argument&gt;
			&lt;/arguments&gt;
		&lt;/referenceBlock&gt;
	&lt;/body&gt;
&lt;/page&gt;</pre><p>Now just clear the cache and reload the registration form / page. </p>]]></content:encoded>
			<wfw:commentRss>http://www.the-mage-expert.com/1143/magento-2-show-address-data-like-company-name-on-registration-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
