WordPress plugin intelligence profile

CSS Classes For WooCommerce – customize the WooCommerce cart and checkout via CSS

CSS classes depending on the cart to customize the checkout.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version0.0.3
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 4.6 · PHP 7.2
Directory statusactive
Last directory update1 Oct 20261mo ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 1 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records CSS Classes For WooCommerce – customize the WooCommerce cart and checkout via CSS version 0.0.3 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

CSS Classes For WooCommerce adds CSS classes to the body depending on the cart and the customer.

You can then use those classes to customize the checkout and cart pages with your custom CSS.

CSS classes added to the body if:

  • The cart is empty or not empty
  • There is at least a product with a price greater than zero (payment methood needed)
  • The shipping methods are shown or not needed
  • If the shipping address is needed or there are only digital products in the cart
  • The prices are shown including or excluding taxes
  • All products are sold individually
  • There are specific products in the cart
  • The quantity of specific products is a specific number
  • The billing address of the customer has a specific country
  • The customer has a specific role on the website
  • The customer has already bought something
  • The customer has bought a specific number of time

If for example in the cart there are only products that can be sold individually, you can take advantage of the CSS class added by this plugin to hide the column “Qty”.

In this case you will write the CSS

product-quantity { display: none; }

How customize the WooCommerce cart and checkout via CSS

  • The plugin doesn’t provide any option, and you will not see any settings page. Just activate it.
  • Right-click and click on Inspect on the frontend.
  • Read the value of the class attribute of the body element.
  • Use the CSS classes added to the body for your custom CSS

Requirements

You can take advantage of this plugin only if you have at least basic skills with CSS and are able to add your custom CSS.

In other cases, you will not know what to do with this plugin.

Backend Speed Optimization

Is your dashboard slow? We optimize admin performance by improving queries and reducing plugin load.

Read Backend Speed Optimization Service for more information.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • body
  • cart
  • checkout
  • customization
  • style
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 4.6 · PHP 7.2
Update activity1 Oct 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

WordPress compatibility7.0.47.1.2
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.