| @@ -199,11 +199,11 @@ | ||
| 199 | 199 | add_action('woocommerce_new_order_item', 'woo_vipps_remove_no_ajax' , 11); |
| 200 | 200 | }); |
| 201 | 201 | } |
| 202 | 202 | |
| 203 | - // Support Woo-Mailerlite in Vipps Checkout | |
| 203 | + // Support Woo-Mailerlite in Checkout | |
| 204 | 204 | if (class_exists('MailerLite\Includes\Classes\Settings\MailerLiteSettings')) { |
| 205 | - // If Mailerlite is active as well as Vipps Checkout, then add support for it | |
| 205 | + // If Mailerlite is active as well as Checkout, then add support for it | |
| 206 | 206 | if (get_option('ml_account_authenticated') && (Vipps::instance()->gateway()->get_option('vipps_checkout_enabled') == 'yes')) { |
| 207 | 207 | |
| 208 | 208 | // If checkout is active, don't support saving "lost carts" |
| 209 | 209 | add_filter('option_mailerlite_disable_checkout_sync', function ($value, $option) { |
| @@ -209,9 +209,9 @@ | ||
| 209 | 209 | add_filter('option_mailerlite_disable_checkout_sync', function ($value, $option) { |
| 210 | 210 | return 1; |
| 211 | 211 | }, 10, 2); |
| 212 | 212 | |
| 213 | - // Check if the checkout feature is enabled for MailerLite, and if so, add the feature for Vipps Checkout | |
| 213 | + // Check if the checkout feature is enabled for MailerLite, and if so, add the feature for Checkout | |
| 214 | 214 | $checkout = MailerLite\Includes\Classes\Settings\MailerLiteSettings::getInstance()->getMlOption('checkout', 'no'); |
| 215 | 215 | if ($checkout == 'yes') { |
| 216 | 216 | add_filter('woo_vipps_checkout_consent_query', function ($text) { |
| 217 | 217 | return MailerLite\Includes\Classes\Settings\MailerLiteSettings::getInstance()->getMlOption('checkout_label'); |
| @@ -236,9 +236,9 @@ | ||
| 236 | 236 | } |
| 237 | 237 | } |
| 238 | 238 | } |
| 239 | 239 | |
| 240 | - // Support Mailchimp for WooCommerce in Vipps Checkout | |
| 240 | + // Support Mailchimp for WooCommerce in Checkout | |
| 241 | 241 | if (function_exists('mailchimp_is_configured') && class_exists('MailChimp_Service')) { |
| 242 | 242 | // If mailchimp is configured and Checkout is on, add actions |
| 243 | 243 | if (mailchimp_is_configured() && (Vipps::instance()->gateway()->get_option('vipps_checkout_enabled') == 'yes')) { |
| 244 | 244 | |