Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
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 |
Added checkboxes, descriptions, import and runbutton | 2021f0960e70c8c229ec08488165dc01b998a6e0 | Sebastian Fricke | 2019-01-27 22:19:18 |
Added market connection, cosmetics in product import | c9a771d5e7a3a80adc650e773c568e00dd8e2aea | Sebastian Fricke | 2019-01-23 15:01:47 |
Amazon Data Upload | 33dbd0ed6945c01d8917ceae3cf3964f051a2288 | Sebastian Fricke | 2019-01-22 14:43:39 |
Readme started, amazon sku upload, vari upload, images | f43a9e83598c3e4623bcb08667e2b4e649b2cdea | Sebastian Fricke | 2019-01-22 10:44:40 |
Amazon SKU Upload | 8586da2ae91d49c81a0d9b6ff220c8a1b1b011a6 | Sebastian Fricke | 2019-01-16 18:36:54 |
Inital Commit with current working version of the CLI Tool and the work in progress of the GUI. | 207fef4277f7c169aa79eb39ec1aaaab258b888c | Sebastian Fricke | 2019-01-16 09:47:43 |
Initial commit | ba965ee75fe09437fb08da5edd25b20e39e17eff | Sebastian Fricke | 2019-01-16 09:42:30 |
File | Lines added | Lines deleted |
---|---|---|
packages/amazon_data_upload.py | 24 | 0 |
packages/variation_upload.py | 0 | 1 |
File packages/amazon_data_upload.py changed (mode: 100644) (index e08b996..527f9cc) | |||
... | ... | def asinUpload(export, stock): | |
113 | 113 | ||
114 | 114 | variation_upload.writeCSV(dataobject=Data, name='asin', columns=column_names) | variation_upload.writeCSV(dataobject=Data, name='asin', columns=column_names) |
115 | 115 | ||
116 | def featureUpload(flatfile, feature, feature_id): | ||
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 | values = [ | ||
132 | row['item_sku'], feature_id, | ||
133 | '1', '1', | ||
134 | row[feature] | ||
135 | ] | ||
136 | |||
137 | Data['item_sku'] = dict(zip(column_names, values)) | ||
138 | |||
139 | variation_upload.writeCSV(dataobject=Data, name=feature.upper(), columns=column_names) |
File packages/variation_upload.py changed (mode: 100644) (index 63ed635..fa9862b) | |||
... | ... | def EANUpload(flatfile, export, stocklist): | |
169 | 169 | reader = csv.DictReader(item, delimiter=";") | reader = csv.DictReader(item, delimiter=";") |
170 | 170 | ||
171 | 171 | for row in reader: | for row in reader: |
172 | print(row['fnsku']) | ||
173 | 172 | for barcode in barcode_types: | for barcode in barcode_types: |
174 | 173 | if(row['MASTER'] + barcode in [*Data]): | if(row['MASTER'] + barcode in [*Data]): |
175 | 174 | # Set code to an empty String if the barcode type matches FNSKU set it to to | # Set code to an empty String if the barcode type matches FNSKU set it to to |