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)
added Webshop to marketconnections 84f93694fe0c67972ad951649d9f6f0d577d3e29 Sebastian Fricke 2019-05-01 14:12:00
Added the modelnumber feature and removed the creation of empty features ea98391f2dbdf8fb8e601153b4f6ebfca504929c Sebastian Fricke 2019-05-01 12:31:19
Changed the feature upload into a loop for more overview 0a1bee82659a576c6fb4f2641aa3990d8d686b3c Sebastian Fricke 2019-05-01 10:04:20
Added a few new instructions to the Instructions file b4878c59958f89a02937de1dfc7aabbd23e71061 LagerBadel PC:Magdalena 2019-04-18 09:41:10
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
Commit 84f93694fe0c67972ad951649d9f6f0d577d3e29 - added Webshop to marketconnections
Author: Sebastian Fricke
Author date (UTC): 2019-05-01 14:12
Committer name: Sebastian Fricke
Committer date (UTC): 2019-05-01 14:12
Parent(s): ea98391f2dbdf8fb8e601153b4f6ebfca504929c
Signing key:
Tree: fc3aa3ffac5a77f183572d0b2e4d37ff3f3492f4
File Lines added Lines deleted
packages/variation_upload.py 3 3
product_import.py 1 1
File packages/variation_upload.py changed (mode: 100644) (index 37acd68..735f072)
... ... def EANUpload(flatfile, export, stocklist, folder):
230 230 output_path = writeCSV(Data, 'VariationBarcode', column_names, folder) output_path = writeCSV(Data, 'VariationBarcode', column_names, folder)
231 231
232 232
233 def marketConnection(export, folder, ebay=0, amazon=0):
233 def marketConnection(export, folder, ebay=0, amazon=0, shop=0):
234 234 # Enable marketconnection of items and variations by entering 1 for True # Enable marketconnection of items and variations by entering 1 for True
235 235 # and 0 for False # and 0 for False
236 236
237 237 column_names = ['VariationID', 'VariationCustomNumber', column_names = ['VariationID', 'VariationCustomNumber',
238 'webApi', 'AmazonFBAGermany', 'AmazonFBA', 'eBayGermany', 'Ebay']
238 'webApi', 'AmazonFBAGermany', 'AmazonFBA', 'eBayGermany', 'Ebay', 'MandantShop']
239 239
240 240 Data = {} Data = {}
241 241 with open(export, mode='r') as item: with open(export, mode='r') as item:
 
... ... def marketConnection(export, folder, ebay=0, amazon=0):
244 244 for row in reader: for row in reader:
245 245 if row['VariationID'] and row['VariationNumber']: if row['VariationID'] and row['VariationNumber']:
246 246 values = [row['VariationID'], row['VariationNumber'], values = [row['VariationID'], row['VariationNumber'],
247 '1', amazon, amazon, ebay, ebay]
247 '1', amazon, amazon, ebay, ebay, shop]
248 248 Data[row['VariationNumber']] = dict(zip(column_names, values)) Data[row['VariationNumber']] = dict(zip(column_names, values))
249 249
250 250
File product_import.py changed (mode: 100644) (index c2ae7f9..59e6159)
... ... def main():
254 254
255 255 step += 1 step += 1
256 256 try: try:
257 marketConnection(export, upload_folder, ebay=1, amazon=1)
257 marketConnection(export, upload_folder, ebay=1, amazon=1, shop=1)
258 258 except KeyError as kexc: except KeyError as kexc:
259 259 keyErrorLog(log_path=log_folder, step_number=step, step_desc=step_name[step], key_name=kexc, file_name=ntpath.basename(sheet)) keyErrorLog(log_path=log_folder, step_number=step, step_desc=step_name[step], key_name=kexc, file_name=ntpath.basename(sheet))
260 260 except UnboundLocalError as uexc: except UnboundLocalError as uexc:
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