No results found. Try again with different words?

Search must be at least 3 characters.

Revert support for old Astra cart icon

When using WooCommerce with the Astra theme installed, you can customize the Cart icon. You can select the cart icon of your choice from the available options in the customizer settings.

Navigate to Appearance > Customize > Header builder > Cart. Here, you can select the cart icon from the available 3 options.

In case you want to add the CSS Astra cart icons, you need to add the following custom code to the functions.php file.

add_filter( 'astra_woocommerce_cart_icon', '__return_false' );

After adding the above filter, the cart icons customizing options would look like this.

Note:

For additional details on how to add a custom code to the functions.php file please see this article: How to Add Custom PHP Code?

Was this article helpful?
Did not find a solution? We are here to help you succeed.

Related Docs

Astra is Free. Now & Forever.

We believe creating beautiful websites should not be expensive. That's why Astra is free for everyone. Get started for free and extend with affordable packages.

REWIND

YEAR IN REVIEW

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form