This topic has 6 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Jack Richardson
I would like to my menu shopping cart to show zero/the product amount in brackets instead of the whole sentence “shopping cart 0 items for 0€”. Is it possible to do this just with css or do I need to do something with the code?
Hello,
You need edit the file wp-content/themes/legenda/framework/woo.php file (find the section “Top Cart Widget”) in line 901.
Regards,
Eva Kemp.
I have located the file and the section, but what should I do to the code?
Hello,
You need remove the code _e(' items for', ETHEME_DOMAIN);
in line 938 and this code <?php etheme_cart_totals(); ?>
in line 919.
Also use this css code:
.shopping-cart-widget .cart-bag .badge-number::before {
content: "(";
}
.shopping-cart-widget .cart-bag .badge-number::after {
content: ")";
}
Regards,
Eva Kemp.
Thanks!
Hello,
You’re welcome.
Best regards,
Jack Richardson.
The issue related to '‘Change "cart 0 items for 0€" into (0)’' has been successfully resolved, and the topic is now closed for further responses