initBasti / Amazon2PlentySync (public) (License: GPLv3) (since 2019-01-27) (hash sha1)
Transfer your data from you Amazon Flatfile spreadsheet over to the Plentymarkets system. How to is included in the readme
List of commits:
Subject Hash Author Date (UTC)
fixed a bug with item_name + changed the item_name assignment to include the variation name instead of the parent name 7dedb2bb9afac7d5625ccbf9c05f6ff4b1b1e5e1 LagerBadel PC:Magdalena 2019-04-15 12:32:33
Added usage instructions in english and german language. e2f291e2a00ac9283ab9d843e652d7b77fa6bbaf Sebastian Fricke 2019-04-15 09:59:36
Added usage instructions in english and german language. 30646f203ae8847cfa4971cb62187dca8406b8d7 Sebastian Fricke 2019-04-15 09:58:26
Fixed small compilation mistakes concerning positional arguments dc011ec52cf578e2910edde1aeacb893bb2e57f9 Sebastian Fricke 2019-04-15 07:16:14
Fixed a problem with the Upload folder when the executable is within its Folder outside of the root 6ca74a5bbbf13036405c654225de2540cddf2ed0 Sebastian Fricke 2019-04-15 07:02:13
Small improvements with the error handling inside item_upload.py 8d8361aa6ca7fca69407fb6c2f7450a9fd3ad40d LagerBadel PC:Magdalena 2019-04-12 12:31:39
Fixed the Windows Version because of corrupted Sym Links from the Windows Version 21c1d49e6508a27e3ba86741843c4141e09be2ee Sebastian Fricke 2019-04-12 11:57:28
The push from the windows machine corrupted the Linux Version, it is now re compiled. 1a642842228b959ad9ca1253b6e0df25d75e3d67 Sebastian Fricke 2019-04-12 09:34:27
Added a executable File db4d6f812ada2d497e2ffa255ddf62fd88c98e9f Sebastian Fricke 2019-04-12 08:24:14
current working version 10-04-19 f57799f6815c8c76217f64e292d6cf61e0deffb7 Sebastian Fricke 2019-04-10 14:40:36
Changed the collection_name field to the newer seasons field in the property upload b13a2282d20e97f6f414e02ace9673246678adc4 Sebastian Fricke 2019-03-29 09:59:05
Added a feature upload and removed a test print from the barcode upload b04dc65a93ff10c650cdaf48d1a7922ff4769ecc Sebastian Fricke 2019-03-28 14:57:54
Added FNSKU code and removed freetext fields to replace them with properties 4f77496d60be1afbd90a7279b14643267b4430cc Sebastian Fricke 2019-03-27 11:09:55
Added FNSKU code and removed freetext fields to replace them with properties 3d76e8769337dd96fa02503eb242fd192f3c148d Sebastian Fricke 2019-03-27 11:06:41
Update to property Upload because it isn't necessary to have a property for each material 37c01ce472dc85a9f7a39bd164a2ea53c28b4955 Sebastian Fricke 2019-03-18 16:08:14
added a filter for items with only 1 size that currently works with single parent child combinations fd3bf2b659614d5518884eb3da77b564cd0018eb Sebastian Fricke 2019-02-28 16:08:57
Market connection adjusted to AmazonFBA 1feb4b2e96c6a55ad0494696fd18fd6fb42babb0 Sebastian Fricke 2019-02-25 12:21:05
current version Feb 2019 00b24836dd378f21942ed323c2b66f928b9fb4c4 Sebastian Fricke 2019-02-25 09:00:00
Changes to fit to the new flatfile format 91cd339571f607e88f6e922f1a47630c4c8d62a7 Sebastian Fricke 2019-02-08 13:28:02
Small removal of redundant code b271de0b1be1d83be088b00a35b5618af088b58a Sebastian Fricke 2019-01-30 18:08:15
Commit 7dedb2bb9afac7d5625ccbf9c05f6ff4b1b1e5e1 - fixed a bug with item_name + changed the item_name assignment to include the variation name instead of the parent name
Author: LagerBadel PC:Magdalena
Author date (UTC): 2019-04-15 12:32
Committer name: LagerBadel PC:Magdalena
Committer date (UTC): 2019-04-15 12:32
Parent(s): e2f291e2a00ac9283ab9d843e652d7b77fa6bbaf
Signing key:
Tree: 195c1ba2ae9975560a7662828839453a0eab1099
File Lines added Lines deleted
.gitignore 1 0
Instructions.md 11 3
packages/variation_upload.py 4 4
File .gitignore changed (mode: 100644) (index 8a64408..934b8d1)
... ... target/
59 59
60 60 Upload/ Upload/
61 61 /AmazonToPlenty.sublime-workspace /AmazonToPlenty.sublime-workspace
62 /Windows_Version
File Instructions.md changed (mode: 100644) (index 6620a01..499e1a6)
1 Version 15.04.2019 Sebastian Fricke V0.1
1 Version 15.04.2019 Sebastian Fricke V0.1
2 2
3 3
4 4
5 5 1. Open the Folder for the Input Files: 1. Open the Folder for the Input Files:
6 6 =========DE============ =========DE============
7 ---Öffne den Ordner für Eingabe Datein:
7 ---Öffne den Ordner für Eingabe Dateien:
8 8
9 9 Save the flatfile part of the desired item as .csv and paste Save the flatfile part of the desired item as .csv and paste
10 10 the height, length, width and weigth to the parent the height, length, width and weigth to the parent
 
... ... Version 15.04.2019 Sebastian Fricke V0.1
16 16 and the amzon_sku to a new .csv add the postion from 0 upwards and the amzon_sku to a new .csv add the postion from 0 upwards
17 17 =========DE============ =========DE============
18 18 ----Öffne die Intern_Number Liste und kopiere die full_number, article_id ----Öffne die Intern_Number Liste und kopiere die full_number, article_id
19 und die amazon_sku zu einem neuen .csv und ergänze die Position von 0 ab.
19 und die amazon_sku zu einem neuen .csv und ergänze in der 4. Spalte "position".
20 (Ganze Zahlen ab 0).
20 21
21 22 Open your Amazon Storage Report and save the SKU(MASTER), asin, quantity(Badel 26...) Open your Amazon Storage Report and save the SKU(MASTER), asin, quantity(Badel 26...)
22 23 and fnsku colums in a new .csv and fnsku colums in a new .csv
 
... ... Version 15.04.2019 Sebastian Fricke V0.1
43 44 möglicherweise ein Fehler, höchstwarscheinlich die falschen Spaltennamen, vergleiche möglicherweise ein Fehler, höchstwarscheinlich die falschen Spaltennamen, vergleiche
44 45 mit der Beispiel Datei. mit der Beispiel Datei.
45 46
47 Fehlermeldung: local variable 'item_name' referenced before assignment
48
49
50 <class 'NameError'>
51 name 'exit' is not defined
52 <traceback object at 0x03544F08>
53
46 54 3. Upload the file item_upload to plentymarkets via the dynamic import for every new upload choose the option 3. Upload the file item_upload to plentymarkets via the dynamic import for every new upload choose the option
47 55 "create a new data set" "create a new data set"
48 56 =========DE============ =========DE============
File packages/variation_upload.py changed (mode: 100644) (index ee4989f..52014b2)
1 1 import csv import csv
2 2 from os.path import isfile from os.path import isfile
3 import sys
3 4 from tkinter.filedialog import askdirectory from tkinter.filedialog import askdirectory
4 5 import os import os
5 6 try: try:
 
... ... def variationUpload(flatfile, intern_number, folder):
57 58
58 59 # create a Data Dictionary and fill it with the necessary values from the flatfile # create a Data Dictionary and fill it with the necessary values from the flatfile
59 60 Data = SortedDict() Data = SortedDict()
61 item_name = ''
60 62
61 63 with open(flatfile, mode='r') as item: with open(flatfile, mode='r') as item:
62 64 reader = csv.DictReader(item, delimiter=";") reader = csv.DictReader(item, delimiter=";")
63 65 for row in reader: for row in reader:
64 if(row['parent_child'] == 'parent'):
65 item_name = row['item_name']
66 66 if(row['parent_child'] == 'child'): if(row['parent_child'] == 'child'):
67 67 try: try:
68 68 if(row['package_height'] and if(row['package_height'] and
 
... ... def variationUpload(flatfile, intern_number, folder):
88 88 if(row['size_name'] and number_sizes > 1): if(row['size_name'] and number_sizes > 1):
89 89 attributes += ';size_name:' + row['size_name'] attributes += ';size_name:' + row['size_name']
90 90 try: try:
91 values = ['', '', row['item_sku'], item_name, '',
91 values = ['', '', row['item_sku'], row['item_name'], '',
92 92 int(row['package_length']) * 10, int(row['package_length']) * 10,
93 93 int(row['package_width']) * 10, int(row['package_width']) * 10,
94 94 int(row['package_height']) * 10, int(row['package_height']) * 10,
 
... ... def variationUpload(flatfile, intern_number, folder):
96 96 row['standard_price'], 'Badel', 'Y', 'Y', ''] row['standard_price'], 'Badel', 'Y', 'Y', '']
97 97 except Exception as err: except Exception as err:
98 98 print(err) print(err)
99 exit()
99 sys.exit()
100 100 Data[row['item_sku']] = SortedDict(zip(names, values)) Data[row['item_sku']] = SortedDict(zip(names, values))
101 101
102 102 # open the intern numbers csv and fill in the remaining missing fields by using the # open the intern numbers csv and fill in the remaining missing fields by using the
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/initBasti/Amazon2PlentySync

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/initBasti/Amazon2PlentySync

Clone this repository using git:
git clone git://git.rocketgit.com/user/initBasti/Amazon2PlentySync

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main