No results found. Try again with different words?

Search must be at least 3 characters.

Change the “Shopping Cart” Text for WooCommerce & EDD Mobile Header Cart

If you have the WooCommerce or EDD cart added to your websites’ mobile header, you might want to modify the cart title. Since Astra Theme version 3.5.0, this can easily be done.

WooCommerce & EDD Mobile Header Cart, Astra 3.5.0

With Astra Theme versions 3.5.0 and above you can change the default “Shopping Cart” text to anything you need to. 

Chnage the WooCommerce & EDD Cart Title, Astra 3.5.0

To do this, you would need to add a filter to the functions.php file in your Astra Child Theme. Please add the following code:

add_filter( 'astra_header_cart_flyout_shopping_cart_text', function() {
return 'My Shop Flyout Cart';
} );

You can change the title to any text you want – just modify My Shop Flyout Cart text in the code above.

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