<?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>WooCommerce | Tech Typed</title>
	<atom:link href="https://techtyped.com/category/web-design/wordpress/woocommerce/feed/" rel="self" type="application/rss+xml" />
	<link>https://techtyped.com</link>
	<description>The latest tech news and tutorials</description>
	<lastBuildDate>Tue, 26 Jul 2022 16:55:28 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://techtyped.com/wp-content/uploads/2019/06/cropped-tech-typed-favicon-2-1-32x32.jpg</url>
	<title>WooCommerce | Tech Typed</title>
	<link>https://techtyped.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Change the WooCommerce Related Products Text</title>
		<link>https://techtyped.com/how-to-change-the-woocommerce-related-products-text/</link>
					<comments>https://techtyped.com/how-to-change-the-woocommerce-related-products-text/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Thu, 17 Jun 2021 19:20:31 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3396</guid>

					<description><![CDATA[<p>In this post we're taking a look at how to change the WooCommerce related products text / title using code added to your functions.php file.</p>
The post <a href="https://techtyped.com/how-to-change-the-woocommerce-related-products-text/">How to Change the WooCommerce Related Products Text</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re going to take a look at how to change the <a href="https://wordpress.org/plugins/woocommerce/" target="_blank" rel="noreferrer noopener nofollow" title="https://wordpress.org/plugins/woocommerce/">WooCommerce</a> related products text to something custom that better suits your site.<br><br>The snippet that we’re going to use needs to be added to your functions.php file within a child theme or via a functions plugin. Take a look at our article <a href="https://techtyped.com/adding-functions-to-wordpress/" target="_blank" rel="noreferrer noopener" title="Adding Functions to WordPress">here</a> on how to add functions to WordPress.</p>



<h5 class="wp-block-heading"><strong>The code to change the WooCommerce Related Products Text:</strong></h5>



<pre class="wp-block-code"><code>// How to Change the WooCommerce "Related products" text

add_filter('gettext', 'change_relatedproducts_text', 10, 3);

function change_relatedproducts_text($new_text, $related_text, $source)
{
     if ($related_text === 'Related products' &amp;&amp; $source === 'woocommerce') {
         $new_text = esc_html__('Similar Products', $source);
     }
     return $new_text;
}
</code></pre>



<p>Using the above snippet we can set the Related Products Text to ‘Similar Products’. </p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h5 class="wp-block-heading"><strong>Additional Snippets / Examples:</strong></h5>



<p>Below we’ve featured a few more done for you examples:</p>



<h5 class="wp-block-heading"><strong>Changing the text to ‘More Products’:</strong></h5>



<pre class="wp-block-code"><code>// How to Change the WooCommerce "Related products" text

add_filter('gettext', 'change_relatedproducts_text', 10, 3);

function change_relatedproducts_text($new_text, $related_text, $source)
{
     if ($related_text === 'Related products' &amp;&amp; $source === 'woocommerce') {
         $new_text = esc_html__('More Products', $source);
     }
     return $new_text;
}
</code></pre>



<h5 class="wp-block-heading"><strong>Changing the text to ‘We Think You Might Also Like’:</strong></h5>



<pre class="wp-block-code"><code>// How to Change the WooCommerce "Related products" text

add_filter('gettext', 'change_relatedproducts_text', 10, 3);

function change_relatedproducts_text($new_text, $related_text, $source)
{
     if ($related_text === 'Related products' &amp;&amp; $source === 'woocommerce') {
         $new_text = esc_html__('We Think You Might Also Like', $source);
     }
     return $new_text;
}

</code></pre>



<h5 class="wp-block-heading"><strong>Changing the text to ‘Similar Product Picks’:</strong></h5>



<pre class="wp-block-code"><code>// How to Change the WooCommerce "Related products" text

add_filter('gettext', 'change_relatedproducts_text', 10, 3);

function change_relatedproducts_text($new_text, $related_text, $source)
{
     if ($related_text === 'Related products' &amp;&amp; $source === 'woocommerce') {
         $new_text = esc_html__('Similar Products', $source);
     }
     return $new_text;
}

</code></pre>



<h5 class="wp-block-heading">Further Reading:</h5>



<p><a href="https://techtyped.com/styling-the-woocommerce-product-tabs/" title="Styling the WooCommerce Product Tabs">Styling the WooCommerce Product Tabs</a></p>



<p><a href="https://techtyped.com/how-to-change-the-woocommerce-add-to-cart-button-text/" title="How to Change the WooCommerce Add to Cart Button Text">How to Change the WooCommerce Add to Cart Button Text</a></p>



<h5 class="wp-block-heading">Summary:</h5>



<p>We hope this helps and lets you customise the Related Products text to exactly what you need for your site. If you found this useful we would really appreciate a comment or a share thanks!</p>The post <a href="https://techtyped.com/how-to-change-the-woocommerce-related-products-text/">How to Change the WooCommerce Related Products Text</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/how-to-change-the-woocommerce-related-products-text/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Styling the WooCommerce Product Tabs</title>
		<link>https://techtyped.com/styling-the-woocommerce-product-tabs/</link>
					<comments>https://techtyped.com/styling-the-woocommerce-product-tabs/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Tue, 25 May 2021 19:58:06 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3378</guid>

					<description><![CDATA[<p>This article takes a look at how to style the WooCommerce product tabs that exist within individual product pages. We'll look at adding CSS to match your site.</p>
The post <a href="https://techtyped.com/styling-the-woocommerce-product-tabs/">Styling the WooCommerce Product Tabs</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re going to take a look at how to style the <a href="https://wordpress.org/plugins/woocommerce/" target="_blank" rel="noreferrer noopener nofollow" title="https://wordpress.org/plugins/woocommerce/">WooCommerce</a> Product Description Tabs.<br><br>These may already be styled on your site or have a different style to the screenshot below depending on the theme that you have.<br><br>In most cases though you should still be able to style them using the same classes that we outline, unless your theme overrides them and uses a different tab structure. &nbsp;<br></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="782" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1-1024x782.jpg" alt="" class="wp-image-3379" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1-1024x782.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1-700x534.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1-300x229.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1-768x586.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1-1536x1173.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-1.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>



<h4 class="wp-block-heading">The Classes Used to Style the WooCommerce Tabs:</h4>



<h5 class="wp-block-heading"><strong>Adding Background Colours:</strong></h5>



<p>First we’re going to style the active tab, this may appear slightly larger, or as the first tab in the list. It just shows which section is toggled.</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li.active a {

Background-color: Teal;

}</code></pre>



<p>The above code sets the background colour of the active tab to Teal as shown here:<br></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="763" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2-1024x763.jpg" alt="" class="wp-image-3381" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2-1024x763.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2-700x521.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2-300x223.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2-768x572.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2-1536x1144.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-2.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Next we’ll assign a colour to the inactive tab, which in the instance of this example is the reviews tab. The code for this is:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li a {

Background-color: Gold;

}</code></pre>



<p>This looks like this:</p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="756" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3-1024x756.jpg" alt="" class="wp-image-3382" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3-1024x756.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3-700x517.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3-300x222.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3-768x567.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3-1536x1134.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-3.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>As you can see from the above image the tab that isn’t active is now gold. If there were more tabs in the example they would also all be gold as well.<br></p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h5 class="wp-block-heading"><strong>The Text Within the Tabs:</strong></h5>



<p>So next up let’s take a look at styling the text within these tabs, first we’ll look at the active tab.</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li.active a {

Color: Gold;

}</code></pre>



<p>The above text styles the colour of the active tab and sets the text to gold.<br><br>Next let’s assign a colour to the inactive tab text:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li a {

Color: Teal;

}</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="750" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4-1024x750.jpg" alt="" class="wp-image-3384" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4-1024x750.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4-700x513.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4-300x220.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4-768x562.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4-1536x1125.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-4.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><br>As shown by the above it’s nice and easy to change the text of the tabs and for the inactive tabs the text colour will apply to all of them.</p>



<h5 class="wp-block-heading"><strong>The Tab Borders:</strong></h5>



<p>Next we’re taking a look at how to style the tab borders. First let’s add a 5px solid  teal border to the active tab to make it stand out more when active:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li.active a {

Border: 5px solid teal;

}</code></pre>



<p>Next let’s take a look at the inactive tab / tabs:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li a {

Border: 3px solid teal;

}</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="754" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5-1024x754.jpg" alt="" class="wp-image-3385" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5-1024x754.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5-700x515.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5-300x221.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5-768x565.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5-1536x1130.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-5.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>As shown above the code adds a solid 5px teal border to the active tab and a smaller solid border to the inactive tab.<br><br>Tweaks like this can enhance the user experience of your website and make it easier for users to clearly see what they’ve clicked on or may need to click on.</p>



<h5 class="wp-block-heading"><strong>The Main Tab Box:</strong></h5>



<p>The main container box for the tabs has a border at the bottom as shown in earlier images so let’s take a look at how to remove this and further style the overall tab container box.</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul {

Border-bottom: unset;

}</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="777" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6-1024x777.jpg" alt="" class="wp-image-3387" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6-1024x777.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6-700x531.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6-300x228.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6-768x583.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6-1536x1166.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-6.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>Next let’s take a look at adding a background to the tabs section:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul {

Background: #f4f4f4;
Padding: 5%;

}</code></pre>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="779" src="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7-1024x779.jpg" alt="" class="wp-image-3388" srcset="https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7-1024x779.jpg 1024w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7-700x532.jpg 700w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7-300x228.jpg 300w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7-768x584.jpg 768w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7-1536x1168.jpg 1536w, https://techtyped.com/wp-content/uploads/2021/05/Styling-WooCommerce-Product-Tabs-Article-Image-7.jpg 1920w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p>The above code sets a background for the box and padding to better space and align the tabs within the section.</p>



<h5 class="wp-block-heading"><strong>Hover Effects:</strong></h5>



<p>Next up we’re taking a look at how to customise the hover effects for each of the tabs.</p>



<p>For the active tab the code would look something like this:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li.active a :hover {

Color: orange;

}</code></pre>



<p>For the inactive tabs the code would look something like this:</p>



<pre class="wp-block-code"><code>.woocommerce-tabs ul li a {

Color: orange;

}</code></pre>



<p>In the above examples we’re setting the colour of the text for the tabs when hovered. However as this class is for the overall tab, you could also add background colour styling, border styling and more so that the tab has a full hover over effect.</p>



<h5 class="wp-block-heading">Further Reading:</h5>



<p><a href="https://techtyped.com/adjusting-the-woocommerce-related-products-position/" title="Adjusting the WooCommerce Related Products Position">Adjusting The WooCommerce Related Products Position</a></p>



<h5 class="wp-block-heading">Summary:</h5>



<p>We really hope you found this useful, styling the tabs within your product page can really make the page appear more on-brand and will help to keep the entire website consistent, especially if you’re using a custom theme.</p>



<p>If you found this useful we would really appreciate a share and a comment thanks!</p>



<p></p>The post <a href="https://techtyped.com/styling-the-woocommerce-product-tabs/">Styling the WooCommerce Product Tabs</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/styling-the-woocommerce-product-tabs/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Adjusting the WooCommerce Related Products Position</title>
		<link>https://techtyped.com/adjusting-the-woocommerce-related-products-position/</link>
					<comments>https://techtyped.com/adjusting-the-woocommerce-related-products-position/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Mon, 17 May 2021 19:57:12 +0000</pubDate>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[Web Design Resources]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=3368</guid>

					<description><![CDATA[<p>In this post we're taking a look at how to change the position of the related products within WooCommerce product pages and the after product summary.</p>
The post <a href="https://techtyped.com/adjusting-the-woocommerce-related-products-position/">Adjusting the WooCommerce Related Products Position</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p>In this article we’re going to take a look at how to change the related products position within the individual <a href="https://wordpress.org/plugins/woocommerce/" target="_blank" rel="noreferrer noopener nofollow" title="https://wordpress.org/plugins/woocommerce/">WooCommerce</a> product pages.</p>



<h5 class="wp-block-heading">The Related Products Hook:</h5>



<p>The related products are shown within the woo_commerce_after_single_product_summary hook.<br><br>The other items shown within this hook are:<br><br>Woocommerce_output_product_data_tabs &#8211; 10<br><br>Woocommerce_upsell_display &#8211; 15<br><br><strong>Note: </strong>Some themes will already have a different structure based on pre-selected page templates, custom WooCommerce templates and the different product page structures that are available. So the hook positioning may have changed from the default, in this case you will need to apply any of these tweaks to your updated theme structure.</p>



<h5 class="wp-block-heading">Product Hook Details:</h5>



<p>As shown by the above, the upsell items and the product data tabs have respective priorities of 15 and 10. The specific hook for the related products is:<br><br>Woocommerce_output_related_products &#8211; 20</p>



<p>As shown the priority for the related products is 20. So in order to change the position of the related products we need to change the priority of the related products to be below either of the other two items.</p>



<p>The first step to adjusting the position is to unhook the current item; this can be done by removing the action.</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<h5 class="wp-block-heading">The Code:</h5>



<p>By adding the code below to your functions.php the action for the related products section is removed.</p>



<pre class="wp-block-code"><code>remove_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 20);
</code></pre>



<p>So in basic terms the above code snippet unhooks the woocommerce_output_related_products section allowing us to assign a new priority.</p>



<p>Next we want to assign a new priority to the action as such:</p>



<pre class="wp-block-code"><code>add_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 12);</code></pre>



<p>The above example sets the priority of the action to 12 so it should appear between the data tabs and the upsell items.</p>



<p>To set the related products above the product data tabs you would add the code:</p>



<pre class="wp-block-code"><code>add_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 8);</code></pre>



<p>So overall this would look something like this:</p>



<p>Placed between the product tabs and upsell items:</p>



<pre class="wp-block-code"><code>//Move the WooCommerce Related Products up Within the After Product Summary Section 

remove_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 20);

add_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 12);</code></pre>



<p>Or:</p>



<p>Placed at the top of the after product summary:</p>



<pre class="wp-block-code"><code>//Move the WooCommerce Related Products up Within the After Product Summary Section 

remove_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 20);

add_action('woocommerce_after_single_product_summary','woocommerce_output_related_products', 8);</code></pre>



<p>Summary:</p>



<p>This is a fairly easy way to adjust the positioning of your related products, be sure to follow the standard safe steps for adding a code snippet to your functions.php file or take a look at our article on adding functions to WordPress here:<br><br><a href="https://techtyped.com/adding-functions-to-wordpress/" title="Adding Functions to WordPress">Adding Functions to WordPress</a></p>



<p>If you found this article useful we would really appreciate a like and a share thanks!</p>



<p></p>The post <a href="https://techtyped.com/adjusting-the-woocommerce-related-products-position/">Adjusting the WooCommerce Related Products Position</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/adjusting-the-woocommerce-related-products-position/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Fix Blurry Images in WooCommerce</title>
		<link>https://techtyped.com/fixing-woocommerce-blurry-images/</link>
					<comments>https://techtyped.com/fixing-woocommerce-blurry-images/#respond</comments>
		
		<dc:creator><![CDATA[Tech Typed]]></dc:creator>
		<pubDate>Mon, 12 Aug 2019 17:30:56 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[WooCommerce]]></category>
		<category><![CDATA[Wordpress]]></category>
		<guid isPermaLink="false">https://techtyped.com/?p=636</guid>

					<description><![CDATA[<p>Learn how to correct blurry WooCommerce product images on your site. Great product images are better for customers and help your stores overall look and style.</p>
The post <a href="https://techtyped.com/fixing-woocommerce-blurry-images/">How to Fix Blurry Images in WooCommerce</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></description>
										<content:encoded><![CDATA[<p><a href="https://en-gb.wordpress.org/plugins/woocommerce/" target="_blank" rel="noreferrer noopener nofollow" title="https://en-gb.wordpress.org/plugins/woocommerce/">WooCommerce</a> is an extremely powerful E-commerce solution designed for WordPress. It allows users to list both physical and digital products for sale and has a suite of tools to rival most if not all other online E-commerce solutions.<br><br>However as Woocommerce is used with WordPress developers occasionally have to consider the compatibility elements of the system when it is used in tandem with other resources such as themes and plugins.<br><br>A common issue that arises with WooCommerce is that after updating a theme or switching to an alternative one the shop page images become blurry. This is caused by the sizing of the images within the theme and the thumbnail size set in your WooCommerce settings.<br><br>To resolve this simply go to Appearance > Customize >  WooCommerce > Product Images<br><br>From here you can set your product thumbnails to the desired size. If your images are blurry this is usually caused by them being too small and so the theme is having to stretch those thumbnails to the product size that it is using.<br><br>Once you’ve increased the size of your thumbnails within the WooCommerce settings simply click publish and then re-visit your site. If your images are still blurry you may need to increase the thumbnail sizes even further.</p>



<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3056267173075197"
     crossorigin="anonymous"></script>
<ins class="adsbygoogle"
     style="display:block; text-align:center;"
     data-ad-layout="in-article"
     data-ad-format="fluid"
     data-ad-client="ca-pub-3056267173075197"
     data-ad-slot="6908922385"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>



<p><strong>Thumbnail Cropping:</strong><br><br>Another important thing to consider when changing themes or the styling / layout of your product images is how they’re cropped.<br><br>Within the same settings are of Appearance &gt; Customize &gt; WooCommerce &gt; Product Images<br><br>You’ll find the settings for thumbnail cropping the options are:</p>



<h5 class="wp-block-heading"><strong>1:1 – The image will be cropped into a square</strong></h5>



<p>This setting is useful for getting clean uniform images all at the same size. However if your images include important details around the edges or the whole image is required it’s worth considering changing this.</p>



<h5 class="wp-block-heading"><strong>Custom – Images will be cropped to a custom aspect ratio</strong></h5>



<p><strong>This option is great if you know what the best aspect ratio is for your images especially if they’re already pre-formatted for that aspect ratio.</strong></p>



<h5 class="wp-block-heading"><strong>Uncropped – Images will display using the aspect ratio in which they were uploaded</strong></h5>



<h5 class="wp-block-heading"></h5>



<p>This setting is great if you want your images to stay as they are. However, it’s important to consider the types of images you’re uploading and whether this will keep your images uniform and in keeping with the theme of your website.<br><br>By ensuring that the above two settings are optimised for your theme you should be able to ensure that your website shows the best possible quality images for your store.<br><br>If you’re unsure of what the best settings are your theme should include documentation and if it doesn’t, it’s always best to double check with your theme developer.&nbsp;<br><br>Looking for free stock images for your website take a look on our <a href="https://techtyped.com/5-great-places-to-find-free-stock-images/" title="5 great places to find free stock images">article</a> on the best places to get them.</p>The post <a href="https://techtyped.com/fixing-woocommerce-blurry-images/">How to Fix Blurry Images in WooCommerce</a> first appeared on <a href="https://techtyped.com">Tech Typed</a>.]]></content:encoded>
					
					<wfw:commentRss>https://techtyped.com/fixing-woocommerce-blurry-images/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
