默认情况下,woocommerce 迷你购物车显示文本“小计”,无论是否提供免费送货且价格已含税。如果为购物车设置了免费送货,如何以编程方式将文本更改为“总计”?
转到“外观”>“自定义”-单击-“其他 css/样式”。 添加此代码
@media (max-width:767px){ .woocommerce-cart table.cart tr.cart_item .product-subtotal:before{content:"My Price: "} }