summaryrefslogtreecommitdiff
path: root/catalog.cxx
diff options
context:
space:
mode:
authorꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-19 15:54:49 +0800
committerꦌ ꦫꦶ ꦏ꧀ꦦꦿ ꦧ ꦮ ꦑ ꦩ ꦭ꧀ <erik@darapsa.co.id>2020-06-19 15:54:49 +0800
commita3da1b34d74f912093bde50998adb92cfa8540ac (patch)
treeeab6c864bad6bde83752009cc34c71327f038a00 /catalog.cxx
parent542fac1f3a32416e084fde26d2d9cf0ddc30fa5d (diff)
Add thumb member to product
Diffstat (limited to 'catalog.cxx')
-rw-r--r--catalog.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/catalog.cxx b/catalog.cxx
index 6bb9499..6ddbe1b 100644
--- a/catalog.cxx
+++ b/catalog.cxx
@@ -25,6 +25,8 @@ namespace ICClient {
return product.description;
case Product::CommentRole:
return product.comment;
+ case Product::ThumbRole:
+ return product.thumb;
case Product::ImageRole:
return product.image;
case Product::PriceRole:
@@ -48,6 +50,7 @@ namespace ICClient {
{Product::SkuRole, "sku"}
, {Product::DescriptionRole, "description"}
, {Product::CommentRole, "comment"}
+ , {Product::ThumbRole, "thumb"}
, {Product::ImageRole, "image"}
, {Product::PriceRole, "price"}
, {Product::ProdGroupRole, "prodGroup"}