xddesigners/silverstripe-ovis

Import OVIS data into your Silverstripe site

Installs: 199

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

2.0.2 2020-03-02 14:46 UTC

This package is auto-updated.

Last update: 2024-11-13 08:36:21 UTC


README

This module adds an import for OVIS presentations.

Installation

Install the module trough composer and configure it with your search parameters, see the docs for all available search params.
composer require xddesigners/silverstripe-ovis

Basic config

XD\Ovis\Ovis:
  api_key: 'YOUR_API_KEY'
  search:
    category:
      - mobilehome
      - tenttrailer
      - caravan
      - camper

XD\Ovis\Models\Order:
  email_from: 'YOUR_FROM_ADDRESS' # defaults to Email.admin_email
  email_to: 'YOUR_TO_ADDRESS' # defaults to Email.admin_email

Set up import script

You can run the import script manually trough the dev/tasks interface or set up up to run as a cron task. http://example.com/dev/tasks/XD-Ovis-Tasks-Import or sake dev/tasks/XD-Ovis-Tasks-Import