<?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/swatches/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>Magenerds Baseprice no longer works in Magento 2.4.x</title>
		<link>https://www.the-mage-expert.com/2115/magenerds-baseprice-no-longer-works-in-magento-2-4-x/</link>
		<comments>https://www.the-mage-expert.com/2115/magenerds-baseprice-no-longer-works-in-magento-2-4-x/#comments</comments>
		<pubDate>Tue, 14 Nov 2023 10:13:31 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[Base Price]]></category>
		<category><![CDATA[Magento 2]]></category>
		<category><![CDATA[Magento 2.4]]></category>
		<category><![CDATA[swatches]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=2115</guid>
		<description><![CDATA[After upgrading to Magento 2.4.x, the Magenerds Baseprice extension may no longer work correctly: base prices no longer update when customers select options on the storefront. The following changes to the file /vendor/magenerds/baseprice/view/frontend/templates/configurable/afterprice.phtml may resolve the issue: [crayon-6af340006d31e/] [crayon-6af340006d37c/] The&#8230;]]></description>
				<content:encoded><![CDATA[<p>After upgrading to Magento 2.4.x, the Magenerds Baseprice extension may no longer work correctly: base prices no longer update when customers select options on the storefront.</p>
<p>The following changes to the file <strong>/vendor/magenerds/baseprice/view/frontend/templates/configurable/afterprice.phtml</strong> may resolve the issue:</p><pre class="crayon-plain-tag">//aus 
require(['jquery', 'jquery/ui', 'domReady!'], function($) {

// will be applied
require(['jquery', 'jquery/ui', 'domReady!', 'Magento_Swatches/js/swatch-renderer'], function($) {</pre><p></p><pre class="crayon-plain-tag">//aus 
swatchWidget.element.find('.' + swatchWidget.options.classes.attributeClass + '[option-selected]').each(function () {
    options[$(this).attr('attribute-id')] = $(this).attr('option-selected');

// will be applied
swatchWidget.element.find('.' + swatchWidget.options.classes.attributeClass + '[data-option-selected]').each(function () {
    options[$(this).data('attribute-id')] = $(this).attr('data-option-selected');</pre><p>The base prices should now update dynamically when customers select different options.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/2115/magenerds-baseprice-no-longer-works-in-magento-2-4-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Category page loading extremely slow</title>
		<link>https://www.the-mage-expert.com/1070/magento-category-page-loading-extremely-slow/</link>
		<comments>https://www.the-mage-expert.com/1070/magento-category-page-loading-extremely-slow/#comments</comments>
		<pubDate>Fri, 24 Jun 2016 06:53:47 +0000</pubDate>
		<dc:creator><![CDATA[]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[category page]]></category>
		<category><![CDATA[swatches]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=1070</guid>
		<description><![CDATA[If the category page of your Magento store is loading really slow, the configurable swatches might be the problem. Override /app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php and move // normalize to all lower case before we start using them $optionLabels = array_map(function ($value) { return&#8230;]]></description>
				<content:encoded><![CDATA[<p>If the category page of your Magento store is loading really slow, the configurable swatches might be the problem. Override  <strong>/app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php</strong> and move</p>
<pre lang="php">
// normalize to all lower case before we start using them
$optionLabels = array_map(function ($value) {
 return array_map('Mage_ConfigurableSwatches_Helper_Data::normalizeKey', $value);
}, $optionLabels);
</pre>
<p>up to before the foreach loop. This will help increasing the speed of your category page if Magento configurable swatches were causing the problem.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1070/magento-category-page-loading-extremely-slow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Category page loads extremely slowly</title>
		<link>https://www.the-mage-expert.com/1183/category-page-loads-extremely-slowly/</link>
		<comments>https://www.the-mage-expert.com/1183/category-page-loads-extremely-slowly/#comments</comments>
		<pubDate>Fri, 24 Jun 2016 06:05:54 +0000</pubDate>
		<dc:creator><![CDATA[Mex]]></dc:creator>
				<category><![CDATA[Magento Solutions]]></category>
		<category><![CDATA[category page]]></category>
		<category><![CDATA[swatches]]></category>

		<guid isPermaLink="false">https://www.the-mage-expert.com/?p=1183</guid>
		<description><![CDATA[If your Magento category pages are extremely slow, Magento swatches may be the culprit. Override /app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php and remove [crayon-6af3400074f9b/] from its original location, then insert that code immediately above the surrounding foreach loop. This can substantially improve category page load&#8230;]]></description>
				<content:encoded><![CDATA[<p>If your Magento category pages are extremely slow, Magento swatches may be the culprit. Override <strong>/app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php</strong> and remove </p>
<p></p><pre class="crayon-plain-tag">// normalize to all lower case before we start using them
$optionLabels = array_map(function ($value) {
 return array_map('Mage_ConfigurableSwatches_Helper_Data::normalizeKey', $value);
}, $optionLabels);</pre><p></p>
<p>from its original location, then insert that code immediately above the surrounding foreach loop. This can substantially improve category page load times when swatches are enabled.</p>]]></content:encoded>
			<wfw:commentRss>https://www.the-mage-expert.com/1183/category-page-loads-extremely-slowly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
