3.0.0 • Published 11 months ago

vendure-import-products-plugin v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Vendure Import Products Plugin

  • This plugin imports the products from the specified url every specified day.

  • The products are expected to be in the following format

  {
    "Items": [
        {
            "name": string,
            "id": string,
            "price": string,
            "unit": string,
            "group": string,
            "sku": string,
            "Collection": string,
            "parentfacet": string,
            "childfacet": string,
            "brand": string
        },
    ]
  }

Getting Started

  1. Run
  npm i @nestjs/axios @nestjs/schedule axios ts-node vendure-brands-plugin
  1. And then add this to your vendure-config.ts.
import { ProductImportPlugin } from 'vendure-plugin-import-products';

ProductImportPlugin.init({
    url: `https://tfcmayasoftdata.up.railway.app/allproducts`,
    everyThisDay: 3,
});

This means the products will be imported from the specified url every third day.

  1. Make sure to run database migrations after updating your vendure-config.ts
2.3.4

11 months ago

2.3.5

11 months ago

3.0.0

11 months ago

2.3.3

1 year ago

2.3.0

1 year ago