Title: CSS Classes For WooCommerce &#8211; customize the WooCommerce cart and checkout via CSS
Author: Jose Mortellaro
Published: <strong>17 ສິງຫາ 2023</strong>
Last modified: 21 ພຶດສະພາ 2026

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/css-classes-for-woocommerce/assets/banner-772x250.png?rev=2955116)

![](https://ps.w.org/css-classes-for-woocommerce/assets/icon-256x256.png?rev=2955116)

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

 ໂດຍ [Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/css-classes-for-woocommerce.0.0.3.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/css-classes-for-woocommerce/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/css-classes-for-woocommerce/#reviews)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/css-classes-for-woocommerce/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/)

## ຄຳອະທິບາຍ

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

    ```
    .ccfw-cart-all-sold-individually-true .shop_table .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](https://josemortellaro.com/backend-speed-optimization/)
for more information.

## ການຣີວິວ

![](https://secure.gravatar.com/avatar/0750c31ad2e4acbd1e971a549974bf676de83ffafccd57e2dd7e2139fdd9e88d?
s=60&d=retro&r=g)

### 󠀁[Perfect to customize the cart and checkout via CSS](https://wordpress.org/support/topic/perfect-to-customize-the-cart-and-checkout-via-css/)󠁿

 [Jose Mortellaro](https://profiles.wordpress.org/giuse/) 18 ສິງຫາ 2023

I love my own plugin because it gives you the possibility to customize the cart 
and checkout pages depending on the cart situation, only via CSS without touching
any line of PHP code 🙂

 [ ອ່ານການຣີວິວທັງໝົດ 1 ລາຍການ ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“CSS Classes For WooCommerce – customize the WooCommerce cart and checkout via CSS”
ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນ
ນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[ແປ “CSS Classes For WooCommerce – customize the WooCommerce cart and checkout via CSS” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/css-classes-for-woocommerce)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/css-classes-for-woocommerce/),
ກວດເບິ່ງ [ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/css-classes-for-woocommerce/),
ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/css-classes-for-woocommerce/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/css-classes-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 0.0.3

 * Checked: WordPress v. 6.4

#### 0.0.2

 * Added: CSS class for each row depending on the product ID, slug, and category

#### 0.0.1

 * Initial release.

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **0.0.3**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **4 ເດືອນ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **10+**
 *  ເວີຊັນ WordPress ** 4.6 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **7.0.6**
 *  ເວີຊັນ PHP ** 7.2 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/css-classes-for-woocommerce/)
 * ແທັກ
 * [body](https://lo.wordpress.org/plugins/tags/body/)[cart](https://lo.wordpress.org/plugins/tags/cart/)
   [checkout](https://lo.wordpress.org/plugins/tags/checkout/)[customization](https://lo.wordpress.org/plugins/tags/customization/)
   [style](https://lo.wordpress.org/plugins/tags/style/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/css-classes-for-woocommerce/advanced/)

## ການໃຫ້ຄະແນນ

 5 ຈາກທັງໝົດ 5 ດາວ.

 *  [  ການວິຈານ 5 ດາວ ຈຳນວນ 1 ລາຍການ     ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/?filter=5)
 *  [  ການວິຈານ 4 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/?filter=4)
 *  [  ການວິຈານ 3 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/?filter=3)
 *  [  ການວິຈານ 2 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/?filter=2)
 *  [  ການວິຈານ 1 ດາວ ຈຳນວນ 0 ລາຍການ     ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/?filter=1)

[ການທົບທວນຂອງທ່ານ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/#new-post)

[ເບິ່ງທັງໝົດ ການຣີວິວ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/css-classes-for-woocommerce/)