Algol+
  • Docs
  • Blog
  • Demo
  • Buy
  • Support
  • My Account
  • Docs
  • Blog
  • Demo
  • Buy
  • Support
  • My Account
Advanced Dynamic Pricing For WooCommerce
    FAQ Why the Rule Doesn’t App... Show discounted products on th... Common Rules Products Cart Pre-buy Replace Templates in Theme Developers FAQ Rules Examples of rules supported by... Creating a Rule Easy Steps to Create a Rule Type of Rules Rules Sections Rules Templates Rules List Rules Settings Rules Examples Settings Calculation Product Price Cart Product Page Category Page [pro] Bulk Table Free Products Coupons Advertising [pro] Order [pro] Rules System Debug Tools System Report Import Rules (CSV) Update bulk ranges (CSV) Backup Tool Convert Rules Pro version Go to Pro License Exclusively in PRO Product Collection Examples Product Collections [pro] Compatibility [pro] Statistics [pro] Developers Helpers Custom Code Compatibility with Plugins Compatibility with Themes Code Samples

Change the word “Coupon” to “Discount” text in the cart

1
2
3
add_filter( 'woocommerce_cart_totals_coupon_label', function ( $label, $coupon ) {
return sprintf( esc_html__( 'Discount: %s', 'woocommerce' ), $coupon->get_code() );
}, 10, 2 );

 

Still unclear?

Please submit a support request. We are always happy to assist you!

Advanced Dynamic Pricing

Advanced Order Export

Phone Orders

Docs

Demo

Support

Delivery Policy

Privacy Policy

Refund Policy

© algolplus.com