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 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
General improvements and property upload bb48084db4359210eb892a04f1322f6fda822bef Sebastian Fricke 2019-01-30 17:43:32
Fixed scripts according to dataformat changes + readme dec28d9e6ff5c5c903d5ca01a969e661d43b66c6 Sebastian Fricke 2019-01-29 21:08:04
Working Checkboxes and file import 25378c68a6220c1c6570642920e6150a50415153 Sebastian Fricke 2019-01-29 21:03:23
Commit dc011ec52cf578e2910edde1aeacb893bb2e57f9 - Fixed small compilation mistakes concerning positional arguments
Author: Sebastian Fricke
Author date (UTC): 2019-04-15 07:16
Committer name: Sebastian Fricke
Committer date (UTC): 2019-04-15 07:16
Parent(s): 6ca74a5bbbf13036405c654225de2540cddf2ed0
Signing key:
Tree: 478e0095b89b4ba3889b2c5ba38ff5087a2877c5
File Lines added Lines deleted
packages/amazon_data_upload.py 3 3
packages/variation_upload.py 1 1
product_import.py 3 3
File packages/amazon_data_upload.py changed (mode: 100644) (index da0dbfa..65bd699)
... ... def amazonDataUpload(flatfile, export, folder):
86 86 if(row['VariationNumber'] in [*Data]): if(row['VariationNumber'] in [*Data]):
87 87 Data[row['VariationNumber']]['ItemID'] = row['ItemID'] Data[row['VariationNumber']]['ItemID'] = row['ItemID']
88 88
89 variation_upload.writeCSV(dataobject=Data, name='amazon_data', columns=column_names, folder)
89 variation_upload.writeCSV(dataobject=Data, name='amazon_data', columns=column_names, upload_path=folder)
90 90
91 91
92 92 def asinUpload(export, stock, folder): def asinUpload(export, stock, folder):
 
... ... def asinUpload(export, stock, folder):
111 111 if row['MASTER'] in [*Data]: if row['MASTER'] in [*Data]:
112 112 Data[row['MASTER']]['ASIN'] = row['asin'] Data[row['MASTER']]['ASIN'] = row['asin']
113 113
114 variation_upload.writeCSV(dataobject=Data, name='asin', columns=column_names, folder)
114 variation_upload.writeCSV(dataobject=Data, name='asin', columns=column_names, upload_path=folder)
115 115
116 116 def featureUpload(flatfile, feature, feature_id, folder): def featureUpload(flatfile, feature, feature_id, folder):
117 117
 
... ... def featureUpload(flatfile, feature, feature_id, folder):
137 137
138 138 Data[row[ 'item_sku' ]] = dict(zip(column_names, values)) Data[row[ 'item_sku' ]] = dict(zip(column_names, values))
139 139
140 variation_upload.writeCSV(dataobject=Data, name=feature.upper(), columns=column_names, folder)
140 variation_upload.writeCSV(dataobject=Data, name=feature.upper(), columns=column_names, upload_path=folder)
File packages/variation_upload.py changed (mode: 100644) (index bf16418..ee4989f)
... ... def EANUpload(flatfile, export, stocklist, folder):
193 193 output_path = writeCSV(Data, 'VariationBarcode', column_names, folder) output_path = writeCSV(Data, 'VariationBarcode', column_names, folder)
194 194
195 195
196 def marketConnection(export, ebay=0, amazon=0, folder):
196 def marketConnection(export, folder, ebay=0, amazon=0):
197 197 # Enable marketconnection of items and variations by entering 1 for True # Enable marketconnection of items and variations by entering 1 for True
198 198 # and 0 for False # and 0 for False
199 199
File product_import.py changed (mode: 100644) (index 0770fa3..1728a98)
... ... def main():
24 24 intern_number = askopenfilename(initialdir="../", intern_number = askopenfilename(initialdir="../",
25 25 title="The Intern Numbers as .csv", title="The Intern Numbers as .csv",
26 26 filetypes=[ ("csv files", "*.csv") ]) filetypes=[ ("csv files", "*.csv") ])
27 upload_folder = askdirectory(initialdir"../",
28 title="Choose a folder for the upload files.",)
27 upload_folder = askdirectory(initialdir="../",
28 title="Choose a folder for the upload files.")
29 29 erroritem = '' erroritem = ''
30 30 print("spreadsheet csv containing the flatfile : ", sheet) print("spreadsheet csv containing the flatfile : ", sheet)
31 31 print("spreadsheet csv containing the intern numbers : ", intern_number) print("spreadsheet csv containing the intern numbers : ", intern_number)
 
... ... def main():
106 106 print("\nActivate Marketconnection for Ebay & Amazon for all variation.\n") print("\nActivate Marketconnection for Ebay & Amazon for all variation.\n")
107 107
108 108 try: try:
109 marketConnection(export, ebay=1, amazon=1, upload_folder)
109 marketConnection(export, upload_folder, ebay=1, amazon=1)
110 110 except Exception as err: except Exception as err:
111 111 print(err) print(err)
112 112 print("Market connection failed!") print("Market connection failed!")
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