PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.3.0
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.3.0
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
← All changes | abilities/class-cartflows-ability-config.php +18 -10 3.2.0 → 3.3.0 View file →
@@ -2868,28 +2868,32 @@
2868 2868 ),
2869 2869 'output_schema' => array(
2870 2870 'type' => 'object',
2871 2871 'properties' => array(
2872 - 'product_id' => array(
2872 + 'product_id' => array(
2873 2873 'type' => 'integer',
2874 2874 'description' => __( 'Product ID.', 'cartflows' ),
2875 2875 ),
2876 - 'product_title' => array(
2876 + 'product_title' => array(
2877 2877 'type' => 'string',
2878 2878 'description' => __( 'Product title.', 'cartflows' ),
2879 2879 ),
2880 - 'flow_id' => array(
2880 + 'flow_id' => array(
2881 2881 'type' => 'integer',
2882 2882 'description' => __( 'Mapped flow ID (0 if none).', 'cartflows' ),
2883 2883 ),
2884 - 'flow_title' => array(
2884 + 'flow_title' => array(
2885 2885 'type' => 'string',
2886 2886 'description' => __( 'Mapped flow title (empty if none).', 'cartflows' ),
2887 2887 ),
2888 - 'add_to_cart_text' => array(
2888 + 'add_to_cart_text' => array(
2889 2889 'type' => 'string',
2890 2890 'description' => __( 'Custom add-to-cart button text (empty if default).', 'cartflows' ),
2891 2891 ),
2892 + 'redirect_add_to_cart' => array(
2893 + 'type' => 'boolean',
2894 + 'description' => __( 'Whether the single-product Add to Cart button redirects to the mapped flow. False when no published flow with steps is mapped or the merchant switched the redirect off.', 'cartflows' ),
2895 + ),
2892 2896 ),
2893 2897 ),
2894 2898 'execute_callback' => function ( $input ) use ( $cf ) {
2895 2899 return $cf->get_product_flow_mapping( $input );
@@ -2942,27 +2946,31 @@
2942 2946 'description' => __( 'Products with flow mappings.', 'cartflows' ),
2943 2947 'items' => array(
2944 2948 'type' => 'object',
2945 2949 'properties' => array(
2946 - 'product_id' => array(
2950 + 'product_id' => array(
2947 2951 'type' => 'integer',
2948 2952 'description' => __( 'Product ID.', 'cartflows' ),
2949 2953 ),
2950 - 'product_title' => array(
2954 + 'product_title' => array(
2951 2955 'type' => 'string',
2952 2956 'description' => __( 'Product title.', 'cartflows' ),
2953 2957 ),
2954 - 'flow_id' => array(
2958 + 'flow_id' => array(
2955 2959 'type' => 'integer',
2956 2960 'description' => __( 'Mapped flow ID.', 'cartflows' ),
2957 2961 ),
2958 - 'flow_title' => array(
2962 + 'flow_title' => array(
2959 2963 'type' => 'string',
2960 2964 'description' => __( 'Mapped flow title.', 'cartflows' ),
2961 2965 ),
2962 - 'add_to_cart_text' => array(
2966 + 'add_to_cart_text' => array(
2963 2967 'type' => 'string',
2964 2968 'description' => __( 'Custom button text.', 'cartflows' ),
2969 + ),
2970 + 'redirect_add_to_cart' => array(
2971 + 'type' => 'boolean',
2972 + 'description' => __( 'Whether the single-product Add to Cart button redirects to the mapped flow.', 'cartflows' ),
2965 2973 ),
2966 2974 ),
2967 2975 ),
2968 2976 ),