diff options
| author | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-12 09:18:12 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <andrifebriyadiputra@gmail.com> | 2025-12-12 09:18:12 +0700 |
| commit | 5310e60574e29a53232f0bb8286660c1d9813b76 (patch) | |
| tree | 608ff4f7ae586379bada798bef66a3952ad89b00 /indoteknik_custom/models/solr/product_template.py | |
| parent | fcdb961c42b32887b51c349242ba47312b7110e3 (diff) | |
(andri) add attribute set di solr mapping
Diffstat (limited to 'indoteknik_custom/models/solr/product_template.py')
| -rw-r--r-- | indoteknik_custom/models/solr/product_template.py | 2 |
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 a7beca12..d6ca9097 100644 --- a/indoteknik_custom/models/solr/product_template.py +++ b/indoteknik_custom/models/solr/product_template.py @@ -105,6 +105,8 @@ class ProductTemplate(models.Model): "variant_total_i": template.product_variant_count, "stock_total_f": template.qty_stock_vendor, "weight_f": template.weight, + # "attribute_set_id_i": template.x_attribute_set_id or 0, + # "attribute_set_name_s": template.x_attribute_set_name or '', "manufacture_id_i": template.x_manufacture.id or 0, "manufacture_name_s": template.x_manufacture.x_name or '', "manufacture_name": template.x_manufacture.x_name or '', |
