Add ability to import XML from Google Programmable Search

Created on 23 July 2024, 5 months ago
Updated 13 August 2024, 4 months ago

Problem/Motivation

For sites with lots of promotions, manually re-creating them can be a lot of work. The Google Programmable Search interface has an option to export promotions to an XML file. I'd like to add a feature to import that XML file and automatically create the promotions.

Proposed resolution

On the configuration screen /admin/content/vais_promo/list, add a new "Import from XML" button that gives you a form to upload an XML file. Submitting that form will read the file and generate the appropriate promotion entities.

Remaining tasks

  1. Add button to main config screen
  2. Add form page for uploading XML
  3. Add logic to read XML and create entities

User interface changes

  1. New button on config page
  2. New upload XML form page

API changes

None

Data model changes

None

โœจ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States SamLerner

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024