eva last
eva last

Reputation: 79

Programmaticaly change mini-cart Subtotal text to Total if free shipping - Woocommerce

By default the woocommerce mini-cart shows the text "Subtotal" regardless if free shipping is available or not and prices already include taxes. How to programmaticaly change the text to "Total" if free shipping is set for the cart?

enter image description here

Upvotes: 0

Views: 177

Answers (1)

 cyber
cyber

Reputation: 1

Go to Appearance > Customize - click - additional css/styles. add this code

@media (max-width:767px){
    .woocommerce-cart table.cart tr.cart_item .product-subtotal:before{content:"My Price: "}
}

Upvotes: 0

Related Questions