Changeset 2065093
- Timestamp:
- 04/08/2019 02:11:26 PM (7 years ago)
- Location:
- customerlabs-actionrecorder/trunk
- Files:
-
- 2 edited
-
ActionRecorder.php (modified) (2 diffs)
-
class.cltracker-settings.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
customerlabs-actionrecorder/trunk/ActionRecorder.php
r2065074 r2065093 320 320 'title' => __( 'CustomerLabs App ID', 'cltracker' ), 321 321 'callback' => array( 'CLTracker_Settings', 'app_id_callback' ), 322 ), 322 ), 323 array( 324 'name' => 'track_logins', 325 'title' => '', 326 'callback' => array( 'CLTracker_Settings', 'track_logins_callback' ), 327 ), 328 ) 329 ), 330 'woocommerce_settings' => array( 331 'title' => __( 'WooCommerce Settings', 'cltracker' ), 332 'callback' => array( 'CLTracker_Settings', 'general_section_callback_empty' ), 333 'fields' => array( 323 334 array( 324 335 'name' => 'track_add_to_cart', … … 346 357 'callback' => array( 'CLTracker_Settings', 'track_purchased_callback' ), 347 358 ), 348 array(349 'name' => 'track_logins',350 'title' => '',351 'callback' => array( 'CLTracker_Settings', 'track_logins_callback' ),352 ),353 359 ) 354 ) ,360 ) 355 361 )); 356 362 } -
customerlabs-actionrecorder/trunk/class.cltracker-settings.php
r2065074 r2065093 12 12 public static function general_section_callback() { 13 13 ?> 14 <p style="max-width: 49em"><?php _e( 'Once you’ve save d your App Id, You can able to send ecommerce events to customerlabs Action Recorder', 'cltracker' ); ?></p>14 <p style="max-width: 49em"><?php _e( 'Once you’ve save your App ID, we’ll install the code and start tracking events.', 'cltracker' ); ?></p> 15 15 <?php 16 16 } 17 17 public static function general_section_callback_empty() { 18 ?> 19 <p style="max-width: 49em"><?php _e( 'We’ll automatically track the following events if you’ve enabled WooCommerce.', 'cltracker' ); ?></p> 20 21 <?php 22 } 18 23 public static function app_id_callback() { 19 24 … … 42 47 <?php _e( 'Automatically track events when your users click "Add to cart" button.', 'cltracker' ); ?> 43 48 </label> 44 <p class="description"><?php _e( 'This setting will turn on off the "Add to cart" event.', 'cltracker' ); ?></p>49 <p class="description"><?php _e( 'This setting will turn on & off the "Add to cart" event.', 'cltracker' ); ?></p> 45 50 46 51 <?php … … 57 62 <?php _e( 'Automatically track events when your users click "Remove from cart" button.', 'cltracker' ); ?> 58 63 </label> 59 <p class="description"><?php _e( 'This setting will turn on off the "Remove from cart" event.', 'cltracker' ); ?></p>64 <p class="description"><?php _e( 'This setting will turn on & off the "Remove from cart" event.', 'cltracker' ); ?></p> 60 65 61 66 <?php … … 70 75 <label for="track_product_viewed"> 71 76 <input name="<?php echo esc_attr( $name ); ?>" type="checkbox" id="track_product_viewed" value="1" <?php checked( 1, $settings['track_product_viewed'] ); ?> /> 72 <?php _e( 'Automatically track events when your users click "Product viewed" button.', 'cltracker' ); ?>77 <?php _e( 'Automatically track events when your users visits the product page.', 'cltracker' ); ?> 73 78 </label> 74 <p class="description"><?php _e( 'This setting will turn on off the "Product viewed" event.', 'cltracker' ); ?></p>79 <p class="description"><?php _e( 'This setting will turn on & off the "Product viewed" event.', 'cltracker' ); ?></p> 75 80 76 81 <?php
Note: See TracChangeset
for help on using the changeset viewer.