summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/solr/product_template.py
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-09-25 14:39:16 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-09-25 14:39:16 +0700
commit6c7c80b9cf3f4146af1fcfc4c9b24881a7b29b3c (patch)
tree5fd5b639f1dff754214dda0a609f2cbb41f8487a /indoteknik_custom/models/solr/product_template.py
parent30efa28bf211ffefc181551df026047143939b4f (diff)
add price_tier to program line
Diffstat (limited to 'indoteknik_custom/models/solr/product_template.py')
-rw-r--r--indoteknik_custom/models/solr/product_template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/indoteknik_custom/models/solr/product_template.py b/indoteknik_custom/models/solr/product_template.py
index d8dec47c..1eb6f31b 100644
--- a/indoteknik_custom/models/solr/product_template.py
+++ b/indoteknik_custom/models/solr/product_template.py
@@ -112,8 +112,8 @@ class ProductTemplate(models.Model):
"description_clean_t": cleaned_desc or '',
'has_product_info_b': True,
'publish_b': not template.unpublished,
- 'sni_b': template.unpublished,
- 'tkdn_b': template.unpublished,
+ 'sni_b': template.sni,
+ 'tkdn_b': template.tkdn,
"qty_sold_f": template.qty_sold,
"is_in_bu_b": is_in_bu,
"voucher_min_purchase_f" : voucher.min_purchase_amount or 0,