| @@ -33,14 +33,14 @@ | ||
| 33 | 33 | public $module = [ |
| 34 | 34 | 'modules_edd', |
| 35 | 35 | 'modules_custom_notification', |
| 36 | 36 | 'modules_zapier', |
| 37 | - 'modules_bitintegration', | |
| 37 | + 'modules_bitintegrations', | |
| 38 | 38 | 'modules_freemius', |
| 39 | 39 | 'modules_envato', |
| 40 | 40 | ]; |
| 41 | 41 | |
| 42 | - public $conversions_count = array('conversions_conv-theme-seven', 'conversions_conv-theme-eight', 'conversions_conv-theme-nine','woocommerce_sales_conv-theme-seven', 'woocommerce_sales_conv-theme-eight', 'woocommerce_sales_conv-theme-nine'); | |
| 42 | + public $conversions_count = array('conversions_conv-theme-seven', 'conversions_conv-theme-eight', 'conversions_conv-theme-nine', 'conversions_conv-theme-fourteen', 'conversions_conv-theme-sixteen', 'woocommerce_sales_conv-theme-seven', 'woocommerce_sales_conv-theme-eight', 'woocommerce_sales_conv-theme-nine', 'woocommerce_sales_conv-theme-fourteen', 'woocommerce_sales_conv-theme-sixteen'); | |
| 43 | 43 | public $map_dependency = []; |
| 44 | 44 | |
| 45 | 45 | |
| 46 | 46 | public $default_source = 'woocommerce'; |
| @@ -75,8 +75,47 @@ | ||
| 75 | 75 | 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-2.jpg', |
| 76 | 76 | 'image_shape' => 'square', |
| 77 | 77 | 'template' => $common_fields, |
| 78 | 78 | ], |
| 79 | + // Figma "theme-one" — circular avatar, name row, action+product+time row, | |
| 80 | + // green "Verified by NotificationX" badge (branding) + right-aligned "Buy now" link. | |
| 81 | + 'conv-theme-twelve' => array( | |
| 82 | + 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-12.png', | |
| 83 | + 'image_shape' => 'circle', | |
| 84 | + 'template' => $common_fields, | |
| 85 | + 'defaults' => [ | |
| 86 | + 'link_button' => true, | |
| 87 | + 'link_button_text' => __( 'Buy now', 'notificationx' ), | |
| 88 | + ], | |
| 89 | + ), | |
| 90 | + // Figma "theme-two" — floating "Buy now" pill above top-right, rounded-square | |
| 91 | + // avatar, row 1 = name + right-aligned time, row 2 = "Bought <product>", | |
| 92 | + // green "Verified by NotificationX" badge. | |
| 93 | + 'conv-theme-thirteen' => array( | |
| 94 | + 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-13.png', | |
| 95 | + 'image_shape' => 'rounded', | |
| 96 | + // Row 2 reads "Bought <product>" per the design (the shared default | |
| 97 | + // is "just purchased"), so override the action verb for this theme. | |
| 98 | + 'template' => array_merge( $common_fields, [ | |
| 99 | + 'second_param' => __( 'Bought', 'notificationx' ), | |
| 100 | + ] ), | |
| 101 | + 'defaults' => [ | |
| 102 | + 'link_button' => true, | |
| 103 | + 'link_button_text' => __( 'Buy now', 'notificationx' ), | |
| 104 | + ], | |
| 105 | + ), | |
| 106 | + // Figma "theme-four" — left lavender image panel with a check badge, floating | |
| 107 | + // "Buy now" pill above top-right, row 1 = time (top-right), row 2 = name + | |
| 108 | + // action + product, green "Verified by NotificationX" badge. | |
| 109 | + 'conv-theme-fifteen' => array( | |
| 110 | + 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-15.png', | |
| 111 | + 'image_shape' => 'rounded', | |
| 112 | + 'template' => $common_fields, | |
| 113 | + 'defaults' => [ | |
| 114 | + 'link_button' => true, | |
| 115 | + 'link_button_text' => __( 'Buy now', 'notificationx' ), | |
| 116 | + ], | |
| 117 | + ), | |
| 79 | 118 | 'theme-two' => [ |
| 80 | 119 | 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-1.jpg', |
| 81 | 120 | 'image_shape' => 'square', |
| 82 | 121 | 'template' => $common_fields, |
| @@ -129,8 +168,34 @@ | ||
| 129 | 168 | 'link_button_text' => __( 'Buy Now','notificationx' ), |
| 130 | 169 | ], |
| 131 | 170 | 'template' => $common_fields, |
| 132 | 171 | ), |
| 172 | + // Figma "theme-three" — sales-count card (cart icon, "X Buyers purchased / | |
| 173 | + // in last N days / Purchase now" + verified badge). Pro: the count is | |
| 174 | + // aggregated by SalesFeatures (gated by $sales_count_themes) and the count | |
| 175 | + // template is assigned in the Pro Conversions type. | |
| 176 | + 'conv-theme-fourteen' => array( | |
| 177 | + 'is_pro' => true, | |
| 178 | + 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-14.png', | |
| 179 | + 'image_shape' => 'rounded', | |
| 180 | + 'defaults' => [ | |
| 181 | + 'link_button' => true, | |
| 182 | + 'link_button_text' => __( 'Purchase now', 'notificationx' ), | |
| 183 | + ], | |
| 184 | + ), | |
| 185 | + // Figma "theme-five" — sales-count card, alternate layout: verified badge | |
| 186 | + // pill on top, cart icon (blue box) + "<count> Buyers purchased / In the | |
| 187 | + // last N days- Join them now!", floating "Purchase now" pill top-right. | |
| 188 | + // Same Pro sales-count engine as conv-theme-fourteen. | |
| 189 | + 'conv-theme-sixteen' => array( | |
| 190 | + 'is_pro' => true, | |
| 191 | + 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/nx-conv-theme-16.png', | |
| 192 | + 'image_shape' => 'rounded', | |
| 193 | + 'defaults' => [ | |
| 194 | + 'link_button' => true, | |
| 195 | + 'link_button_text' => __( 'Purchase now', 'notificationx' ), | |
| 196 | + ], | |
| 197 | + ), | |
| 133 | 198 | 'conv-theme-seven' => array( |
| 134 | 199 | 'is_pro' => true, |
| 135 | 200 | 'source' => NOTIFICATIONX_ADMIN_URL . 'images/extensions/themes/pro/nx-conv-theme-7.png', |
| 136 | 201 | 'image_shape' => 'rounded', |
| @@ -220,8 +285,11 @@ | ||
| 220 | 285 | 'conversions_theme-four', |
| 221 | 286 | 'conversions_theme-five', |
| 222 | 287 | 'conversions_conv-theme-ten', |
| 223 | 288 | 'conversions_conv-theme-eleven', |
| 289 | + 'conversions_conv-theme-twelve', | |
| 290 | + 'conversions_conv-theme-thirteen', | |
| 291 | + 'conversions_conv-theme-fifteen', | |
| 224 | 292 | 'woocommerce_sales_theme-one', |
| 225 | 293 | 'woocommerce_sales_theme-two', |
| 226 | 294 | 'woocommerce_sales_theme-three', |
| 227 | 295 | 'woocommerce_sales_theme-four', |
| @@ -227,8 +295,11 @@ | ||
| 227 | 295 | 'woocommerce_sales_theme-four', |
| 228 | 296 | 'woocommerce_sales_theme-five', |
| 229 | 297 | 'woocommerce_sales_conv-theme-ten', |
| 230 | 298 | 'woocommerce_sales_conv-theme-eleven', |
| 299 | + 'woocommerce_sales_conv-theme-twelve', | |
| 300 | + 'woocommerce_sales_conv-theme-thirteen', | |
| 301 | + 'woocommerce_sales_conv-theme-fifteen', | |
| 231 | 302 | ] |
| 232 | 303 | ], |
| 233 | 304 | 'woo_template_sales_count' => [ |
| 234 | 305 | 'first_param' => GlobalFields::get_instance()->common_name_fields(), |
| @@ -242,12 +313,16 @@ | ||
| 242 | 313 | 'conversions_conv-theme-six', |
| 243 | 314 | 'conversions_conv-theme-seven', |
| 244 | 315 | 'conversions_conv-theme-eight', |
| 245 | 316 | 'conversions_conv-theme-nine', |
| 317 | + 'conversions_conv-theme-fourteen', | |
| 318 | + 'conversions_conv-theme-sixteen', | |
| 246 | 319 | 'woocommerce_sales_conv-theme-six', |
| 247 | 320 | 'woocommerce_sales_conv-theme-seven', |
| 248 | 321 | 'woocommerce_sales_conv-theme-eight', |
| 249 | 322 | 'woocommerce_sales_conv-theme-nine', |
| 323 | + 'woocommerce_sales_conv-theme-fourteen', | |
| 324 | + 'woocommerce_sales_conv-theme-sixteen', | |
| 250 | 325 | ] |
| 251 | 326 | ], |
| 252 | 327 | ]; |
| 253 | 328 | } |