summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr/product_template.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-06-06 10:45:47 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-06-06 10:45:47 +0700
commit00ebebce72441282bae3494088b9d6dd28df6e97 (patch)
treea044ed69f7715c1008c4fc2a90b1b5a285ad0b8a /indoteknik_custom/models/solr/product_template.py
parent9acb6bc2039b7004105a1987be8002c4067f85f9 (diff)
add short_spesification on product variant, fix note detail purchasing job
Diffstat (limited to 'indoteknik_custom/models/solr/product_template.py')
-rw-r--r--indoteknik_custom/models/solr/product_template.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py
index 062f1455..920ae463 100644
--- a/indoteknik_custom/models/solr/product_template.py
+++ b/indoteknik_custom/models/solr/product_template.py
@@ -90,6 +90,8 @@ class ProductTemplate(models.Model):
"description_t": template.website_description or '',
'has_product_info_b': True,
'publish_b': not template.unpublished,
+ 'sni_b': template.unpublished,
+ 'tkdn_b': template.unpublished,
"qty_sold_f": template.qty_sold
})