PluginProbe
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant / 2.3.2
Product Labels, Quick View, Buy Now, Pre-Orders, Frequently Bought Together & More for WooCommerce – Merchant v2.3.2
2.3.2 2.3.1 2.3.0 2.2.8 2.2.7 trunk 1.10.0 1.10.1 1.10.2 1.10.3 1.10.4 1.10.5 1.11.0 1.11.1 1.11.2 1.6 1.7 1.8 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 1.9.10 1.9.11 All 60 releases
← All changes | inc/modules/wait-list/class-wait-list.php +20 -0 2.2.72.3.2 View file →
@@ -40,8 +40,17 @@
40 40 */
41 41 protected $has_analytics = true;
42 42
43 43 /**
44 + * Initialize the module's option group definitions.
45 + *
46 + * @return array<int, array<string, mixed>> Array of option group arrays.
47 + */
48 + protected function init_option_groups() {
49 + return require MERCHANT_DIR . 'inc/modules/' . self::MODULE_ID . '/admin/options.php';
50 + }
51 +
52 + /**
44 53 * Constructor.
45 54 *
46 55 */
47 56 public function __construct() {
@@ -73,8 +82,19 @@
73 82 );
74 83
75 84 // Module data.
76 85 $this->module_data = Merchant_Admin_Modules::$modules_data[ self::MODULE_ID ];
86 +
87 + // AI prompt examples.
88 + $this->ai_examples = array(
89 + 'blurb' => esc_html__( 'See what AI can do for your waitlist, from wording the sign-up form and restock emails to reviewing and pruning the list of subscribers.', 'merchant' ),
90 + 'prompts' => array(
91 + esc_html__( 'Explore the abilities WPVibe gives you access to, then show me everyone currently on the waitlist for the Midnight Runner Sneakers', 'merchant' ),
92 + esc_html__( "Check what abilities you have available through WPVibe, then reword the back-in-stock email to open with 'Good news, your {product} is available again'", 'merchant' ),
93 + esc_html__( 'Look at your available WPVibe abilities, then turn on automatic restock emails so subscribers are notified the moment an item is back in stock', 'merchant' ),
94 + esc_html__( 'See what abilities WPVibe exposes, then clear out everyone who already unsubscribed from the Midnight Runner Sneakers waitlist', 'merchant' ),
95 + ),
96 + );
77 97
78 98 // Module options path.
79 99 $this->module_options_path = self::MODULE_DIR . '/admin/options.php';
80 100