Change “Add Coupon” text
-
Hello,
I am currently working on a new page where WooCommerce is running with Gutenberg blocks instead of the shortcode option.
I am unable to change the following text in the shopping cart.
When I switch to the shortcode option, the following code works. However, I would like to use the new layout/design with the Gutenberg blocks.
add_filter( 'gettext', 'my_woocommerce_translation' ); function my_woocommerce_translation( $translation ) { if ('Gutschein hinzufügen' === $translation ) { $translation = 'Rabattcode anwenden'; } return $translation; }
Do I have another option to change the text here? Maybe somehow through CSS?
Thank You
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Change “Add Coupon” text’ is closed to new replies.