Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20261

eZ Recommendation - on-the-fly scenario loading

    XMLWordPrintable

Details

    Description

      A REST call is required to get all valid scenarios for the current customer ID. Currently the scenarios are manually maintained in several ini files to be available in the editor backend.

      The scenarios are maintained in the file "ezoe_attributes.ini.append.php":

      [CustomAttribute_recommendations_scenario]
      Name=Scenario
      Type=select
      Selection[]
      Selection[top_clicked]=Top clicked
      Selection[top_consumed]=Top consumed
      Selection[also_clicked]=Also clicked
      Selection[also_clicked_article]=Also clicked article
      Selection[also_clicked_article_global]=Also clicked article global
      Selection[also_clicked_image]=Also clicked image
      Selection[also_clicked_product]=Also clicked product
      ...

      and in the file "ezrecommendation.ini.append.php":

      [BackendSettings]
      AvailableScenarios[top_clicked]=Top clicked
      AvailableScenarios[top_consumed]=Top consumed
      AvailableScenarios[also_clicked]=Also clicked
      AvailableScenarios[also_clicked_article]=Also clicked article
      AvailableScenarios[also_clicked_article_global]=Also clicked article global
      AvailableScenarios[also_clicked_image]=Also clicked image
      AvailableScenarios[also_clicked_product]=Also clicked product
      ...

      This should be loaded dynamically / on-the-fly without maintainance for new scenarions on eZ side. The REST interface on Yoochoose service side can provide this data as far i know.

      Attachments

        Activity

          People

            Unassigned Unassigned
            artur.wawrzynkiewicz@ibexa.co Artur Wawrzynkiewicz
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 5 hours
                3d 5h