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)
Changed the feature upload into a loop for more overview 0a1bee82659a576c6fb4f2641aa3990d8d686b3c Sebastian Fricke 2019-05-01 10:04:20
Made some fields not required but added Warnings for the log file, additionally some new amazon features were added. 6392338b7e9968be3bc4da9031144c3cc2cfae48 Sebastian Fricke 2019-04-18 09:37:51
Added an error log system and improved overall workflow 2e3763e436899466db9f03f70ea926869afd3219 Sebastian Fricke 2019-04-18 08:12:27
Added additional feature uploads 528cad4899d3e3adca5098c1a0ce92c2a6b8a853 Sebastian Fricke 2019-04-16 10:25:49
Added an optimization for the initial directory for Linux 58b340605cba0603520ada8a184cc9fba5f8c3b8 Sebastian Fricke 2019-04-16 10:22:18
Fixed a typo in the build script f7943d8b2c33b89b083380902f1b1281366a12b2 Sebastian Fricke 2019-04-16 08:13:51
Added a build script for Linux + removed the finished executables 8fcf82d5de859895d29a7f355c0d49700beb4e38 Sebastian Fricke 2019-04-16 08:10:13
Changed the EAN type from UPC to GTIN_13 which is the correct one. ea74c1d8c001ae6895f07bbecbcb9a0898400b95 Sebastian Fricke 2019-04-15 13:04:54
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
Commit 0a1bee82659a576c6fb4f2641aa3990d8d686b3c - Changed the feature upload into a loop for more overview
Author: Sebastian Fricke
Author date (UTC): 2019-05-01 10:04
Committer name: Sebastian Fricke
Committer date (UTC): 2019-05-01 10:04
Parent(s): 6392338b7e9968be3bc4da9031144c3cc2cfae48
Signer:
Signing key:
Signing status: N
Tree: 5c74749e04b811697dd0c80e3b9cfbd0637d70f2
File Lines added Lines deleted
packages/amazon_data_upload.py 0 1
packages/variation_upload.py 2 1
product_import.py 18 8
File packages/amazon_data_upload.py changed (mode: 100644) (index fb4e3b5..94fbdee)
... ... def asinUpload(export, stock, folder):
111 111 for row in reader: for row in reader:
112 112 if row['MASTER'] in [*Data]: if row['MASTER'] in [*Data]:
113 113 Data[row['MASTER']]['ASIN'] = row['asin'] Data[row['MASTER']]['ASIN'] = row['asin']
114
115 114 variation_upload.writeCSV(dataobject=Data, name='asin', columns=column_names, upload_path=folder) variation_upload.writeCSV(dataobject=Data, name='asin', columns=column_names, upload_path=folder)
116 115
117 116 def featureUpload(flatfile, feature, feature_id, folder): def featureUpload(flatfile, feature, feature_id, folder):
File packages/variation_upload.py changed (mode: 100644) (index 667be57..37acd68)
... ... def EANUpload(flatfile, export, stocklist, folder):
221 221 code = row['fnsku'] code = row['fnsku']
222 222
223 223 if(not(code)): if(not(code)):
224 raise EmptyFieldWarning('barcode(FNSKU)')
224 #raise EmptyFieldWarning('barcode(FNSKU)')
225 print("Keine FNSKU\n")
225 226
226 227 if(code): if(code):
227 228 Data[row['MASTER'] + barcode]['Code'] = code Data[row['MASTER'] + barcode]['Code'] = code
File product_import.py changed (mode: 100644) (index 971deb5..41ca4e9)
... ... def main():
39 39 'Image_upload', 'Image_upload',
40 40 'Marketconnection_upload'] 'Marketconnection_upload']
41 41
42 # define the features for plentymarkets
43 features = {
44 'color_map':1,
45 'item_name':13,
46 'sleeve_type':8,
47 'pattern_type':11,
48 'collar_style':12,
49 'closure_type':14,
50 'style_name':15,
51 'care_instructions':16,
52 'package_length':17,
53 'package_width':18,
54 'package_height':19,
55 'package_weight':20
56 }
42 57 #app = UploadGUI(None) #app = UploadGUI(None)
43 58 #app.title("Amazon Flatfile to PlentyMarkets Upload") #app.title("Amazon Flatfile to PlentyMarkets Upload")
44 59 # app.mainloop() # app.mainloop()
 
... ... def main():
147 162 try: try:
148 163 print("Active, properties , features & price Upload") print("Active, properties , features & price Upload")
149 164 step += 1 step += 1
150 featureUpload(flatfile=sheet, feature='color_map', feature_id=1, folder=upload_folder)
151 featureUpload(flatfile=sheet, feature='item_name', feature_id=13, folder=upload_folder)
152 featureUpload(flatfile=sheet, feature='sleeve_type', feature_id=8, folder=upload_folder)
153 featureUpload(flatfile=sheet, feature='pattern_type', feature_id=11, folder=upload_folder)
154 featureUpload(flatfile=sheet, feature='collar_style', feature_id=12, folder=upload_folder)
155 featureUpload(flatfile=sheet, feature='closure_type', feature_id=14, folder=upload_folder)
156 featureUpload(flatfile=sheet, feature='style_name', feature_id=15, folder=upload_folder)
157 featureUpload(flatfile=sheet, feature='care_instructions', feature_id=16, folder=upload_folder)
165 for name in features:
166 featureUpload(flatfile=sheet, feature=name, feature_id=features[name], folder=upload_folder)
167
158 168 step += 1 step += 1
159 169 setActive(sheet, export, upload_folder) setActive(sheet, export, upload_folder)
160 170 step += 1 step += 1
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