Useful WooCommerce Snippets

By September 15, 2016 WooCommerce

WooCommerce is fast becoming the most popular e-commerce software on the web. We’ve started getting into it in a big way, offering training days and where you can learn more about it. Actually, WooCommerce is really powerful tool and easily expandable. It has many hooks that can be used for nearly everything, and that’s what make WooCommerce so good.

This list of Woocommerce code snippets will help you to tailor your on-line shop to how you want it. I have picked out from the support forum some useful snippets to help you customize WooCommerce.  All these snippets must be pasted in the functions.php file within your theme folder.

1. Remove WooCommerce breadcrumbs
2. Remove WooCommerce Tabs
3. Change The Add to Cart Text on single product pages
4. Customize Checkout Field Order
5. Rename A Product Tab
6. Make account checkout fields required
7. Add Custom Field To Edit Address Page
8. Set Mimimum Order Amount
9. Replace shop page title
10. Redirect add to cart button to checkout page
11. Remove specific (or all) of the product tabs
12. Automatically add product to cart on visit
13. Add email recipient when order completed
14. Customise the currency or symbol
15. Change the ‘out of stock’ with any text
16. Change columns in shop page
17. Order by price, date or title on shop page
17. Remove Related Products Output
18. Change number of related products output
19. Change the placeholder image
20. Change number of products displayed per page