AppSuite:Upsell tools: Difference between revisions

From Open-Xchange
No edit summary
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''Synopsis:''' This article introduces several ways of promoting applications and other upgrades for App Suite. Sine Upsell is usually very customer specific, we do only provide the framework.
<!-- !!! -->
<!-- PLEASE APPLY CHANGES ONLY TO THE NEW TECHNICAL DOCUMENTATION: wd/frontend/web/documentation -->
<!-- !!! -->


__TOC__
The content on this page has moved to https://documentation.open-xchange.com/latest/ui/features/upsell-tools.html.


== The Upsell Widget ==
Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.
The Upsell widget is a widget displayed on the portal. It can show images, text or combinations thereof. A widget can contain several "slides". A click on the widget starts the Upsell Wizard. There can be more than one Upsell Widget (just remember not to annoy your customer with too many!). Upsell widgets can be moved, but not removed from the portal.
 
The Upsell Widget needs two different configurations:
  io.ox/portal//widgets/protected:
    upsellads_0:
      plugin: "plugins/portal/upsellads/register"
      type: "upsellads"
      index: 0
      changeable:
        index: true
      props:
        ad: "openexchangeAdvertisement"
 
This part defines a widget as protected. This is not upsell-specific, it is [[AppSuite:Configuring_portal_plugins|an option for every kind of portal widget]]. The upsell-specific part is the value of "props/ad", which identifies the content via the name "openexchangeAdvertisement". That name points to another part of the YAML file that looks like this:
 
  plugins/upsell//ads:
    delayInMilliseconds: 10000
    openexchangeAdvertisement:
      upsellWizard: "shop"
      slides:
        en_US:
          slide1:
            type: text-bottom
            image: 'https://image1'
            text: <p>Awesome stuff</p>"
          slide2:
            type: text-top
            image: 'https:image2'
            text: "<p>More awesome stuff</p>"
 
What you can see here is that an advertisement consists of several slides. Due to some peculiarities of the App Suite YAML parser, you have to name them "slide?" with a number. They will be sorted alphabetically, so if you plan to use more than 10 slides, remember to pad the number with enough zeros, the first slide being 00, the second being 01.
 
Slides can be provided in different languages. This example provides slides only for en_US. The slides need to match the user language exactly (sorry, no smart guessing so that British users with en_UK get the en_US version). The system defaults to en_US when no appropriate language can be found.
 
The delayInMilliseconds represents the transition time from one slide to the next.
 
== The Upsell Bubbles ==
Upsell bubbles are little popups based on hopscotch, similar to the [[AppSuite:Guided tours|guided tours]]. They show up after a given amount of time and point to a defined UI element to display some text. Clicking on them starts the Upsell Wizard (unless you click "cancel", of course).
 
== The Upsell Wizard ==
The Upsell Wizard is a small shopping cart application that displays things that can be sold. They process is the usual three-step process of putting items in your cart, reviewing them and ordering them. Upon completion the Wizard calls an URL with the ordered items as well as the shoppers's ID and context number. It is left to the provider to implement some handler for that.
 
== Making all of it work ==
The configuration for all three elements is done in YAML instead of JavaScript, assuming that most users of this feature are not developers but from marketing or sales departments. They will probably need starting help from a sysadmin, though, as by default, the whole Upsell process is disabled two-fold:
* The configuration file is not deployed. To do so, one needs to create one in the settings subfolder of the server configuration. This is usually /opt/openexchange/etc/settings. And example can be found in the UI folder as upsell-examples.yml
* The capability is not enabled. It is called "upsell" and, well, needs to be enabled.
 
After that, a server restart (necessary for every config change, sorry!) and some hard refreshing to get rid of eventual caching artefacts, you are good to go!


[[Category:AppSuite]]
[[Category:AppSuite]]
[[Category:Sales]]
[[Category:Sales]]
[[Category:Administrator]]
[[Category:Administrator]]

Latest revision as of 10:26, 12 July 2016


The content on this page has moved to https://documentation.open-xchange.com/latest/ui/features/upsell-tools.html.

Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition.