Download the PHP package hounddd/wn-mallimportexport-plugin without Composer

On this page you can find all versions of the php package hounddd/wn-mallimportexport-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package wn-mallimportexport-plugin

Mall Import/Export

This plugin offers the possibility to import or export data into the OFFLINE.Mall plugin.


Please note that it does NOT allow you to add products but to update existing products.


What you can import or export

How it works

The plugin uses the CSV file import/export features of WinterCMS.

With default options, exporting data will give you a CSV file named Products_export_2021-09-23.csv.

Columns naming

The plugin use currencies symbols to append same to the column name.

You can define your own filename, date or column's names from config.

Add your own columns

You can listen for hounddd.mallimportexport.config.update event to add your own column definition.

Example to add the product's name to export fields, at the second position

Integration

If the version of your OFFLINE.Mall plugin includes event hooks for toolbars (>= 1.14.4), you will find the import and export buttons at the top of the product list, otherwise an entry will be added to the side menu of the plugin.
Buttons are available according to the user rights.

Installation

Let assume you're in the root of your wintercms installation

Using composer

Just run this command

Cloning repo

Clone this repo into your winter plugins folder.

Configuring

Import/export behaviors

You can configure plugin behaviors with a file \config\hounddd\mallimportexport\config.php

For the other columns use the translations (see below).
This allows you to bypass encoding problems with import or export files.

See PHP date format for dateFormat accepted values.
Remember that this is for the name of a file, respect the conventions to avoid trouble.

Csv file column's names

You can change the column names to match your needs, simply add a \lang\XX\hounddd\mallimportexport\lang.php (where XX is your locale) to your site.


Make awesome sites with WinterCMS!


All versions of wn-mallimportexport-plugin with dependencies

PHP Build Version
Package Version
Requires composer/installers Version ~1.0
offline/oc-mall-plugin Version ^1.0||^2.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package hounddd/wn-mallimportexport-plugin contains the following files

Loading the files please wait ....