PluginProbe
AliNext – WooCommerce Dropshipping Plugin for AliExpress / trunk
AliNext – WooCommerce Dropshipping Plugin for AliExpress vtrunk
ali2woo-lite / includes / classes / service / PromoService.php

PromoService.php in AliNext – WooCommerce Dropshipping Plugin for AliExpress trunk, at includes/classes/service/PromoService.php

81 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Description of PromoService
5 *
6 * @author Ali2Woo Team
7 */
8
9 namespace AliNext_Lite;;
10
11 class PromoService
12 {
13 protected array $promoData;
14
15 public function __construct()
16 {
17 $this->promoData = $this->buildPromoData();
18 }
19
20 public function getPromoData(): array
21 {
22 return $this->promoData;
23 }
24
25 protected function buildPromoData(): array
26 {
27 return [
28 'full_plugin_link' => 'https://ali2woo.com/pricing/?utm_source=lite&utm_medium=plugin_promo&utm_campaign=alinext-lite',
29 'promo_image_url' => A2WL()->plugin_url() . '/assets/img/alinext-plugin-box-268.jpg',
30 'title' => 'AliNext full version',
31 'description' => $this->generateDescriptionHtml(),
32 'local_price' => '9.00',
33 'local_regular_price' => '22.00',
34 'currency' => 'EUR',
35 'evaluateScore' => 4.8,
36 'purchases' => 92144,
37 'button_cta' => 'Get Full Version',
38 ];
39 }
40
41 protected function generateDescriptionHtml(): string
42 {
43 $features = [
44 'Seamless Upgrade & Priority Support' =>
45 'Switch to the full version in seconds: no lost settings, no downtime. Plus, enjoy premium support and continuous updates to stay ahead.',
46
47 'Massive Daily Quotas & Region Accuracy' =>
48 'Break free from Lite limits with up to 100,000 daily requests. Target the right AliExpress region for precise stock and pricing data.',
49
50 'Advanced Catalog & Review Automation' =>
51 'Import full category trees without restrictions and keep your store fresh with automatic review syncing from AliExpress.',
52
53 'Unlimited Orders & Real-Time Sync' =>
54 'In the full version, fulfill unlimited orders via the official API and keep order statuses perfectly aligned: no manual updates needed.',
55
56 'Automatic Product Data Sync' =>
57 'Stay worry free with continuous syncing of prices and stock levels for all imported products: your catalog is always up to date.',
58
59 'Built-In Image Editor' =>
60 'Edit imported product images directly inside the plugin. Remove seller watermarks and polish visuals without relying on external tools.',
61
62 'Advanced Shipping Control' =>
63 'Available in the full version: give customers real AliExpress shipping options on your storefront, while you stay in full control with flexible markup rules and bulk carrier assignments.',
64
65 'Team-Friendly Access Control' =>
66 'Exclusive to the full version: grant Shop Managers controlled access to plugin features without exposing full admin rights: safe delegation made simple.',
67
68 'CSV Bulk Import' =>
69 'Exclusive to the full version: import thousands of products at once using CSV files for faster catalog setup and easier migration.',
70 ];
71
72 $html = '<ul style="list-style: decimal;">';
73 foreach ($features as $title => $desc) {
74 $html .= "<li><strong>{$title}</strong> {$desc}</li>";
75 }
76 $html .= '</ul>';
77
78 return $html;
79 }
80 }
81