'tag_name', // 'custom_first_param' => __('Someone' , 'notificationx'), // 'second_param' => __('just purchased', 'notificationx'), // 'third_param' => 'tag_product_title', // 'custom_third_param' => __('Anonymous Product', 'notificationx'), // 'fourth_param' => 'tag_time', // 'custom_fourth_param' => __( 'Some time ago', 'notificationx' ), // ]; // $this->themes = [ // 'theme-one' => [ // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-2.jpg', // 'image_shape' => 'square', // 'template' => $common_fields, // ], // 'theme-two' => [ // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-1.jpg', // 'image_shape' => 'square', // 'template' => $common_fields, // ], // 'theme-three' => [ // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-3.jpg', // 'image_shape' => 'square', // 'template' => $common_fields, // ], // 'theme-four' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-four.png', // 'image_shape' => 'circle', // 'template' => $common_fields, // ), // 'theme-five' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-five.png', // 'image_shape' => 'circle', // 'template' => $common_fields, // ), // // @todo pro map theme // 'conv-theme-six' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-6.jpg', // 'image_shape' => 'circle', // ), // // @todo pro map theme // 'maps_theme' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/maps-theme.png', // 'image_shape' => 'square', // 'show_notification_image' => 'maps_image', // ), // 'conv-theme-ten' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-4.png', // 'image_shape' => 'rounded', // 'defaults' => [ // 'link_button' => true, // 'link_button_text' => __('Buy Now'), // ], // 'template' => $common_fields, // ), // 'conv-theme-eleven' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-5.png', // 'image_shape' => 'rounded', // 'defaults' => [ // 'link_button' => true, // 'link_button_text' => __('Buy Now'), // ], // 'template' => $common_fields, // ), // 'conv-theme-seven' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-7.png', // 'image_shape' => 'rounded', // ), // 'conv-theme-eight' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-8.png', // 'image_shape' => 'circle', // ), // 'conv-theme-nine' => array( // 'is_pro' => true, // 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-9.png', // 'image_shape' => 'rounded', // ), // ]; // $this->templates = [ // 'woo_template_new' => [ // 'first_param' => GlobalFields::get_instance()->common_name_fields(), // 'third_param' => [ // 'tag_product_title' => __('Product Title', 'notificationx'), // ], // 'fourth_param' => [ // 'tag_time' => __('Definite Time', 'notificationx'), // ], // '_themes' => [ // 'woocommerce_sales_theme-one', // 'woocommerce_sales_theme-two', // 'woocommerce_sales_theme-three', // 'woocommerce_sales_theme-four', // 'woocommerce_sales_theme-five', // 'woocommerce_sales_conv-theme-ten', // 'woocommerce_sales_conv-theme-eleven', // ] // ], // 'woo_sales_template_sales_count' => [ // 'first_param' => GlobalFields::get_instance()->common_name_fields(), // 'third_param' => [ // 'tag_product_title' => __('Product Title', 'notificationx'), // ], // 'fourth_param' => [ // // 'tag_time' => __('Definite Time', 'notificationx'), // ], // '_themes' => [ // 'woocommerce_sales_conv-theme-six', // 'woocommerce_sales_conv-theme-seven', // 'woocommerce_sales_conv-theme-eight', // 'woocommerce_sales_conv-theme-nine', // ] // ], // ]; } public function init_extension() { $this->title = __('Sales Notification', 'notificationx'); $this->module_title = __('Sales Notification', 'notificationx'); } public function doc(){ /* translators: %1$s: WooCommerce installed & activated link URL, %2$s: documentation link URL, %3$s: Watch video tutorial link URL, %4$s: Best FOMO and Social Proof Plugin link URL, %5$s: boost WooCommerce Sales link URL */ return sprintf(__('

Make sure that you have WooCommerce installed & activated to use this campaign. For further assistance, check out our step by step documentation.

🎦 Watch video tutorial to learn quickly

⭐ NotificationX Integration with WooCommerce

Recommended Blog:

🔥 Why NotificationX is The Best FOMO and Social Proof Plugin for WooCommerce?

🚀 How to boost WooCommerce Sales Using NotificationX

', 'notificationx'), 'https://wordpress.org/plugins/woocommerce/', 'https://notificationx.com/docs/configure-woocommerce-sales-alert/', 'https://www.youtube.com/watch?v=dVthd36hJ-E&t=1s', 'https://notificationx.com/integrations/woocommerce/', 'https://notificationx.com/blog/best-fomo-and-social-proof-plugin-for-woocommerce/' ); } }