WordPress: WooCommerce add to cart button is missing

This will be a fairly basic tutorial on how to handle a simple problem within the woocomerce system, specifically what to do if the woocomerce add to cart button is missing. This is a fairly common problem, with a variety of causes, that can be fairly irritating to solve. I’ll be running you through a quick selection of diagnoses for the problem, and what you can do to fix them.

Diagnosis: Theme Issues

There are some problems with certain woocomerce themes, in particular the Bazar theme is known for causing problems. If you switch to the default theme and the button reappears, then you have a theme issue. This can be resolved by rolling back to an earlier version of the theme, or by switching themes altogether.

Diagnosis: Code Issues

There may be some issues with the default options in the coding within WordPress itself. By default, if you have the same price for variations woocomerce hides the price and the add to cart button for simple products. If this is happening to you add this code into the functions php add_filter('woocommerce_show_variation_price’, function() { return TRUE;}); and the problem should be resolved.

Diagnosis: Missing Information

The add to cart button will not be added unless a product is fully recognised as a finished and presented product by the site. This means providing all the relevant information. Make sure you have included weight, dimensions, ID, prices and stock keeping unit. Do a quick double check of your product descriptions and make sure everything you needed to provide is there.

Diagnosis: Extension or Plugin Difficulties

This is the most common and easiest to test and resolve problem. You may have some plugin, custom CSS or extension that doesn’t’ work well with woocomerce or your theme. All you need to do is turn those off and the problem should vanish quickly.

UNLIMITED DOWNLOADS: 50+ Million Website Templates & Design Assets

All the Website Templates you need and many other design elements, are available for a monthly subscription by subscribing to Envato Elements. The subscription costs $16.50 per month and gives you unlimited access to a massive and growing library of over 50 million items that can be downloaded as often as you need (stock photos too)!

Recent Articles

How To Speed Up Your WordPress

Optimizing the speed of your WordPress website is crucial for several reasons. Not only does a fast-loading website provide a better user...

How to Hide “Add to Cart” Button in WooCommerce Quickly

Once on your project, you will maybe need to disable selling products, make a catalog from your e-commerce store, or simply hide...

Agronix – Organic Farm Agriculture WordPress Theme [Free WordPress theme download]

Demo Download Agronix – Organic Farm WordPress Theme. We are Happy to presenting you the Agronix Agriculture Farming WordPress Theme. It is very easy to customize...

Roux – Creative Portfolio WordPress Theme [Free WordPress theme download]

Demo Download This is Roux, a splash of vibrant creativity your beautiful new website needs! Roux comes with tons of creative portfolio, gallery and graphic...

Get in touch

Be our first-class reader, build a community and follow us on social media!

Leave A Reply

Please enter your comment!
Please enter your name here