From 3ab4d0ece4477894588ff55cda986f8c2e783907 Mon Sep 17 00:00:00 2001 From: dinamiko Date: Mon, 18 Jan 2021 17:23:53 +0100 Subject: [PATCH] Update title and description for single product and cart page --- modules/ppcp-wc-gateway/services.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/modules/ppcp-wc-gateway/services.php b/modules/ppcp-wc-gateway/services.php index bb8c82d02..0b8edeb09 100644 --- a/modules/ppcp-wc-gateway/services.php +++ b/modules/ppcp-wc-gateway/services.php @@ -1801,6 +1801,30 @@ return array( 'description' => __( 'Display pay later messaging on your site for offers like Pay in 3, which lets customers pay with 3 interest-free monthly payments. We’ll show messages on your site to promote this feature for you. You may not promote pay later offers with any other content, marketing, or materials.', 'woocommerce-paypal-payments' ), 'class' => array( 'ppcp-subheading' ), ]; + $fields['message_product_heading'] = [ + 'heading' => __( 'Pay Later Messaging on Single Product Page', 'woocommerce-paypal-payments' ), + 'type' => 'ppcp-heading', + 'screens' => array( + State::STATE_PROGRESSIVE, + State::STATE_ONBOARDED, + ), + 'requirements' => array( 'messages' ), + 'gateway' => 'paypal', + 'description' => __( 'Display pay later messaging on your site for offers like Pay in 3, which lets customers pay with 3 interest-free monthly payments. We’ll show messages on your site to promote this feature for you. You may not promote pay later offers with any other content, marketing, or materials.', 'woocommerce-paypal-payments' ), + 'class' => array( 'ppcp-subheading' ), + ]; + $fields['message_cart_heading'] = [ + 'heading' => __( 'Pay Later Messaging on Cart', 'woocommerce-paypal-payments' ), + 'type' => 'ppcp-heading', + 'screens' => array( + State::STATE_PROGRESSIVE, + State::STATE_ONBOARDED, + ), + 'requirements' => array( 'messages' ), + 'gateway' => 'paypal', + 'description' => __( 'Display pay later messaging on your site for offers like Pay in 3, which lets customers pay with 3 interest-free monthly payments. We’ll show messages on your site to promote this feature for you. You may not promote pay later offers with any other content, marketing, or materials.', 'woocommerce-paypal-payments' ), + 'class' => array( 'ppcp-subheading' ), + ]; } $dcc_applies = $container->get( 'api.helpers.dccapplies' );