Woocommerce remove related products. How To Remove Related Products from WooCommerce 2018-07-12

Woocommerce remove related products Rating: 9,6/10 107 reviews

How to Remove WooCommerce Related Products

woocommerce remove related products

We have new dev version, you can try it, you need to download it at :. Your issue is certainly related to your theme. Note: Make sure the code is in your current theme's functions. Where Should You Insert this Code You can use one of two methods to insert this code: Method 1: Code Snippets plugin You can use a plugin like to add this to your WooCommerce website. Currently, when items fall in multiple categories, this module is basically useless. Use the code below to prevent the query from happening and keep the speed going too! There are many reasons to not include related products on your store. For more interesting WordPress or WooCommerce tutorials consider subscribing our Monthly Newsletter? The goal is completely unclear.

Next

WooCommerce Related Products Issue

woocommerce remove related products

Would like to see a few tweaks and bug fixes. The 410 redirect tells that the url is definitely gone. My question is how do you automatically set up products to be hidden and not show up in category or search results once inventory is zero? Now there is a connection back to core, leading to the realization that the above mentioned - and hopefully inspected - woocommerce functions are essentially wrappers to extend core functionality. By default, will display a list of related items at the bottom of the product page, below the main product description. Updating Automatic updates should work like a charm; as always though, ensure you backup your site just in case.

Next

Remove Related Products Output

woocommerce remove related products

They can let you know what you have to do to remove the product, if anything. This will remove them — not just hide them — from being called at all. This single line of code should be enough to disable the related products from showing up. Farrington, Linda Scott and Steven Haywood. A simple search should turn up any pages that need updating. Please let me know if it works correctly now. Couple of questions: How would you notify services such as Facebook that an item has sold? Please reply with feedback is that module is solving the problem.

Next

woocommerce

woocommerce remove related products

Aside from that, the answer you linked explains the new hooks available sine v2. Option 1: Using your theme If you are using a pre-built theme, chances are that they have an option for to control this section. You can find his coding hijinks on , where he shares most of his projects and open source work. You should expect a reply in about a week - this is a popular blog but I need to get paid work done first. They have been hidden in the catalog and hidden in the shop but they still show up under related products.

Next

How to move the WooCommerce Related Products Display

woocommerce remove related products

Make sure always use child theme otherwise you will lose changes after theme update. Note: related products, up-sells and cross-sells are all sorted randomly. When a product is definitively out it will be a good plan to make a 410 redirection. Description This is a plugin for WordPress that that removes related products on single product pages in WooCommerce web stores. Glad this could help you and your client. Otherwise you´ll need to change the files in the core php files what not alaways is a good practice because in case of further updates you´ll loose your work… Wilson. You can expand this to create an interface that can make this user friendly, but that would probably suit a plugin better.

Next

How To Remove Related Products from WooCommerce

woocommerce remove related products

I would be happy at this point to have no related products to show at all. . Comments Polite Disclaimer: I am welcome, open and willing for corrections to be shared in the comments with corrections being added to posts and credited , and the comments field should be used to promote discussion and make this post better. In the same logic, there is a possibility that related products function may be called in your theme. This related products widget will only be shown on product pages, and will output the related items for that product. On other pages, it will be hidden. Some Store owners like to keep their product pages as clutter free as possible.


Next

Remove on Shop page

woocommerce remove related products

You will see that your code is working… — Feb 14 '17 at 8:14 As correctly pointed out, your code is working fine. This will disable the related products box throughout the site. Why you might ask, because if you've read my answer carefully, then you would've seen, it uses only one filter. Cross Sells Related Products Related Products is a section on some templates that pulls products from your store that share the same tags or categories as the current product. Know of any external links to this product say, from other sites? Take note, we provide two methods to accomplish this task — you should try the top method first and attempt the alternative method if that one does not work.

Next

Change Related Product Text

woocommerce remove related products

This blog post will show you how. Depending on the product, you might also find it helpful to keep some extras on hand, too. If you have any questions, please drop them in the comments. Especially if it's easily avoidable like in this case, below code does what you intended to do anyways, which is, implementing this change via your functions. To do an automatic install of Woo Related Products, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New. They are typically complementary items. You can also read more on our site.

Next

remove_action on related products is not working with woocommerce hook

woocommerce remove related products

Please refer to the link below for further reference on the topic : Also, if you have any further theme related queries, feel free to post them here. I then tried to enter the products I want hidden in the hide products meta box. If you are having any problem ask me in comments below or shoot me an. But NathanPowell discovered a nice answer on StackOverflow regarding the from v2. How do I stop related products from showing in the store? If you followed me with my explanations and have read thoroughly so far, you realized that the contains what you are looking for. Up-Sells Up-sells are products that you recommend instead of the currently viewed product.

Next