Subject | Hash | Author | Date (UTC) |
---|---|---|---|
Bug-Fix: Error with full number SKU | 64e6fa1558c1d892fae8e8d6a58bc6351a9edb14 | Sebastian Fricke | 2020-05-06 09:41:08 |
Specify the data type of the config | a99f6b482fe45bf4aa3c89f276d35e67924dfb3b | Sebastian Fricke | 2020-05-06 08:59:23 |
Bug-Fix: Skip external ID check on no result | 7a7ba7cee756feccfd836156e192a4eb08d18f2f | Sebastian Fricke | 2020-05-06 08:57:20 |
amazon.py: Add additonal amazon product type | e8922a4fddb62fc900bb46976eddae6264341528 | Sebastian Fricke | 2020-05-06 08:54:59 |
Remove needless bracket at end of string | fd588b0c562cc0d0315c3a463cc9dd41f3df2cae | Sebastian Fricke | 2020-05-04 09:12:01 |
Add warning for missing standard category | c53d5623454e92518e681bfd845bf2e8091a4493 | Sebastian Fricke | 2020-04-30 07:52:18 |
Bug-Fix: ',' within standard category field | 1bbc9791bf61c8c6d1889f3ba29191d665f85185 | Sebastian Fricke | 2020-04-30 07:44:40 |
Bug-Fix: Missing 'n's from Item name | b7d5f1d61d0b38646b1b71fc31d55f27ca551851 | Sebastian Fricke | 2020-04-30 07:43:07 |
Bug-Fix: Wrong value assignment to zip | 7fbe847e16821ddbaf18763d540d3f62a39567e0 | Sebastian Fricke | 2020-04-30 07:25:08 |
Fix-Typo: Typo in user prompt for the image upload | ed75e2ffc7426217ce6d529994901bd17f22b133 | Sebastian Fricke | 2020-04-30 06:55:36 |
Bug-fix: Empty output item upload | c7b09d6224024d03e2ac711371091fc46c234bb0 | Sebastian Fricke | 2020-04-30 06:53:28 |
Remove encoding from xlsx file intern numbers | 798259d898b83395e50f4d855399058c807f0c0c | Sebastian Fricke | 2020-04-29 13:50:47 |
Improve coding style and linting | d3d1d6de52f0f5530ec200aae082ac0ec99ddd70 | Sebastian Fricke | 2020-04-29 10:08:21 |
Remove fixed values for specific item settings | 0f2452a1bb953efcbb797c5feeb2b8f35617f537 | Sebastian Fricke | 2020-04-29 08:38:52 |
Remove fixed fba values from upload | 758ca263cf88343c55af70b1e7824c76d485d7f2 | Sebastian Fricke | 2020-04-29 08:32:09 |
Remove market assign & availibilty settings | fdf971d45706f8c75d9a7ea7e949193c45620051 | Sebastian Fricke | 2020-04-29 07:31:36 |
Remove manual upload of extern id & export files | 66d60bc9243173f256b01071f203849edf43546d | Sebastian Fricke | 2020-04-28 13:55:27 |
Bug Fix: product-import.py Empty TK root window | 0b087f8a7902523b2495c936a6e09447a93a6cb5 | Sebastian Fricke | 2020-04-28 09:41:04 |
Add ignore file for silver searcher tool | 87a1b335af1f88c10ad12e5b8f59f8207c58aaec | Sebastian Fricke | 2020-04-28 09:25:54 |
add tests folder pycache to gitignore | 9d7989d1658d3dffd7eb00e9411af3dec6c85563 | Sebastian Fricke | 2020-04-27 12:55:24 |
File | Lines added | Lines deleted |
---|---|---|
packages/amazon.py | 6 | 2 |
File packages/amazon.py changed (mode: 100644) (index 9eb084f..e8a82b6) | |||
1 | 1 | import csv | import csv |
2 | 2 | import pandas | import pandas |
3 | import inspect | ||
3 | 4 | from os.path import isfile | from os.path import isfile |
4 | from packages import barcode | ||
5 | from packages import barcode, error | ||
5 | 6 | try: | try: |
6 | 7 | from sortedcontainers import SortedDict | from sortedcontainers import SortedDict |
7 | 8 | except ImportError: | except ImportError: |
... | ... | def get_producttype_id(source, sku): | |
61 | 62 | ||
62 | 63 | df = pandas.read_csv(source['path'], | df = pandas.read_csv(source['path'], |
63 | 64 | sep=';', | sep=';', |
64 | encoding=source['encoding']) | ||
65 | encoding=source['encoding'], | ||
66 | dtype={'item_sku':str, 'parent_sku':str}) | ||
65 | 67 | ||
66 | 68 | sku_df = df[df['item_sku'] == sku] | sku_df = df[df['item_sku'] == sku] |
67 | 69 | if len(sku_df.index) == 0: | if len(sku_df.index) == 0: |
... | ... | def get_producttype_id(source, sku): | |
86 | 88 | ||
87 | 89 | if value in type_id.keys(): | if value in type_id.keys(): |
88 | 90 | return type_id[value] | return type_id[value] |
91 | else: | ||
92 | return 0 | ||
89 | 93 | ||
90 | 94 | def featureUpload(flatfile, features, folder, filename): | def featureUpload(flatfile, features, folder, filename): |
91 | 95 |