diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-15 11:48:14 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-05-15 11:48:14 +0800 |
commit | 5ff062e598afab8c8807003ef346b3b3d75b9f74 (patch) | |
tree | 26258b00fe2171c6127f133c8cf8362c4ae1aa3f /catalog.cxx | |
parent | baef8cc91f5fd86cde021acc6a9630cca009669f (diff) |
Add optionType to product
Diffstat (limited to 'catalog.cxx')
-rw-r--r-- | catalog.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog.cxx b/catalog.cxx index ece144c..aa1dd5f 100644 --- a/catalog.cxx +++ b/catalog.cxx @@ -42,6 +42,8 @@ namespace QInterchange { return product.category; case Product::WeightRole: return product.weight; + case Product::OptionTypeRole: + return product.optionType; case Product::AuthorRole: return product.author; case Product::CrossSellRole: @@ -66,6 +68,7 @@ namespace QInterchange { { Product::ProdGroupRole, "prodGroup" }, { Product::CategoryRole, "category" }, { Product::WeightRole, "weight" }, + { Product::OptionTypeRole, "optionType" }, { Product::AuthorRole, "author" }, { Product::CrossSellRole, "crossSell" }, { Product::ImageLargeRole, "imageLarge" } |