Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
current working version 10-04-19 | f57799f6815c8c76217f64e292d6cf61e0deffb7 | Sebastian Fricke | 2019-04-10 14:40:36 |
File | Lines added | Lines deleted |
---|---|---|
packages/amazon_data_upload.py | 27 | 25 |
product_import.py | 1 | 0 |
File packages/amazon_data_upload.py changed (mode: 100644) (index 94fbdee..57d66e3) | |||
... | ... | def asinUpload(export, stock, folder): | |
115 | 115 | ||
116 | 116 | def featureUpload(flatfile, feature, feature_id, folder): | def featureUpload(flatfile, feature, feature_id, folder): |
117 | 117 | ||
118 | column_names = [ | ||
119 | 'Variation.number', 'VariationEigenschaften.id', | ||
120 | 'VariationEigenschaften.cast', 'VariationEigenschaften.linked', | ||
121 | 'VariationEigenschaften.value' | ||
122 | ] | ||
123 | |||
124 | Data = {} | ||
125 | |||
126 | with open(flatfile, mode = 'r') as item: | ||
127 | reader = csv.DictReader(item, delimiter = ';') | ||
128 | |||
129 | for row in reader: | ||
130 | if(row['parent_child'] == 'child'): | ||
131 | if(feature in [*row]): | ||
132 | values = [ | ||
133 | row['item_sku'], feature_id, | ||
134 | '1', '1', | ||
135 | row[feature] | ||
136 | ] | ||
137 | |||
138 | Data[row[ 'item_sku' ]] = dict(zip(column_names, values)) | ||
139 | else: | ||
140 | print("The feature:\t{0}\twas not found, in the flatfile!\n".format(feature)) | ||
141 | |||
142 | variation_upload.writeCSV(dataobject=Data, name=feature.upper(), columns=column_names, upload_path=folder) | ||
118 | column_names = [ | ||
119 | 'Variation.number', 'VariationEigenschaften.id', | ||
120 | 'VariationEigenschaften.cast', 'VariationEigenschaften.linked', | ||
121 | 'VariationEigenschaften.value' | ||
122 | ] | ||
123 | |||
124 | Data = {} | ||
125 | |||
126 | with open(flatfile, mode = 'r') as item: | ||
127 | reader = csv.DictReader(item, delimiter = ';') | ||
128 | |||
129 | for row in reader: | ||
130 | if(row['parent_child'] == 'child'): | ||
131 | if(feature in [*row]): | ||
132 | if(row[feature]): | ||
133 | values = [ | ||
134 | row['item_sku'], feature_id, | ||
135 | '1', '1', | ||
136 | row[feature] | ||
137 | ] | ||
138 | |||
139 | Data[row[ 'item_sku' ]] = dict(zip(column_names, values)) | ||
140 | else: | ||
141 | print("The feature:\t{0}\twas not found, in the flatfile!\n".format(feature)) | ||
142 | |||
143 | if(Data): | ||
144 | variation_upload.writeCSV(dataobject=Data, name=feature.upper(), columns=column_names, upload_path=folder) |
File product_import.py changed (mode: 100644) (index 41ca4e9..c2ae7f9) | |||
... | ... | def main(): | |
42 | 42 | # define the features for plentymarkets | # define the features for plentymarkets |
43 | 43 | features = { | features = { |
44 | 44 | 'color_map':1, | 'color_map':1, |
45 | 'model':4, | ||
45 | 46 | 'item_name':13, | 'item_name':13, |
46 | 47 | 'sleeve_type':8, | 'sleeve_type':8, |
47 | 48 | 'pattern_type':11, | 'pattern_type':11, |