| @@ -119,8 +119,13 @@ | ||
| 119 | 119 | 'pro' => true, |
| 120 | 120 | 'section' => 'convert-more', |
| 121 | 121 | 'icon' => Merchant_SVG_Icons::get_svg_icon( 'module-checkout' ), |
| 122 | 122 | ), |
| 123 | + 'delivery-pickup' => array( | |
| 124 | + 'pro' => true, | |
| 125 | + 'section' => 'convert-more', | |
| 126 | + 'icon' => Merchant_SVG_Icons::get_svg_icon( 'module-delivery-pickup' ), | |
| 127 | + ), | |
| 123 | 128 | 'sticky-add-to-cart' => array( |
| 124 | 129 | 'pro' => true, |
| 125 | 130 | 'section' => 'convert-more', |
| 126 | 131 | 'icon' => Merchant_SVG_Icons::get_svg_icon( 'module-sticky-add-to-cart' ), |
| @@ -327,8 +332,9 @@ | ||
| 327 | 332 | array( |
| 328 | 333 | 'title' => self::modules_translation_data()[ $module_id ]['title'], |
| 329 | 334 | 'desc' => self::modules_translation_data()[ $module_id ]['desc'], |
| 330 | 335 | 'tutorial_url' => self::modules_translation_data()[ $module_id ]['tutorial_url'], |
| 336 | + 'ai_examples' => self::get_module_ai_examples( $module_id ), | |
| 331 | 337 | ) |
| 332 | 338 | ); |
| 333 | 339 | } |
| 334 | 340 | } |
| @@ -336,8 +342,29 @@ | ||
| 336 | 342 | return $modules; |
| 337 | 343 | } |
| 338 | 344 | |
| 339 | 345 | /** |
| 346 | + * Get a module's AI prompt examples. | |
| 347 | + * | |
| 348 | + * Prefers the module's own class (see Merchant_Add_Module::get_ai_examples()) | |
| 349 | + * and falls back to modules_translation_data() for modules that don't yet | |
| 350 | + * define their own. | |
| 351 | + * | |
| 352 | + * @param string $module_id The module identifier. | |
| 353 | + * | |
| 354 | + * @return array Array with 'blurb' and 'prompts' keys, or an empty array. | |
| 355 | + */ | |
| 356 | + private static function get_module_ai_examples( $module ) { | |
| 357 | + $module_instance = Merchant_Modules::get_module( $module ); | |
| 358 | + | |
| 359 | + if ( $module_instance && ! empty( $module_instance->get_ai_examples() ) ) { | |
| 360 | + return $module_instance->get_ai_examples(); | |
| 361 | + } | |
| 362 | + | |
| 363 | + return self::modules_translation_data()[ $module ]['ai_examples'] ?? array(); | |
| 364 | + } | |
| 365 | + | |
| 366 | + /** | |
| 340 | 367 | * Get upsell modules. |
| 341 | 368 | */ |
| 342 | 369 | public static function get_upsell_modules() { |
| 343 | 370 | $upsell_modules = array_filter( self::$modules_data, static function ( $module ) { |
| @@ -387,8 +414,9 @@ | ||
| 387 | 414 | array( |
| 388 | 415 | 'title' => self::modules_translation_data()[ $module ]['title'], |
| 389 | 416 | 'desc' => self::modules_translation_data()[ $module ]['desc'], |
| 390 | 417 | 'tutorial_url' => self::modules_translation_data()[ $module ]['tutorial_url'], |
| 418 | + 'ai_examples' => self::get_module_ai_examples( $module ), | |
| 391 | 419 | ) |
| 392 | 420 | ); |
| 393 | 421 | } |
| 394 | 422 | |
| @@ -417,245 +445,250 @@ | ||
| 417 | 445 | * |
| 418 | 446 | * @since 2.1.0 |
| 419 | 447 | */ |
| 420 | 448 | return apply_filters( 'merchant_modules_translation_data', array( |
| 421 | - 'pre-orders' => array( | |
| 422 | - 'title' => esc_html__( 'Pre-Orders', 'merchant' ), | |
| 423 | - 'desc' => esc_html__( 'Allow visitors to pre-order products that are either out of stock or not yet released', 'merchant' ), | |
| 424 | - 'tutorial_url' => 'https://docs.athemes.com/article/pre-orders/', | |
| 425 | - ), | |
| 426 | - 'wait-list' => array( | |
| 427 | - 'title' => esc_html__( 'Waitlist', 'merchant' ), | |
| 428 | - 'desc' => esc_html__( 'Build waitlists for sold-out items and auto-notify potential customers when items are restocked', 'merchant' ), | |
| 429 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-waitlist/', | |
| 430 | - ), | |
| 431 | - 'product-bundles' => array( | |
| 432 | - 'title' => esc_html__( 'Product Bundles', 'merchant' ), | |
| 433 | - 'desc' => esc_html__( 'Create bundles of products to be sold together and boost your average order value', 'merchant' ), | |
| 434 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-bundles/', | |
| 435 | - ), | |
| 436 | - 'frequently-bought-together' => array( | |
| 437 | - 'title' => esc_html__( 'Frequently Bought Together', 'merchant' ), | |
| 438 | - 'desc' => esc_html__( 'Create bundles of related products that customers can add to their cart with just one click', 'merchant' ), | |
| 439 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-frequently-bought-together/', | |
| 440 | - ), | |
| 441 | - 'buy-x-get-y' => array( | |
| 442 | - 'title' => esc_html__( 'Buy X, Get Y', 'merchant' ), | |
| 443 | - 'desc' => esc_html__( 'Create offers where purchasing a specific quantity of Product X triggers a discount on Product Y', 'merchant' ), | |
| 444 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-buy-x-get-y/', | |
| 445 | - ), | |
| 446 | - 'complementary-products' => array( | |
| 447 | - 'title' => esc_html__( 'Complementary Products', 'merchant' ), | |
| 448 | - 'desc' => esc_html__( 'Offer complementary products to help increase average order value', 'merchant' ), | |
| 449 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-complementary-products/', | |
| 450 | - ), | |
| 451 | - 'volume-discounts' => array( | |
| 452 | - 'title' => esc_html__( 'Bulk Discounts', 'merchant' ), | |
| 453 | - 'desc' => esc_html__( 'Offer discounts on larger quantity purchases to drive up average order value', 'merchant' ), | |
| 454 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-bulk-discounts/', | |
| 455 | - ), | |
| 456 | - 'storewide-sale' => array( | |
| 457 | - 'title' => esc_html__( 'Storewide Sale', 'merchant' ), | |
| 458 | - 'desc' => esc_html__( 'Create discount campaigns for all your products, specific categories, or specific products', 'merchant' ), | |
| 459 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-storewide-sale/', | |
| 460 | - ), | |
| 461 | - 'spending-goal' => array( | |
| 462 | - 'title' => esc_html__( 'Spending Discount Goal', 'merchant' ), | |
| 463 | - 'desc' => esc_html__( 'Motivate higher order values by offering customers discounts for reaching spending goals', 'merchant' ), | |
| 464 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-spending-goal/', | |
| 465 | - ), | |
| 466 | - 'free-gifts' => array( | |
| 467 | - 'title' => esc_html__( 'Free Gifts', 'merchant' ), | |
| 468 | - 'desc' => esc_html__( 'Reward shoppers with a gift if they hit a specified spending target or apply a coupon', 'merchant' ), | |
| 469 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-gift-card/', | |
| 470 | - ), | |
| 471 | - 'free-shipping-progress-bar' => array( | |
| 472 | - 'title' => esc_html__( 'Free Shipping Bar', 'merchant' ), | |
| 473 | - 'desc' => esc_html__( 'Encourage customers to spend more by displaying the amount left needed for free shipping', 'merchant' ), | |
| 474 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-free-shipping-progress-bar/', | |
| 475 | - ), | |
| 476 | - 'product-labels' => array( | |
| 477 | - 'title' => esc_html__( 'Product Labels', 'merchant' ), | |
| 478 | - 'desc' => esc_html__( 'Create customizable product labels with display conditions and color settings', 'merchant' ), | |
| 479 | - 'tutorial_url' => 'https://docs.athemes.com/article/product-labels/', | |
| 480 | - ), | |
| 481 | - 'quick-view' => array( | |
| 482 | - 'title' => esc_html__( 'Quick View', 'merchant' ), | |
| 483 | - 'desc' => esc_html__( 'Allows users to quickly view product details without leaving the current page', 'merchant' ), | |
| 484 | - 'tutorial_url' => 'https://docs.athemes.com/article/quick-view/', | |
| 485 | - ), | |
| 486 | - 'added-to-cart-popup' => array( | |
| 487 | - 'title' => esc_html__( 'Added To Cart Popup', 'merchant' ), | |
| 488 | - 'desc' => esc_html__( 'Display a dynamic popup with product suggestions when items are added to the cart', 'merchant' ), | |
| 489 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-added-to-cart-popup/', | |
| 490 | - ), | |
| 491 | - 'countdown-timer' => array( | |
| 492 | - 'title' => esc_html__( 'Countdown Timer', 'merchant' ), | |
| 493 | - 'desc' => esc_html__( 'Create a sense of urgency by displaying a countdown timer on your discounted products', 'merchant' ), | |
| 494 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-countdown-timer/', | |
| 495 | - ), | |
| 496 | - 'stock-scarcity' => array( | |
| 497 | - 'title' => esc_html__( 'Stock Scarcity', 'merchant' ), | |
| 498 | - 'desc' => esc_html__( 'Let visitors know that stock is running low on products they are looking at', 'merchant' ), | |
| 499 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-stock-scarcity/', | |
| 500 | - ), | |
| 501 | - 'checkout' => array( | |
| 502 | - 'title' => esc_html__( 'Checkouts', 'merchant' ), | |
| 503 | - 'desc' => esc_html__( 'Choose from three different checkout layouts: Shopify-style, Multi-step or One-page', 'merchant' ), | |
| 504 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-checkouts/', | |
| 505 | - ), | |
| 506 | - 'sticky-add-to-cart' => array( | |
| 507 | - 'title' => esc_html__( 'Sticky Add To Cart', 'merchant' ), | |
| 508 | - 'desc' => esc_html__( 'Display a sticky add to cart bar when visitors are scrolling on your product pages', 'merchant' ), | |
| 509 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-sticky-add-to-cart/', | |
| 510 | - ), | |
| 511 | - 'recently-viewed-products' => array( | |
| 512 | - 'title' => esc_html__( 'Recently Viewed Products', 'merchant' ), | |
| 513 | - 'desc' => esc_html__( 'Show recently viewed products on product pages and in the cart', 'merchant' ), | |
| 514 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-recently-viewed-products/', | |
| 515 | - ), | |
| 516 | - 'buy-now' => array( | |
| 517 | - 'title' => esc_html__( 'Buy Now', 'merchant' ), | |
| 518 | - 'desc' => esc_html__( 'Send your customers directly to checkout instead of the cart with Buy Now buttons', 'merchant' ), | |
| 519 | - 'tutorial_url' => 'https://docs.athemes.com/article/buy-now/', | |
| 520 | - ), | |
| 521 | - 'cart-count-favicon' => array( | |
| 522 | - 'title' => esc_html__( 'Cart Count Favicon', 'merchant' ), | |
| 523 | - 'desc' => esc_html__( 'Make your browser tab stand out by showing the number of items in the cart on the favicon', 'merchant' ), | |
| 524 | - 'tutorial_url' => 'https://docs.athemes.com/article/cart-count-favicon/', | |
| 525 | - ), | |
| 526 | - 'inactive-tab-message' => array( | |
| 527 | - 'title' => esc_html__( 'Inactive Tab Message', 'merchant' ), | |
| 528 | - 'desc' => esc_html__( 'Modify the browser tab\'s title when the visitor navigates away from your store', 'merchant' ), | |
| 529 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-inactive-tab-message/', | |
| 530 | - ), | |
| 531 | - 'cart-reserved-timer' => array( | |
| 532 | - 'title' => esc_html__( 'Cart Reserved Timer', 'merchant' ), | |
| 533 | - 'desc' => esc_html__( 'Create urgency by letting visitors know that the products in cart are reserved for a limited time', 'merchant' ), | |
| 534 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-cart-reserved-timer/', | |
| 535 | - ), | |
| 536 | - 'side-cart' => array( | |
| 537 | - 'title' => esc_html__( 'Side Cart', 'merchant' ), | |
| 538 | - 'desc' => esc_html__( 'Show a sliding cart whenever a customer adds a product to the cart', 'merchant' ), | |
| 539 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-side-cart/', | |
| 540 | - ), | |
| 541 | - 'payment-logos' => array( | |
| 542 | - 'title' => esc_html__( 'Payment Logos', 'merchant' ), | |
| 543 | - 'desc' => esc_html__( 'Display the logos of the payment methods you accept on product pages', 'merchant' ), | |
| 544 | - 'tutorial_url' => 'https://docs.athemes.com/article/payment-logos/', | |
| 545 | - ), | |
| 546 | - 'trust-badges' => array( | |
| 547 | - 'title' => esc_html__( 'Trust Badges', 'merchant' ), | |
| 548 | - 'desc' => esc_html__( 'Reassure customers by showcasing different badge-shaped store benefits', 'merchant' ), | |
| 549 | - 'tutorial_url' => 'https://docs.athemes.com/article/trust-badges/', | |
| 550 | - ), | |
| 551 | - 'advanced-reviews' => array( | |
| 552 | - 'title' => esc_html__( 'Advanced Reviews', 'merchant' ), | |
| 553 | - 'desc' => esc_html__( 'Enhance your customer reviews with advanced features including photo uploads and more', 'merchant' ), | |
| 554 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-advanced-reviews/', | |
| 555 | - ), | |
| 556 | - 'recent-sales-notifications' => array( | |
| 557 | - 'title' => esc_html__( 'Recent Sales Notifications', 'merchant' ), | |
| 558 | - 'desc' => esc_html__( 'Build trust by displaying real-time notifications of purchases and other user activity on your store', 'merchant' ), | |
| 559 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-recent-sales-notifications/', | |
| 560 | - ), | |
| 561 | - 'reasons-to-buy' => array( | |
| 562 | - 'title' => esc_html__( 'Reasons To Buy List', 'merchant' ), | |
| 563 | - 'desc' => esc_html__( 'Provide customers with a summary of the key features and benefits of your products', 'merchant' ), | |
| 564 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-reasons-to-buy/', | |
| 565 | - ), | |
| 566 | - 'quick-social-links' => array( | |
| 567 | - 'title' => esc_html__( 'Quick Social Links', 'merchant' ), | |
| 568 | - 'desc' => esc_html__( 'Display floating social media icons to make it easier for your customers to connect with you', 'merchant' ), | |
| 569 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-quick-social-links/', | |
| 570 | - ), | |
| 571 | - 'product-brand-image' => array( | |
| 572 | - 'title' => esc_html__( 'Product Brand Image', 'merchant' ), | |
| 573 | - 'desc' => esc_html__( 'Add brand images to products to instill confidence in potential buyers', 'merchant' ), | |
| 574 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-brand-image/', | |
| 575 | - ), | |
| 576 | - 'animated-add-to-cart' => array( | |
| 577 | - 'title' => esc_html__( 'Animated Add to Cart', 'merchant' ), | |
| 578 | - 'desc' => esc_html__( 'Make your Add To Cart button stand out by adding an animation on mouse over or page load', 'merchant' ), | |
| 579 | - 'tutorial_url' => 'https://docs.athemes.com/article/animated-add-to-cart/', | |
| 580 | - ), | |
| 581 | - 'add-to-cart-text' => array( | |
| 582 | - 'title' => esc_html__( 'Add To Cart Text', 'merchant' ), | |
| 583 | - 'desc' => esc_html__( 'Change your store\'s \'Add to Cart\' text for various product types, as well as individual products', 'merchant' ), | |
| 584 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-add-to-cart-text/', | |
| 585 | - ), | |
| 586 | - 'auto-external-links' => array( | |
| 587 | - 'title' => esc_html__( 'Auto External Links', 'merchant' ), | |
| 588 | - 'desc' => esc_html__( 'Keep users from navigating away from your store by opening external links in a new browser tab', 'merchant' ), | |
| 589 | - 'tutorial_url' => 'https://docs.athemes.com/article/auto-external-links/', | |
| 590 | - ), | |
| 591 | - 'real-time-search' => array( | |
| 592 | - 'title' => esc_html__( 'Real-Time Search', 'merchant' ), | |
| 593 | - 'desc' => esc_html__( 'Help visitors instantly find the products they\'re looking for by using predictive search', 'merchant' ), | |
| 594 | - 'tutorial_url' => 'https://docs.athemes.com/article/real-time-search/', | |
| 595 | - ), | |
| 596 | - 'scroll-to-top-button' => array( | |
| 597 | - 'title' => esc_html__( 'Scroll to Top Button', 'merchant' ), | |
| 598 | - 'desc' => esc_html__( 'Help your customers get back easily to the top of the page with a single click', 'merchant' ), | |
| 599 | - 'tutorial_url' => 'https://docs.athemes.com/article/scroll-to-top-button/', | |
| 600 | - ), | |
| 601 | - 'address-autocomplete' => array( | |
| 602 | - 'title' => esc_html__( 'Google Address Autocomplete', 'merchant' ), | |
| 603 | - 'desc' => esc_html__( 'Streamline your checkout process and reduce user errors by autocompleting the address fields', 'merchant' ), | |
| 604 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-google-address-autocomplete/', | |
| 605 | - ), | |
| 606 | - 'size-chart' => array( | |
| 607 | - 'title' => esc_html__( 'Size Chart', 'merchant' ), | |
| 608 | - 'desc' => esc_html__( 'Reduce returns and increase sales by showing a size chart on specific products or all products', 'merchant' ), | |
| 609 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-size-chart/', | |
| 610 | - ), | |
| 611 | - 'product-swatches' => array( | |
| 612 | - 'title' => esc_html__( 'Variation Swatches', 'merchant' ), | |
| 613 | - 'desc' => esc_html__( 'Display variable product options as customizable color/image icons, buttons, or dropdowns', 'merchant' ), | |
| 614 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-variation-swatches/', | |
| 615 | - ), | |
| 616 | - 'wishlist' => array( | |
| 617 | - 'title' => esc_html__( 'Wishlist', 'merchant' ), | |
| 618 | - 'desc' => esc_html__( 'Allow customers to easily save products they are interested in for later', 'merchant' ), | |
| 619 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-wishlist/', | |
| 620 | - ), | |
| 621 | - 'product-navigation-links' => array( | |
| 622 | - 'title' => esc_html__( 'Product Navigation Links', 'merchant' ), | |
| 623 | - 'desc' => esc_html__( 'Enable easy navigation from one product to the next with next/previous links', 'merchant' ), | |
| 624 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-navigation-links/', | |
| 625 | - ), | |
| 626 | - 'product-video' => array( | |
| 627 | - 'title' => esc_html__( 'Product Video', 'merchant' ), | |
| 628 | - 'desc' => esc_html__( 'Upload video to be viewed in product galleries and on archive pages', 'merchant' ), | |
| 629 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-video/', | |
| 630 | - ), | |
| 631 | - 'product-audio' => array( | |
| 632 | - 'title' => esc_html__( 'Product Audio', 'merchant' ), | |
| 633 | - 'desc' => esc_html__( 'Upload audio to be listened to in product galleries and on archive pages', 'merchant' ), | |
| 634 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-audio/', | |
| 635 | - ), | |
| 636 | - 'login-popup' => array( | |
| 637 | - 'title' => esc_html__( 'Login Popup', 'merchant' ), | |
| 638 | - 'desc' => esc_html__( 'Allow users to log in with a simple pop up without navigating to a new page', 'merchant' ), | |
| 639 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-login-popup/', | |
| 640 | - ), | |
| 641 | - 'clear-cart' => array( | |
| 642 | - 'title' => esc_html__( 'Clear Cart', 'merchant' ), | |
| 643 | - 'desc' => esc_html__( 'Display a clear cart button to let customers empty their carts and start fresh', 'merchant' ), | |
| 644 | - 'tutorial_url' => 'https://docs.athemes.com/article/merchant-clear-cart/', | |
| 645 | - ), | |
| 646 | - 'agree-to-terms-checkbox' => array( | |
| 647 | - 'title' => esc_html__( 'Agree to Terms Checkbox', 'merchant' ), | |
| 648 | - 'desc' => esc_html__( 'Get customers to agree to your Terms & Conditions as part of the checkout process', 'merchant' ), | |
| 649 | - 'tutorial_url' => 'https://docs.athemes.com/article/agree-to-terms-checkbox/', | |
| 650 | - ), | |
| 651 | - 'cookie-banner' => array( | |
| 652 | - 'title' => esc_html__( 'Cookie Banner', 'merchant' ), | |
| 653 | - 'desc' => esc_html__( 'Inform your visitors that the site uses cookies via a dismissable banner', 'merchant' ), | |
| 654 | - 'tutorial_url' => 'https://docs.athemes.com/article/cookie-banner/', | |
| 655 | - ), | |
| 656 | - ) ); | |
| 449 | + 'pre-orders' => array( | |
| 450 | + 'title' => esc_html__( 'Pre-Orders', 'merchant' ), | |
| 451 | + 'desc' => esc_html__( 'Allow visitors to pre-order products that are either out of stock or not yet released', 'merchant' ), | |
| 452 | + 'tutorial_url' => 'https://docs.athemes.com/article/pre-orders/', | |
| 453 | + ), | |
| 454 | + 'wait-list' => array( | |
| 455 | + 'title' => esc_html__( 'Waitlist', 'merchant' ), | |
| 456 | + 'desc' => esc_html__( 'Build waitlists for sold-out items and auto-notify potential customers when items are restocked', 'merchant' ), | |
| 457 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-waitlist/', | |
| 458 | + ), | |
| 459 | + 'product-bundles' => array( | |
| 460 | + 'title' => esc_html__( 'Product Bundles', 'merchant' ), | |
| 461 | + 'desc' => esc_html__( 'Create bundles of products to be sold together and boost your average order value', 'merchant' ), | |
| 462 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-bundles/', | |
| 463 | + ), | |
| 464 | + 'frequently-bought-together' => array( | |
| 465 | + 'title' => esc_html__( 'Frequently Bought Together', 'merchant' ), | |
| 466 | + 'desc' => esc_html__( 'Create bundles of related products that customers can add to their cart with just one click', 'merchant' ), | |
| 467 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-frequently-bought-together/', | |
| 468 | + ), | |
| 469 | + 'buy-x-get-y' => array( | |
| 470 | + 'title' => esc_html__( 'Buy X, Get Y', 'merchant' ), | |
| 471 | + 'desc' => esc_html__( 'Create offers where purchasing a specific quantity of Product X triggers a discount on Product Y', 'merchant' ), | |
| 472 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-buy-x-get-y/', | |
| 473 | + ), | |
| 474 | + 'complementary-products' => array( | |
| 475 | + 'title' => esc_html__( 'Complementary Products', 'merchant' ), | |
| 476 | + 'desc' => esc_html__( 'Offer complementary products to help increase average order value', 'merchant' ), | |
| 477 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-complementary-products/', | |
| 478 | + ), | |
| 479 | + 'volume-discounts' => array( | |
| 480 | + 'title' => esc_html__( 'Bulk Discounts', 'merchant' ), | |
| 481 | + 'desc' => esc_html__( 'Offer discounts on larger quantity purchases to drive up average order value', 'merchant' ), | |
| 482 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-bulk-discounts/', | |
| 483 | + ), | |
| 484 | + 'storewide-sale' => array( | |
| 485 | + 'title' => esc_html__( 'Storewide Sale', 'merchant' ), | |
| 486 | + 'desc' => esc_html__( 'Create discount campaigns for all your products, specific categories, or specific products', 'merchant' ), | |
| 487 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-storewide-sale/', | |
| 488 | + ), | |
| 489 | + 'spending-goal' => array( | |
| 490 | + 'title' => esc_html__( 'Spending Discount Goal', 'merchant' ), | |
| 491 | + 'desc' => esc_html__( 'Motivate higher order values by offering customers discounts for reaching spending goals', 'merchant' ), | |
| 492 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-spending-goal/', | |
| 493 | + ), | |
| 494 | + 'free-gifts' => array( | |
| 495 | + 'title' => esc_html__( 'Free Gifts', 'merchant' ), | |
| 496 | + 'desc' => esc_html__( 'Reward shoppers with a gift if they hit a specified spending target or apply a coupon', 'merchant' ), | |
| 497 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-gift-card/', | |
| 498 | + ), | |
| 499 | + 'free-shipping-progress-bar' => array( | |
| 500 | + 'title' => esc_html__( 'Free Shipping Bar', 'merchant' ), | |
| 501 | + 'desc' => esc_html__( 'Encourage customers to spend more by displaying the amount left needed for free shipping', 'merchant' ), | |
| 502 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-free-shipping-progress-bar/', | |
| 503 | + ), | |
| 504 | + 'product-labels' => array( | |
| 505 | + 'title' => esc_html__( 'Product Labels', 'merchant' ), | |
| 506 | + 'desc' => esc_html__( 'Create customizable product labels with display conditions and color settings', 'merchant' ), | |
| 507 | + 'tutorial_url' => 'https://docs.athemes.com/article/product-labels/', | |
| 508 | + ), | |
| 509 | + 'quick-view' => array( | |
| 510 | + 'title' => esc_html__( 'Quick View', 'merchant' ), | |
| 511 | + 'desc' => esc_html__( 'Allows users to quickly view product details without leaving the current page', 'merchant' ), | |
| 512 | + 'tutorial_url' => 'https://docs.athemes.com/article/quick-view/', | |
| 513 | + ), | |
| 514 | + 'added-to-cart-popup' => array( | |
| 515 | + 'title' => esc_html__( 'Added To Cart Popup', 'merchant' ), | |
| 516 | + 'desc' => esc_html__( 'Display a dynamic popup with product suggestions when items are added to the cart', 'merchant' ), | |
| 517 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-added-to-cart-popup/', | |
| 518 | + ), | |
| 519 | + 'countdown-timer' => array( | |
| 520 | + 'title' => esc_html__( 'Countdown Timer', 'merchant' ), | |
| 521 | + 'desc' => esc_html__( 'Create a sense of urgency by displaying a countdown timer on your discounted products', 'merchant' ), | |
| 522 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-countdown-timer/', | |
| 523 | + ), | |
| 524 | + 'stock-scarcity' => array( | |
| 525 | + 'title' => esc_html__( 'Stock Scarcity', 'merchant' ), | |
| 526 | + 'desc' => esc_html__( 'Let visitors know that stock is running low on products they are looking at', 'merchant' ), | |
| 527 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-stock-scarcity/', | |
| 528 | + ), | |
| 529 | + 'checkout' => array( | |
| 530 | + 'title' => esc_html__( 'Checkouts', 'merchant' ), | |
| 531 | + 'desc' => esc_html__( 'Choose from three different checkout layouts: Shopify-style, Multi-step or One-page', 'merchant' ), | |
| 532 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-checkouts/', | |
| 533 | + ), | |
| 534 | + 'delivery-pickup' => array( | |
| 535 | + 'title' => esc_html__( 'Delivery & Pickup', 'merchant' ), | |
| 536 | + 'desc' => esc_html__( 'Let customers choose a delivery date, a time slot or a shop to collect from, and charge for the slots you want', 'merchant' ), | |
| 537 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-delivery-pickup/', | |
| 538 | + ), | |
| 539 | + 'sticky-add-to-cart' => array( | |
| 540 | + 'title' => esc_html__( 'Sticky Add To Cart', 'merchant' ), | |
| 541 | + 'desc' => esc_html__( 'Display a sticky add to cart bar when visitors are scrolling on your product pages', 'merchant' ), | |
| 542 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-sticky-add-to-cart/', | |
| 543 | + ), | |
| 544 | + 'recently-viewed-products' => array( | |
| 545 | + 'title' => esc_html__( 'Recently Viewed Products', 'merchant' ), | |
| 546 | + 'desc' => esc_html__( 'Show recently viewed products on product pages and in the cart', 'merchant' ), | |
| 547 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-recently-viewed-products/', | |
| 548 | + ), | |
| 549 | + 'buy-now' => array( | |
| 550 | + 'title' => esc_html__( 'Buy Now', 'merchant' ), | |
| 551 | + 'desc' => esc_html__( 'Send your customers directly to checkout instead of the cart with Buy Now buttons', 'merchant' ), | |
| 552 | + 'tutorial_url' => 'https://docs.athemes.com/article/buy-now/', | |
| 553 | + ), | |
| 554 | + 'cart-count-favicon' => array( | |
| 555 | + 'title' => esc_html__( 'Cart Count Favicon', 'merchant' ), | |
| 556 | + 'desc' => esc_html__( 'Make your browser tab stand out by showing the number of items in the cart on the favicon', 'merchant' ), | |
| 557 | + 'tutorial_url' => 'https://docs.athemes.com/article/cart-count-favicon/', | |
| 558 | + ), | |
| 559 | + 'inactive-tab-message' => array( | |
| 560 | + 'title' => esc_html__( 'Inactive Tab Message', 'merchant' ), | |
| 561 | + 'desc' => esc_html__( 'Modify the browser tab\'s title when the visitor navigates away from your store', 'merchant' ), | |
| 562 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-inactive-tab-message/', | |
| 563 | + ), | |
| 564 | + 'cart-reserved-timer' => array( | |
| 565 | + 'title' => esc_html__( 'Cart Reserved Timer', 'merchant' ), | |
| 566 | + 'desc' => esc_html__( 'Create urgency by letting visitors know that the products in cart are reserved for a limited time', 'merchant' ), | |
| 567 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-cart-reserved-timer/', | |
| 568 | + ), | |
| 569 | + 'side-cart' => array( | |
| 570 | + 'title' => esc_html__( 'Side Cart', 'merchant' ), | |
| 571 | + 'desc' => esc_html__( 'Show a sliding cart whenever a customer adds a product to the cart', 'merchant' ), | |
| 572 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-side-cart/', | |
| 573 | + ), | |
| 574 | + 'payment-logos' => array( | |
| 575 | + 'title' => esc_html__( 'Payment Logos', 'merchant' ), | |
| 576 | + 'desc' => esc_html__( 'Display the logos of the payment methods you accept on product pages', 'merchant' ), | |
| 577 | + 'tutorial_url' => 'https://docs.athemes.com/article/payment-logos/', | |
| 578 | + ), | |
| 579 | + 'trust-badges' => array( | |
| 580 | + 'title' => esc_html__( 'Trust Badges', 'merchant' ), | |
| 581 | + 'desc' => esc_html__( 'Reassure customers by showcasing different badge-shaped store benefits', 'merchant' ), | |
| 582 | + 'tutorial_url' => 'https://docs.athemes.com/article/trust-badges/', | |
| 583 | + ), | |
| 584 | + 'advanced-reviews' => array( | |
| 585 | + 'title' => esc_html__( 'Advanced Reviews', 'merchant' ), | |
| 586 | + 'desc' => esc_html__( 'Enhance your customer reviews with advanced features including photo uploads and more', 'merchant' ), | |
| 587 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-advanced-reviews/', | |
| 588 | + ), | |
| 589 | + 'recent-sales-notifications' => array( | |
| 590 | + 'title' => esc_html__( 'Recent Sales Notifications', 'merchant' ), | |
| 591 | + 'desc' => esc_html__( 'Build trust by displaying real-time notifications of purchases and other user activity on your store', 'merchant' ), | |
| 592 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-recent-sales-notifications/', | |
| 593 | + ), | |
| 594 | + 'reasons-to-buy' => array( | |
| 595 | + 'title' => esc_html__( 'Reasons To Buy List', 'merchant' ), | |
| 596 | + 'desc' => esc_html__( 'Provide customers with a summary of the key features and benefits of your products', 'merchant' ), | |
| 597 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-reasons-to-buy/', | |
| 598 | + ), | |
| 599 | + 'quick-social-links' => array( | |
| 600 | + 'title' => esc_html__( 'Quick Social Links', 'merchant' ), | |
| 601 | + 'desc' => esc_html__( 'Display floating social media icons to make it easier for your customers to connect with you', 'merchant' ), | |
| 602 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-quick-social-links/', | |
| 603 | + ), | |
| 604 | + 'product-brand-image' => array( | |
| 605 | + 'title' => esc_html__( 'Product Brand Image', 'merchant' ), | |
| 606 | + 'desc' => esc_html__( 'Add brand images to products to instill confidence in potential buyers', 'merchant' ), | |
| 607 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-brand-image/', | |
| 608 | + ), | |
| 609 | + 'animated-add-to-cart' => array( | |
| 610 | + 'title' => esc_html__( 'Animated Add to Cart', 'merchant' ), | |
| 611 | + 'desc' => esc_html__( 'Make your Add To Cart button stand out by adding an animation on mouse over or page load', 'merchant' ), | |
| 612 | + 'tutorial_url' => 'https://docs.athemes.com/article/animated-add-to-cart/', | |
| 613 | + ), | |
| 614 | + 'add-to-cart-text' => array( | |
| 615 | + 'title' => esc_html__( 'Add To Cart Text', 'merchant' ), | |
| 616 | + 'desc' => esc_html__( 'Change your store\'s \'Add to Cart\' text for various product types, as well as individual products', 'merchant' ), | |
| 617 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-add-to-cart-text/', | |
| 618 | + ), | |
| 619 | + 'auto-external-links' => array( | |
| 620 | + 'title' => esc_html__( 'Auto External Links', 'merchant' ), | |
| 621 | + 'desc' => esc_html__( 'Keep users from navigating away from your store by opening external links in a new browser tab', 'merchant' ), | |
| 622 | + 'tutorial_url' => 'https://docs.athemes.com/article/auto-external-links/', | |
| 623 | + ), | |
| 624 | + 'real-time-search' => array( | |
| 625 | + 'title' => esc_html__( 'Real-Time Search', 'merchant' ), | |
| 626 | + 'desc' => esc_html__( 'Help visitors instantly find the products they\'re looking for by using predictive search', 'merchant' ), | |
| 627 | + 'tutorial_url' => 'https://docs.athemes.com/article/real-time-search/', | |
| 628 | + ), | |
| 629 | + 'scroll-to-top-button' => array( | |
| 630 | + 'title' => esc_html__( 'Scroll to Top Button', 'merchant' ), | |
| 631 | + 'desc' => esc_html__( 'Help your customers get back easily to the top of the page with a single click', 'merchant' ), | |
| 632 | + 'tutorial_url' => 'https://docs.athemes.com/article/scroll-to-top-button/', | |
| 633 | + ), | |
| 634 | + 'address-autocomplete' => array( | |
| 635 | + 'title' => esc_html__( 'Google Address Autocomplete', 'merchant' ), | |
| 636 | + 'desc' => esc_html__( 'Streamline your checkout process and reduce user errors by autocompleting the address fields', 'merchant' ), | |
| 637 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-google-address-autocomplete/', | |
| 638 | + ), | |
| 639 | + 'size-chart' => array( | |
| 640 | + 'title' => esc_html__( 'Size Chart', 'merchant' ), | |
| 641 | + 'desc' => esc_html__( 'Reduce returns and increase sales by showing a size chart on specific products or all products', 'merchant' ), | |
| 642 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-size-chart/', | |
| 643 | + ), | |
| 644 | + 'product-swatches' => array( | |
| 645 | + 'title' => esc_html__( 'Variation Swatches', 'merchant' ), | |
| 646 | + 'desc' => esc_html__( 'Display variable product options as customizable color/image icons, buttons, or dropdowns', 'merchant' ), | |
| 647 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-variation-swatches/', | |
| 648 | + ), | |
| 649 | + 'wishlist' => array( | |
| 650 | + 'title' => esc_html__( 'Wishlist', 'merchant' ), | |
| 651 | + 'desc' => esc_html__( 'Allow customers to easily save products they are interested in for later', 'merchant' ), | |
| 652 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-wishlist/', | |
| 653 | + ), | |
| 654 | + 'product-navigation-links' => array( | |
| 655 | + 'title' => esc_html__( 'Product Navigation Links', 'merchant' ), | |
| 656 | + 'desc' => esc_html__( 'Enable easy navigation from one product to the next with next/previous links', 'merchant' ), | |
| 657 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-navigation-links/', | |
| 658 | + ), | |
| 659 | + 'product-video' => array( | |
| 660 | + 'title' => esc_html__( 'Product Video', 'merchant' ), | |
| 661 | + 'desc' => esc_html__( 'Upload video to be viewed in product galleries and on archive pages', 'merchant' ), | |
| 662 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-video/', | |
| 663 | + ), | |
| 664 | + 'product-audio' => array( | |
| 665 | + 'title' => esc_html__( 'Product Audio', 'merchant' ), | |
| 666 | + 'desc' => esc_html__( 'Upload audio to be listened to in product galleries and on archive pages', 'merchant' ), | |
| 667 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-product-audio/', | |
| 668 | + ), | |
| 669 | + 'login-popup' => array( | |
| 670 | + 'title' => esc_html__( 'Login Popup', 'merchant' ), | |
| 671 | + 'desc' => esc_html__( 'Allow users to log in with a simple pop up without navigating to a new page', 'merchant' ), | |
| 672 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-login-popup/', | |
| 673 | + ), | |
| 674 | + 'clear-cart' => array( | |
| 675 | + 'title' => esc_html__( 'Clear Cart', 'merchant' ), | |
| 676 | + 'desc' => esc_html__( 'Display a clear cart button to let customers empty their carts and start fresh', 'merchant' ), | |
| 677 | + 'tutorial_url' => 'https://docs.athemes.com/article/merchant-clear-cart/', | |
| 678 | + ), | |
| 679 | + 'agree-to-terms-checkbox' => array( | |
| 680 | + 'title' => esc_html__( 'Agree to Terms Checkbox', 'merchant' ), | |
| 681 | + 'desc' => esc_html__( 'Get customers to agree to your Terms & Conditions as part of the checkout process', 'merchant' ), | |
| 682 | + 'tutorial_url' => 'https://docs.athemes.com/article/agree-to-terms-checkbox/', | |
| 683 | + ), | |
| 684 | + 'cookie-banner' => array( | |
| 685 | + 'title' => esc_html__( 'Cookie Banner', 'merchant' ), | |
| 686 | + 'desc' => esc_html__( 'Inform your visitors that the site uses cookies via a dismissable banner', 'merchant' ), | |
| 687 | + 'tutorial_url' => 'https://docs.athemes.com/article/cookie-banner/', | |
| 688 | + ), | |
| 689 | + ) ); | |
| 657 | 690 | } |
| 658 | 691 | } |
| 659 | 692 | |
| 660 | 693 | Merchant_Admin_Modules::instance(); |
| 661 | 694 | } |