Update prices
You create a new version of existing products with a new name and new prices. The old product is kept.
- Format
- CSV (semicolon or comma), UTF-8
- Access rights
- Administrator, write access to products
- Example file
- preise_beispiel_technisch.csv (download)
In short: For each existing product, you give the new name and the new prices. vynst creates a new version. The old product remains.
What you need this for
When a fee increases, you do not want to overwrite the old product, because existing memberships and subscriptions would then continue with it. Instead, this import creates a new version. Memberships and subscriptions are not switched automatically. You do that afterwards with Change membership product.
Before you start
- Rights: You need the role Administrator with write access for products.
- Imported beforehand: The existing products must exist in vynst.
- Backup: The import cannot be undone at the click of a button. Before you start, export the products under Settings → Export (Einstellungen → Export).
Prepare the file
- File name: The file must contain
.csvand must not containAFS_PRODUCT_. - Header row: The columns begin with
PRODUCT_IDENTIFIERandPRODUCT_NAME. Directly after them,NEW_PRODUCT_NAME,NEW_FIXED_PRICEandNEW_BUYING_PRICEmust follow side by side, in exactly this order. - Separator: Comma or semicolon. Use the same character throughout the file.
- Prices: The point is the default, so
13.00. For commas, use the columnPRICE_FORMATwith the valuede. This column must be named exactly like this.
Columns
The import uses only these column names. vynst does not recognise any other spelling.
| Column | Required | Content | Example |
|---|---|---|---|
PRODUCT_IDENTIFIER |
yes | Number of the existing product | ERW |
PRODUCT_NAME |
yes (header row) | Previous name. This column is not evaluated. | Erwachsene |
MODIFIED_PRODUCT_NAME |
no | New name of the existing product, if you also want to rename it. Leave empty, then the name stays. | Erwachsene |
NEW_PRODUCT_NAME |
yes | Name of the new version. It must differ from the name of the existing product. | Erwachsene 2027 |
NEW_FIXED_PRICE |
yes (header row) | New price. Empty: previous price. | 13.00 |
NEW_BUYING_PRICE |
yes (header row) | New purchase price. Empty: previous purchase price. | 6.50 |
PRICE_FORMAT |
no | de if prices are written with commas. en is the default, with a point. |
en |
Example
The technical file with the column names of the import:
PRODUCT_IDENTIFIER;PRODUCT_NAME;MODIFIED_PRODUCT_NAME;NEW_PRODUCT_NAME;NEW_FIXED_PRICE;NEW_BUYING_PRICE;PRICE_FORMAT
ERW;Erwachsene;Erwachsene;Erwachsene 2027;13.00;6.50;en
JUG;Jugend;Jugend;Jugend 2027;9.00;4.00;en
Example file: preise_beispiel_technisch.csv
The products keep their name, because MODIFIED_PRODUCT_NAME matches the previous name here. If the existing product is to get a new name, for example Erwachsene (bis 2026), enter it in this column.
How to proceed
- Open Settings → Import (Einstellungen → Import).
- Click Add (Hinzufügen) and select the file.
- Wait until the entry in the list is green.
- Read the log. Every row with
Error:was not taken over. - To switch over: export the template for the product change. It contains products with a new version. Add the date and import the file under Change membership product.
Good to know
- Each row creates a new version. Uploading the same file twice therefore creates duplicate new versions. Upload it only once.
- The old product remains and keeps a reference to the new version. This connection is used by the template for the product change.
- The new version takes over the other settings of the old product, for example billing type and interval.
- Existing subscriptions and memberships are not switched by this import.
When something does not work
| Message in the log | Meaning | What to do |
|---|---|---|
Error: skipped missing product identifier |
Product number or new name is missing. No LINE-DATA row appears here. |
Fill in both details |
Error: skipped unknown product identifier |
The existing product is not known in vynst. The row appears below as LINE-DATA. |
Check the number |
Error: skipped same product name |
The new name is the same as the name of the existing product. The row appears below. | Give a new name |
Error: skipped empty line |
Empty row | Nothing to do, or delete the row |
Read: 2 rows |
This many rows were read | Nothing to do |
Error: less then one line |
The file contains no data row | Check the file |
FAILED: User missing rights to import. |
You lack the right for products | Ask an administrator |