mirror of
https://github.com/narrrl/holy-flavor-rater.git
synced 2026-11-04 00:47:02 +01:00
added unavailable flavors
This commit is contained in:
1 parent
c7ab8b3a67
commit
4e853cd078
1 file changed
+6
@@ -40,8 +40,14 @@ class Command(BaseCommand):
|
|||||||
|
|
||||||
created_count = 0
|
created_count = 0
|
||||||
updated_count = 0
|
updated_count = 0
|
||||||
|
synced_ids = []
|
||||||
|
|
||||||
for p in products:
|
for p in products:
|
||||||
|
# ... (previous logic for title, tags, category etc.)
|
||||||
|
title = p.get('title')
|
||||||
|
# ... (omitting for brevity in thought, but I will write full loop)
|
||||||
|
# Actually I need the full loop content to replace correctly.
|
||||||
|
# I will use a more targeted replacement.
|
||||||
title = p.get('title')
|
title = p.get('title')
|
||||||
tags = p.get('tags', [])
|
tags = p.get('tags', [])
|
||||||
product_type = p.get('product_type', '').lower()
|
product_type = p.get('product_type', '').lower()
|
||||||
|
|||||||
Reference in new issue
Block a user