• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
  • Skip to footer
SnippetPress

SnippetPress

The Home of WordPress Snippets

Vultr Web Hosting
  • Cheat Sheets
  • Reviews
  • Snippets
  • Tutorials

WooCommerce

WooCommerce – Prevent Product Being Added To Cart If A Specific Product Is Already In Cart

July 15, 2020 by SnippetPress Leave a Comment

There may be a situation where you don't want certain products to be purchased together. Let's say for example that you don't want Product A to be purchased with Product B. If a customer has Product A in their cart then they shouldn't be able to add Product B and vice versa. This can easily be achieved in WooCommerce with a code snippet: function … [Read more...] about WooCommerce – Prevent Product Being Added To Cart If A Specific Product Is Already In Cart

WooCommerce – Display an “Add $X To Get Free Shipping” Notice

July 13, 2020 by SnippetPress Leave a Comment

A great way to get customers to purchase more and increase your average order value is to offer free shipping above a certain amount. Letting your customers know how close they are to getting free shipping on the cart and checkout page can then prompt them to spend more. Let's take a look at how to do this. We're going to assume that you have already set up a free shipping … [Read more...] about WooCommerce – Display an “Add $X To Get Free Shipping” Notice

WooCommerce – Integrate Google Merchant Center Customer Reviews

July 6, 2020 by SnippetPress Leave a Comment

In this post we're going to explain how to integrate Google Customer Reviews into your WooCommerce Store. If you're not comfortable adding snippets to your site, you might like to use the free Easy WC Google Merchant Center Reviews plugin or the premium Google Merchant Center Customer Reviews Integration plugin. It's really simple to do without a plugin though, all you need to … [Read more...] about WooCommerce – Integrate Google Merchant Center Customer Reviews

WooCommerce – Disable Out of Stock Variations

June 29, 2020 by SnippetPress Leave a Comment

By default, customers are able to select any variation from the drop down of a variable product. You might want to prevent them from choosing an out of stock variation though. A good way to do this would be to disable the option. This way, it will still be shown in the dropdown but will be greyed out and customers won't be able to select it. To do this, all you need is the … [Read more...] about WooCommerce – Disable Out of Stock Variations

WooCommerce Order Barcodes – Remove Barcode From Emails and My Account

June 26, 2020 by SnippetPress Leave a Comment

WooCommerce Order Barcodes generates a unique barcode for each order, which can be very useful for order management. The barcode will display in the order admin area and on things like packing slips (if you also have a packing slip plugin), but they'll also show on customer emails and in the customer My Account area. If you're only using the barcodes for the internal … [Read more...] about WooCommerce Order Barcodes – Remove Barcode From Emails and My Account

Next Page »

Primary Sidebar

E-mail Newsletter

More to See

WooCommerce – Prevent Product Being Added To Cart If A Specific Product Is Already In Cart

July 15, 2020 By SnippetPress

WooCommerce – Display an “Add $X To Get Free Shipping” Notice

July 13, 2020 By SnippetPress

Footer

Recent

  • Change The WordPress Page Title Separator Without A Plugin
  • WooCommerce – Prevent Product Being Added To Cart If A Specific Product Is Already In Cart
  • WooCommerce – Display an “Add $X To Get Free Shipping” Notice
  • WooCommerce – Integrate Google Merchant Center Customer Reviews
  • WooCommerce – Disable Out of Stock Variations

Search

Copyright © 2023 ·SnippetPress