<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: How To Make WooCommerce &#038; Polylang Work Together	</title>
	<atom:link href="https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/</link>
	<description></description>
	<lastBuildDate>Fri, 16 Feb 2024 12:19:10 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		By: Guy		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6958</link>

		<dc:creator><![CDATA[Guy]]></dc:creator>
		<pubDate>Fri, 16 Feb 2024 12:19:10 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6958</guid>

					<description><![CDATA[This works perfectly in 2024!
Thanks!
Any way to get this to work as a code snippet without having to change the original woocommerce files (so it&#039;s immune to plugin updates)?]]></description>
			<content:encoded><![CDATA[<p>This works perfectly in 2024!<br />
Thanks!<br />
Any way to get this to work as a code snippet without having to change the original woocommerce files (so it&#8217;s immune to plugin updates)?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pat		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6831</link>

		<dc:creator><![CDATA[Pat]]></dc:creator>
		<pubDate>Thu, 23 Nov 2023 06:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6831</guid>

					<description><![CDATA[Great tuto!
Does it still work with WordPress 6.4.1, WooCommerce 8.3.1 and Polylang 3.5.2 ?
thank you.]]></description>
			<content:encoded><![CDATA[<p>Great tuto!<br />
Does it still work with WordPress 6.4.1, WooCommerce 8.3.1 and Polylang 3.5.2 ?<br />
thank you.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: hessam		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6799</link>

		<dc:creator><![CDATA[hessam]]></dc:creator>
		<pubDate>Sun, 29 Oct 2023 13:34:25 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6799</guid>

					<description><![CDATA[It works for my website at teoremenerji.com.tr in 2023!
Thank you so much]]></description>
			<content:encoded><![CDATA[<p>It works for my website at teoremenerji.com.tr in 2023!<br />
Thank you so much</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mua		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6753</link>

		<dc:creator><![CDATA[mua]]></dc:creator>
		<pubDate>Wed, 27 Sep 2023 18:50:54 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6753</guid>

					<description><![CDATA[Still works! Thx!]]></description>
			<content:encoded><![CDATA[<p>Still works! Thx!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Joel Calvet		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6669</link>

		<dc:creator><![CDATA[Joel Calvet]]></dc:creator>
		<pubDate>Tue, 01 Aug 2023 09:28:40 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6669</guid>

					<description><![CDATA[It works for me at August os 2023 with WC 7.9.0 and PL 3.4.4

I create a plugin with the code  of Ihor (https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-125), With that way not lost the code with an update]]></description>
			<content:encoded><![CDATA[<p>It works for me at August os 2023 with WC 7.9.0 and PL 3.4.4</p>
<p>I create a plugin with the code  of Ihor (<a href="https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-125" rel="ugc">https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-125</a>), With that way not lost the code with an update</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dom		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6645</link>

		<dc:creator><![CDATA[Dom]]></dc:creator>
		<pubDate>Fri, 14 Jul 2023 16:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6645</guid>

					<description><![CDATA[still works 07/2023]]></description>
			<content:encoded><![CDATA[<p>still works 07/2023</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Victoria		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6211</link>

		<dc:creator><![CDATA[Victoria]]></dc:creator>
		<pubDate>Mon, 28 Jun 2021 16:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6211</guid>

					<description><![CDATA[Thank God! You the best!]]></description>
			<content:encoded><![CDATA[<p>Thank God! You the best!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nenad		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-6195</link>

		<dc:creator><![CDATA[Nenad]]></dc:creator>
		<pubDate>Mon, 14 Jun 2021 16:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-6195</guid>

					<description><![CDATA[YOU ARE FUCKING GOD!!!!!!!!!!!]]></description>
			<content:encoded><![CDATA[<p>YOU ARE FUCKING GOD!!!!!!!!!!!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pierre		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-5832</link>

		<dc:creator><![CDATA[Pierre]]></dc:creator>
		<pubDate>Wed, 18 Nov 2020 16:04:53 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-5832</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-5815&quot;&gt;Jesper Lund&lt;/a&gt;.

Hi Jesper,
Thanks for answering.
I lost a lot of time looking to fix a bug I had with the shop page :

The site is in spanish (primary) and english, so the shop pages should be :
 - mysite.com/tienda for spanish
 - mysite.com/en/shop for english

The problem was that in the menu, and another button where I call the wc_get_page_permalink( &#039;shop&#039; ), it works in one language but not the other.

The weirdest part is that if I actualize the spanish shop page last, then those links works :
 - mysite.com/tienda for spanish
 - mysite.com/en/tienda for english
but the wc_get_page_permalink( &#039;shop&#039; ) for english send me to mysite.com/en/shop and show no product at all, and error in attributes filters
If I actualize the english shop page last, then those links works :
 - mysite.com/shop for spanish
 - mysite.com/en/shop for english
but the wc_get_page_permalink( &#039;shop&#039; ) for spanish send me to mysite.com/tienda and show no product at all, and error in attributes filters

In both cases, the pll_switcher was working fine !

I couldn&#039;t fix this bug, but found a solution (after two intenses days...) with the plugin Permalink Manager Lite and put the same slug in both shop pages (&quot;shop&quot; or &quot;tienda&quot;, both works).

Hope this trick can help other people.


To put everything in function.php, I tried the solution of Ihor (April 5, 2016) but doesn&#039;t work.
I&#039;ll follow any future solution because it&#039;s a bit of a pain for every WooCommerce update.

Thanks again, best]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-5815">Jesper Lund</a>.</p>
<p>Hi Jesper,<br />
Thanks for answering.<br />
I lost a lot of time looking to fix a bug I had with the shop page :</p>
<p>The site is in spanish (primary) and english, so the shop pages should be :<br />
 &#8211; mysite.com/tienda for spanish<br />
 &#8211; mysite.com/en/shop for english</p>
<p>The problem was that in the menu, and another button where I call the wc_get_page_permalink( &#8216;shop&#8217; ), it works in one language but not the other.</p>
<p>The weirdest part is that if I actualize the spanish shop page last, then those links works :<br />
 &#8211; mysite.com/tienda for spanish<br />
 &#8211; mysite.com/en/tienda for english<br />
but the wc_get_page_permalink( &#8216;shop&#8217; ) for english send me to mysite.com/en/shop and show no product at all, and error in attributes filters<br />
If I actualize the english shop page last, then those links works :<br />
 &#8211; mysite.com/shop for spanish<br />
 &#8211; mysite.com/en/shop for english<br />
but the wc_get_page_permalink( &#8216;shop&#8217; ) for spanish send me to mysite.com/tienda and show no product at all, and error in attributes filters</p>
<p>In both cases, the pll_switcher was working fine !</p>
<p>I couldn&#8217;t fix this bug, but found a solution (after two intenses days&#8230;) with the plugin Permalink Manager Lite and put the same slug in both shop pages (&#8220;shop&#8221; or &#8220;tienda&#8221;, both works).</p>
<p>Hope this trick can help other people.</p>
<p>To put everything in function.php, I tried the solution of Ihor (April 5, 2016) but doesn&#8217;t work.<br />
I&#8217;ll follow any future solution because it&#8217;s a bit of a pain for every WooCommerce update.</p>
<p>Thanks again, best</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jesper Lund		</title>
		<link>https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-5815</link>

		<dc:creator><![CDATA[Jesper Lund]]></dc:creator>
		<pubDate>Thu, 05 Nov 2020 18:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://app-ryan.mqs10q4qaj-ewx3l9zvl3zq.p.runcloud.link/?p=149#comment-5815</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-5814&quot;&gt;Pierre&lt;/a&gt;.

Thanks, Pierre! Glad to hear it works for you.

Unfortunately I don&#039;t know if the code can be added through functions.php. But please keep me posted if you find a way to do it. Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://blog.jln.dk/how-to-make-woocommerce-work-with-polylang-wordpress/#comment-5814">Pierre</a>.</p>
<p>Thanks, Pierre! Glad to hear it works for you.</p>
<p>Unfortunately I don&#8217;t know if the code can be added through functions.php. But please keep me posted if you find a way to do it. Thanks!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
