Changeset 3412202
- Timestamp:
- 12/05/2025 12:46:28 PM (3 months ago)
- Location:
- bonus-for-woo
- Files:
-
- 2 edited
-
tags/7.5.2/classes/BfwRouter.php (modified) (2 diffs)
-
trunk/classes/BfwRouter.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bonus-for-woo/tags/7.5.2/classes/BfwRouter.php
r3412130 r3412202 279 279 // Проверяем имя купона 280 280 if ( $coupon instanceof WC_Coupon && $coupon->get_code() === $cart_discount) { 281 return $val['bonus-points-on-cart'].' added.';281 return $val['bonus-points-on-cart'].' '.__('applied', 'bonus-for-woo').'.'; 282 282 } 283 283 return $msg; … … 290 290 if ( $coupon_code === $cart_discount ) { 291 291 wc_clear_notices(); 292 wc_add_notice( $val['bonus-points-on-cart'].' removed.', 'success' );292 wc_add_notice( $val['bonus-points-on-cart'].' '.__('removed', 'bonus-for-woo').'.'; 293 293 } 294 294 });*/ -
bonus-for-woo/trunk/classes/BfwRouter.php
r3412130 r3412202 279 279 // Проверяем имя купона 280 280 if ( $coupon instanceof WC_Coupon && $coupon->get_code() === $cart_discount) { 281 return $val['bonus-points-on-cart'].' added.';281 return $val['bonus-points-on-cart'].' '.__('applied', 'bonus-for-woo').'.'; 282 282 } 283 283 return $msg; … … 290 290 if ( $coupon_code === $cart_discount ) { 291 291 wc_clear_notices(); 292 wc_add_notice( $val['bonus-points-on-cart'].' removed.', 'success' );292 wc_add_notice( $val['bonus-points-on-cart'].' '.__('removed', 'bonus-for-woo').'.'; 293 293 } 294 294 });*/
Note: See TracChangeset
for help on using the changeset viewer.